#include <value.hh>
Public Member Functions | |
void * | getData () const |
Type const & | getType () const |
bool | operator!= (Value const &with) const |
bool | operator== (Value const &with) const |
Value () | |
Value (void *data, Type const &type) | |
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:
Typelib::Value::Value | ( | ) | [inline] |
Typelib::Value::Value | ( | void * | data, |
Type const & | type | ||
) | [inline] |
void* Typelib::Value::getData | ( | ) | const [inline] |
Type const& Typelib::Value::getType | ( | ) | const [inline] |
bool Typelib::Value::operator!= | ( | Value const & | with | ) | const [inline] |
bool Typelib::Value::operator== | ( | Value const & | with | ) | const [inline] |
void* Typelib::Value::m_data [private] |
boost::reference_wrapper<Type const> Typelib::Value::m_type [private] |