#include <Reflex/ValueObject.h>
Inheritance diagram for Reflex::ValueObject:
Public Member Functions | |
ValueObject () | |
ValueObject (const ValueObject &o) | |
~ValueObject () | |
template<typename T> | |
const T & | Value () |
template<typename T> | |
ValueObject & | Assign (const T &) |
Static Public Member Functions | |
template<typename T> | |
static ValueObject | Create (const T &v) |
Private Attributes | |
Any | fValue |
Definition at line 28 of file ValueObject.h.
Reflex::ValueObject::ValueObject | ( | ) | [inline] |
constructor
Definition at line 57 of file ValueObject.h.
Reflex::ValueObject::ValueObject | ( | const ValueObject & | o | ) | [inline] |
constructor
Definition at line 74 of file ValueObject.h.
References Reflex::Any::Address(), Reflex::Object::fAddress, fValue, and Reflex::Object::TypeOf().
Reflex::ValueObject::~ValueObject | ( | ) | [inline] |
destructor
Definition at line 100 of file ValueObject.h.
Reflex::ValueObject Reflex::ValueObject::Create | ( | const T & | v | ) | [inline, static] |
constructor
Definition at line 65 of file ValueObject.h.
References Assign().
Referenced by Reflex::PluginService::Create(), and Reflex::PluginService::CreateWithId().
const T & Reflex::ValueObject::Value | ( | ) | [inline] |
get the actual value
Definition at line 108 of file ValueObject.h.
References Reflex::Object::fAddress, and T.
Reflex::ValueObject & Reflex::ValueObject::Assign | ( | const T & | ) | [inline] |
Definition at line 87 of file ValueObject.h.
References Reflex::Any::Address(), Reflex::Dummy::Any(), Reflex::Object::fAddress, Reflex::Object::fType, fValue, and Reflex::Object::TypeOf().
Referenced by Create().
Any Reflex::ValueObject::fValue [private] |
the value of the generic object by value
Definition at line 50 of file ValueObject.h.
Referenced by Assign(), and ValueObject().