#include <TCValue.h>
Public Member Functions | |
Value () | |
default constructor value is init with zero this means the template type must have an operator to init with 0 | |
Value (const Value< T > &val) | |
copy constructor | |
Value (const T &val) | |
constructor to init with specified value | |
operator const T & () const | |
cast back to const basic type | |
const uchar * | GetBytes () const |
uchar * | GetBytes () |
uint32 | GetNumBytes () const |
Value< T > & | operator= (const T &a) |
assignment operator for setting values | |
Private Attributes | |
T | m_val |
stores the value of |
Definition at line 60 of file TCValue.h.
default constructor value is init with zero this means the template type must have an operator to init with 0
Definition at line 68 of file TCValue.h.
References TC::Value< T >::m_val.
copy constructor
val | to copy |
Definition at line 76 of file TCValue.h.
References TC::Value< T >::m_val.
constructor to init with specified value
val | value use for init |
Definition at line 84 of file TCValue.h.
References TC::Value< T >::m_val.
TC::Value< T >::operator const T & | ( | ) | const [inline] |
cast back to const basic type
Definition at line 90 of file TCValue.h.
References TC::Value< T >::m_val.
Definition at line 96 of file TCValue.h.
References TC::Value< T >::m_val.
Definition at line 98 of file TCValue.h.
References TC::Value< T >::m_val.
assignment operator for setting values
Definition at line 103 of file TCValue.h.
References TC::Value< T >::m_val.
stores the value of
Definition at line 111 of file TCValue.h.
Referenced by TC::Value< T >::GetBytes(), TC::Value< T >::operator const T &(), TC::Value< T >::operator=(), and TC::Value< T >::Value().