MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Member Functions | Protected Attributes
mds::base::CLimit< T > Class Template Reference

Functor limits an observed value to a specified range. More...

#include <mdsFunctional.h>

List of all members.

Public Member Functions

 CLimit (const T &Min, const T &Max)
 Default constructor.
void operator() (T &Value)
 Limits value of a given parameter.

Protected Attributes

m_Max
m_Min
 Original and new value.

Detailed Description

template<typename T>
class mds::base::CLimit< T >

Functor limits an observed value to a specified range.


Constructor & Destructor Documentation

template<typename T >
mds::base::CLimit< T >::CLimit ( const T &  Min,
const T &  Max 
)

Default constructor.


Member Function Documentation

template<typename T >
void mds::base::CLimit< T >::operator() ( T &  Value)

Limits value of a given parameter.


Member Data Documentation

template<typename T >
T mds::base::CLimit< T >::m_Max [protected]
template<typename T >
T mds::base::CLimit< T >::m_Min [protected]

Original and new value.


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