Reflex::ValueObject Class Reference
[Reflex]

#include <Reflex/ValueObject.h>

Inheritance diagram for Reflex::ValueObject:

Reflex::Object List of all members.

Public Member Functions

 ValueObject ()
 ValueObject (const ValueObject &o)
 ~ValueObject ()
template<typename T>
const TValue ()
template<typename T>
ValueObjectAssign (const T &)

Static Public Member Functions

template<typename T>
static ValueObject Create (const T &v)

Private Attributes

Any fValue

Detailed Description

Author:
Pere Mato
Date:
01/09/2006

Definition at line 28 of file ValueObject.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

template<typename T>
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().

template<typename T>
const T & Reflex::ValueObject::Value (  )  [inline]

get the actual value

Definition at line 108 of file ValueObject.h.

References Reflex::Object::fAddress, and T.

template<typename 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().


Member Data Documentation

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().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:56:47 2011 for ROOT_528-00b_version by  doxygen 1.5.1