MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
The functional object can be used to estimate sum of a sequence of numbers. More...
#include <mdsFunctional.h>
Public Member Functions | |
CSum () | |
Default constructor. | |
R & | getValue () |
Returns the actual minimum. | |
void | operator() (const T &Value) |
Functional operator. | |
Protected Attributes | |
R | m_Sum |
Sum of all values. |
The functional object can be used to estimate sum of a sequence of numbers.
mds::base::CSum< R, T >::CSum | ( | ) |
Default constructor.
R& mds::base::CSum< R, T >::getValue | ( | ) |
Returns the actual minimum.
void mds::base::CSum< R, T >::operator() | ( | const T & | Value | ) |
Functional operator.
R mds::base::CSum< R, T >::m_Sum [protected] |
Sum of all values.