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

Functor multiplies by a given value. More...

#include <mdsFunctional.h>

List of all members.

Public Member Functions

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

Protected Attributes

T2 m_Value
 The value to multiply by.

Detailed Description

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

Functor multiplies by a given value.


Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

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

Operator multiplies a given parameter.


Member Data Documentation

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

The value to multiply by.


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