MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functional object which can be used to find maximal value. More...
#include <mdsFunctional.h>
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 | |
T | m_Max |
Current maximal value. |
Functional object which can be used to find maximal value.
mds::base::CMax< T >::CMax | ( | const T & | Value = T() | ) |
Default constructor.
T& mds::base::CMax< T >::getValue | ( | ) |
Returns the maximum.
void mds::base::CMax< T >::operator() | ( | const T & | Value | ) |
Operator compares a given value to the actual maximum.
T mds::base::CMax< T >::m_Max [protected] |
Current maximal value.