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

The functional object can be used to estimate sum of a sequence of numbers. More...

#include <mdsFunctional.h>

List of all members.

Public Member Functions

 CSum ()
 Default constructor.
R & getValue ()
 Returns the actual minimum.
void operator() (const T &Value)
 Functional operator.

Protected Attributes

m_Sum
 Sum of all values.

Detailed Description

template<typename R, typename T>
class mds::base::CSum< R, T >

The functional object can be used to estimate sum of a sequence of numbers.


Constructor & Destructor Documentation

template<typename R , typename T >
mds::base::CSum< R, T >::CSum ( )

Default constructor.


Member Function Documentation

template<typename R , typename T >
R& mds::base::CSum< R, T >::getValue ( )

Returns the actual minimum.

template<typename R , typename T >
void mds::base::CSum< R, T >::operator() ( const T &  Value)

Functional operator.


Member Data Documentation

template<typename R , typename T >
R mds::base::CSum< R, T >::m_Sum [protected]

Sum of all values.


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