MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Member Functions | Protected Attributes
mds::base::CDiv< T1, T2 > Class Template Reference

Functor divides by a given value. More...

#include <mdsFunctional.h>

List of all members.

Public Member Functions

 CDiv (const T2 &Value)
 Default constructor.
void operator() (T1 &Value)
 Operator divides a given parameter.

Protected Attributes

T2 m_Value
 The value to divide by.

Detailed Description

template<typename T1, typename T2 = T1>
class mds::base::CDiv< T1, T2 >

Functor divides by a given value.


Constructor & Destructor Documentation

template<typename T1 , typename T2 = T1>
mds::base::CDiv< T1, T2 >::CDiv ( const T2 &  Value)

Default constructor.


Member Function Documentation

template<typename T1 , typename T2 = T1>
void mds::base::CDiv< T1, T2 >::operator() ( T1 &  Value)

Operator divides a given parameter.


Member Data Documentation

template<typename T1 , typename T2 = T1>
T2 mds::base::CDiv< T1, T2 >::m_Value [protected]

The value to divide by.


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