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

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

#include <mdsFunctional.h>

List of all members.

Public Member Functions

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

Protected Attributes

m_Max
 Current maximal value.

Detailed Description

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

Functional object which can be used to find maximal value.


Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

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

Returns the maximum.

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

Operator compares a given value to the actual maximum.


Member Data Documentation

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

Current maximal value.


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