Public Member Functions | Public Attributes

cmtk::Types::Range< T > Class Template Reference

Range of DataItem values specified as lower and upper bound. More...

#include <cmtkTypes.h>

Collaboration diagram for cmtk::Types::Range< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Range ()
 Default constructor: do nothing at all.
 Range (const T &lowerBound, const T &upperBound)
 Constructor.
template<class T2 >
 Range (const Range< T2 > &range)
 Conversion constructor.
Width () const
 Compute "width" of range, i.e., upper minus lower bound.

Public Attributes

m_LowerBound
 Lower bound.
m_UpperBound
 Upper bound.

Detailed Description

template<class T>
class cmtk::Types::Range< T >

Range of DataItem values specified as lower and upper bound.

Definition at line 155 of file cmtkTypes.h.


Constructor & Destructor Documentation

template<class T>
cmtk::Types::Range< T >::Range (  ) [inline]

Default constructor: do nothing at all.

Definition at line 159 of file cmtkTypes.h.

template<class T>
cmtk::Types::Range< T >::Range ( const T &  lowerBound,
const T &  upperBound 
) [inline]

Constructor.

Definition at line 162 of file cmtkTypes.h.

template<class T>
template<class T2 >
cmtk::Types::Range< T >::Range ( const Range< T2 > &  range ) [inline, explicit]

Conversion constructor.

Definition at line 166 of file cmtkTypes.h.


Member Function Documentation

template<class T>
T cmtk::Types::Range< T >::Width (  ) const [inline]

Member Data Documentation

template<class T>
T cmtk::Types::Range< T >::m_LowerBound
template<class T>
T cmtk::Types::Range< T >::m_UpperBound

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines