![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Functor changes value of an observed variable. More...
#include <mdsFunctional.h>
Public Member Functions | |
| CReplace (const T &Value, const T &NewValue) | |
| Default constructor. | |
| void | operator() (T &Value) |
| Checks and eventually replaces value of a given parameter. | |
Protected Attributes | |
| T | m_NewValue |
| T | m_Value |
| Original and the new value. | |
Functor changes value of an observed variable.
| mds::base::CReplace< T >::CReplace | ( | const T & | Value, |
| const T & | NewValue | ||
| ) |
Default constructor.
| void mds::base::CReplace< T >::operator() | ( | T & | Value | ) |
Checks and eventually replaces value of a given parameter.
T mds::base::CReplace< T >::m_NewValue [protected] |
T mds::base::CReplace< T >::m_Value [protected] |
Original and the new value.
1.7.6.1