User Manual, Developers Guide and API Documentation

wns::Interval< T >::Endpoint Class Reference

Open or closed endpoint of an interval.

#include <Interval.hpp>

Inheritance diagram for wns::Interval< T >::Endpoint:

Inheritance graph
[legend]
Collaboration diagram for wns::Interval< T >::Endpoint:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Endpoint (const ValueType &bound, const ValueType &extremum)
bool operator< (const Endpoint &b) const
bool operator<= (const Endpoint &b) const
bool operator== (const Endpoint &b) const
bool operator> (const Endpoint &b) const
bool operator>= (const Endpoint &b) const

Private Attributes

ValueType bound
ValueType extremum

Friends

class Interval


Detailed Description

template<typename T>
class wns::Interval< T >::Endpoint

Definition at line 85 of file Interval.hpp.


Constructor & Destructor Documentation

template<typename T>
wns::Interval< T >::Endpoint::Endpoint ( const ValueType bound,
const ValueType extremum 
) [inline]

Definition at line 89 of file Interval.hpp.


Member Function Documentation

template<typename T>
bool wns::Interval< T >::Endpoint::operator< ( const Endpoint b  )  const [inline]

Definition at line 98 of file Interval.hpp.

template<typename T>
bool wns::Interval< T >::Endpoint::operator<= ( const Endpoint b  )  const [inline]

Definition at line 103 of file Interval.hpp.

template<typename T>
bool wns::Interval< T >::Endpoint::operator== ( const Endpoint b  )  const [inline]

Definition at line 93 of file Interval.hpp.

template<typename T>
bool wns::Interval< T >::Endpoint::operator> ( const Endpoint b  )  const [inline]

Definition at line 108 of file Interval.hpp.

template<typename T>
bool wns::Interval< T >::Endpoint::operator>= ( const Endpoint b  )  const [inline]

Definition at line 113 of file Interval.hpp.


Friends And Related Function Documentation

template<typename T>
friend class Interval [friend]

Definition at line 87 of file Interval.hpp.


Member Data Documentation

template<typename T>
ValueType wns::Interval< T >::Endpoint::bound [private]

Definition at line 119 of file Interval.hpp.

template<typename T>
ValueType wns::Interval< T >::Endpoint::extremum [private]

Definition at line 120 of file Interval.hpp.


The documentation for this class was generated from the following file:

Generated on Sat May 26 03:32:50 2012 for openWNS by  doxygen 1.5.5