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

Functional object which can be used to find minimal value. More...

#include <mdsFunctional.h>

List of all members.

Public Member Functions

 CMin (const T &Value=T())
 Default constructor.
T & getValue ()
 Returns the actual minimum.
void operator() (const T &Value)
 Operator compares a given value to the actual minimum.

Protected Attributes

m_Min
 Actual minimal value.

Detailed Description

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

Functional object which can be used to find minimal value.


Constructor & Destructor Documentation

template<typename T >
mds::base::CMin< T >::CMin ( const T &  Value = T())

Default constructor.


Member Function Documentation

template<typename T >
T& mds::base::CMin< T >::getValue ( )

Returns the actual minimum.

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

Operator compares a given value to the actual minimum.


Member Data Documentation

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

Actual minimal value.


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