![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Simple wrapper for scalars. More...
#include <mdsScalar.h>
Public Types | |
| typedef T | tValue |
| Type of the scalar. | |
Public Member Functions | |
| CScalar () | |
| Default constructor. | |
| CScalar (tValue Value) | |
| Constructor. | |
| CScalar (const CScalar &Scalar) | |
| Copy constructor. | |
| operator tValue () | |
| Conversion to the original type. | |
| tValue & | value () |
| Returns the wrapped value. | |
| const tValue & | value () const |
Protected Attributes | |
| tValue | m_Value |
| Wrapped scalar. | |
Simple wrapper for scalars.
| typedef T mds::CScalar< T >::tValue |
Type of the scalar.
| mds::CScalar< T >::CScalar | ( | ) |
Default constructor.
| mds::CScalar< T >::CScalar | ( | tValue | Value | ) |
Constructor.
| mds::CScalar< T >::CScalar | ( | const CScalar< T > & | Scalar | ) |
Copy constructor.
| mds::CScalar< T >::operator tValue | ( | ) |
Conversion to the original type.
| tValue& mds::CScalar< T >::value | ( | ) |
Returns the wrapped value.
| const tValue& mds::CScalar< T >::value | ( | ) | const |
tValue mds::CScalar< T >::m_Value [protected] |
Wrapped scalar.
1.7.6.1