![]() |
|
|
Generated: 8 Jan 2009 |
#include <Scouter/ValueMap.h>
It converts the variable to a void* pointer and stores its type information in an enum. This way, the variable can be converted to its original form when being written or published.
Definition at line 18 of file ValueMap.h.
Public Types | |
| enum | m_type { m_int, m_long, m_double, m_bool, m_string, m_null } |
Public Member Functions | |
| ValueMap (void *pointer, m_type pointerType) | |
| standard Constructor | |
| ValueMap () | |
| default Constructor | |
| virtual | ~ValueMap () |
| Destructor. | |
| void | set_ptr (void *pointer) |
| Sets pointer. | |
| void | set_ptrType (m_type pointerType) |
| Sets pointer type (enum). | |
| void * | get_ptr () |
| Return pointer. | |
| m_type | get_ptrType () |
| Return pointer type (enum). | |
Private Attributes | |
| void * | ptr |
| m_type | ptrType |
| enum ValueMap::m_type |
| ValueMap::ValueMap | ( | void * | pointer, | |
| m_type | pointerType | |||
| ) | [inline] |
| ValueMap::ValueMap | ( | ) | [inline] |
| virtual ValueMap::~ValueMap | ( | ) | [inline, virtual] |
| void ValueMap::set_ptr | ( | void * | pointer | ) | [inline] |
| void ValueMap::set_ptrType | ( | m_type | pointerType | ) | [inline] |
Sets pointer type (enum).
Definition at line 54 of file ValueMap.h.
00054 { ptrType = pointerType; }
| void* ValueMap::get_ptr | ( | ) | [inline] |
| m_type ValueMap::get_ptrType | ( | ) | [inline] |
void* ValueMap::ptr [private] |
Definition at line 67 of file ValueMap.h.
m_type ValueMap::ptrType [private] |
Definition at line 68 of file ValueMap.h.