#include <value.hh>
Public Member Functions | |
| void * | getData () const |
| void * | getData () const |
| Type const & | getType () const |
| Type const & | getType () const |
| bool | operator!= (Value const &with) const |
| bool | operator!= (Value const &with) const |
| bool | operator== (Value const &with) const |
| bool | operator== (Value const &with) const |
| Value (void *data, Type const &type) | |
| Value () | |
| Value (void *data, Type const &type) | |
| Value () | |
Private Attributes | |
| void * | m_data |
| boost::reference_wrapper< Type const > | m_type |
A Value object is raw data given through a void* pointer typed by a Type object
There are two basic operations on value object:
Definition at line 20 of file install/include/typelib/value.hh.
| Typelib::Value::Value | ( | ) | [inline] |
Definition at line 26 of file install/include/typelib/value.hh.
| Typelib::Value::Value | ( | void * | data, | |
| Type const & | type | |||
| ) | [inline] |
Definition at line 29 of file install/include/typelib/value.hh.
| Typelib::Value::Value | ( | ) | [inline] |
Definition at line 26 of file typelib/value.hh.
| Typelib::Value::Value | ( | void * | data, | |
| Type const & | type | |||
| ) | [inline] |
Definition at line 29 of file typelib/value.hh.
| void* Typelib::Value::getData | ( | ) | const [inline] |
The raw data pointer
Definition at line 33 of file typelib/value.hh.
| void* Typelib::Value::getData | ( | ) | const [inline] |
The raw data pointer
Definition at line 33 of file install/include/typelib/value.hh.
| Type const& Typelib::Value::getType | ( | ) | const [inline] |
The data type
Definition at line 35 of file typelib/value.hh.
| Type const& Typelib::Value::getType | ( | ) | const [inline] |
The data type
Definition at line 35 of file install/include/typelib/value.hh.
| bool Typelib::Value::operator!= | ( | Value const & | with | ) | const [inline] |
Definition at line 39 of file typelib/value.hh.
| bool Typelib::Value::operator!= | ( | Value const & | with | ) | const [inline] |
Definition at line 39 of file install/include/typelib/value.hh.
| bool Typelib::Value::operator== | ( | Value const & | with | ) | const [inline] |
Definition at line 37 of file typelib/value.hh.
| bool Typelib::Value::operator== | ( | Value const & | with | ) | const [inline] |
Definition at line 37 of file install/include/typelib/value.hh.
void * Typelib::Value::m_data [private] |
Definition at line 22 of file install/include/typelib/value.hh.
boost::reference_wrapper< Type const > Typelib::Value::m_type [private] |
Definition at line 23 of file install/include/typelib/value.hh.