#include <TCValue.h>

Public Member Functions | |
| operator T () const | |
| cast back to const basic type | |
| const uchar * | GetBytes () const |
| uchar * | GetBytes () |
| uint32 | GetNumBytes () const |
| ByteOrderedValue< T, IS_LITTLE_ENDIAN > & | operator= (const T &a) |
| assignment operator for setting values | |
Protected Member Functions | |
| ByteOrderedValue () | |
| default constructor value is init with zero this means the template type must have an operator to init with 0 | |
| ByteOrderedValue (const ByteOrderedValue< T, IS_LITTLE_ENDIAN > &val) | |
| copy constructor | |
| ByteOrderedValue (const T &val) | |
| constructor to init with specified value | |
Private Member Functions | |
| void | SwapBytes (T &val) const |
| method which swaps bytes if needed | |
Private Attributes | |
| T | m_val |
| stores the value of | |
Definition at line 118 of file TCValue.h.
| TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::ByteOrderedValue | ( | ) | [inline, protected] |
| TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::ByteOrderedValue | ( | const ByteOrderedValue< T, IS_LITTLE_ENDIAN > & | val | ) | [inline, protected] |
| TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::ByteOrderedValue | ( | const T & | val | ) | [inline, protected] |
| TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::operator T | ( | ) | const [inline] |
| const uchar* TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::GetBytes | ( | ) | const [inline] |
| uchar* TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::GetBytes | ( | ) | [inline] |
| uint32 TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::GetNumBytes | ( | ) | const [inline] |
| ByteOrderedValue<T, IS_LITTLE_ENDIAN>& TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::operator= | ( | const T & | a | ) | [inline] |
| void TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::SwapBytes | ( | T & | val | ) | const [inline, private] |
method which swaps bytes if needed
Definition at line 175 of file TCValue.h.
Referenced by TC::ByteOrderedValue< T, false >::ByteOrderedValue(), TC::ByteOrderedValue< T, false >::operator T(), TC::ByteOrderedValue< T, false >::operator=(), and TC::ByteOrderedValue< T, false >::SwapBytes().

T TC::ByteOrderedValue< T, IS_LITTLE_ENDIAN >::m_val [private] |
stores the value of
Definition at line 184 of file TCValue.h.
Referenced by TC::ByteOrderedValue< T, false >::ByteOrderedValue(), TC::ByteOrderedValue< T, false >::GetBytes(), TC::ByteOrderedValue< T, false >::operator T(), and TC::ByteOrderedValue< T, false >::operator=().