Public Member Functions | Protected Attributes

IntervalND< T > Class Template Reference

List of all members.

Public Member Functions

 IntervalND (int ndim_)
virtual ~IntervalND ()
int nDim () const
bool isSet () const
const Interval< T > & getRange (int dim) const
template<class X >
void setRange (const X &val)
template<class X >
void setRange (const X &start, const X &stop)
template<class X >
void include (const X &val)
template<class X >
bool includes (const X &val) const
bool intersects (const IntervalND< T > &) const

Protected Attributes

int ndim
Interval< T > * ranges
bool isset

template<class T>
class IntervalND< T >


Constructor & Destructor Documentation

template<class T>
IntervalND< T >::IntervalND ( int  ndim_  )  [inline]
template<class T>
virtual IntervalND< T >::~IntervalND (  )  [inline, virtual]

Member Function Documentation

template<class T>
const Interval<T>& IntervalND< T >::getRange ( int  dim  )  const [inline]
template<class T >
template<class X >
void IntervalND< T >::include ( const X &  val  )  [inline]
template<class T >
template<class X >
bool IntervalND< T >::includes ( const X &  val  )  const [inline]
template<class T >
bool IntervalND< T >::intersects ( const IntervalND< T > &  b  )  const [inline]
template<class T>
bool IntervalND< T >::isSet (  )  const [inline]
template<class T>
int IntervalND< T >::nDim (  )  const [inline]
template<class T >
template<class X >
void IntervalND< T >::setRange ( const X &  start,
const X &  stop 
) [inline]
template<class T >
template<class X >
void IntervalND< T >::setRange ( const X &  val  )  [inline]

Member Data Documentation

template<class T>
bool IntervalND< T >::isset [protected]
template<class T>
int IntervalND< T >::ndim [protected]
template<class T>
Interval<T>* IntervalND< T >::ranges [protected]