#include <it_bus/reflect/value_ref_base.h>
Inheritance diagram for IT_Reflect::ValueRefBase< T >:
Definition at line 17 of file value_ref_base.h.
Public Member Functions | |
ValueRefBase (const T &value) IT_THROW_DECL(()) | |
ValueRefBase (const T *value) IT_THROW_DECL(()) | |
~ValueRefBase () IT_THROW_DECL(()) | |
virtual const T & | get_value () const IT_THROW_DECL(()) |
Get the value. | |
virtual T & | get_value () IT_THROW_DECL(()) |
Get the value. | |
virtual void | set_value (const T &value) IT_THROW_DECL(()) |
Set the value. | |
virtual const IT_Bus::QName & | get_type_name () const IT_THROW_DECL(()) |
Get the type name of the reflected object. | |
virtual IT_Bus::AnyType::Kind | get_type_kind () const IT_THROW_DECL(()) |
Get the kind of the reflected object. | |
BuiltInType::ValueKind | get_value_kind () const IT_THROW_DECL(()) |
Get the kind of value represented by this simple type. | |
virtual void | duplicate (const IT_Reflect::BuiltInType *other) IT_THROW_DECL((ReflectException)) |
Copy to this object from another BuiltInType. | |
virtual void | reset (const T *new_value) const IT_THROW_DECL(()) |
Set a new value instance into the object. | |
Protected Attributes | |
T * | m_value |
void IT_Reflect::ValueRefBase< T >::duplicate | ( | const IT_Reflect::BuiltInType * | other | ) | [virtual] |
Copy to this object from another BuiltInType.
ReflectException | if other is incompatible. |
Implements IT_Reflect::BuiltInType.
Definition at line 139 of file value_ref_base.h.
References IT_Reflect::Value< T >::get_value().
IT_Bus::AnyType::Kind IT_Reflect::ValueRefBase< T >::get_type_kind | ( | ) | const [virtual] |
Get the kind of the reflected object.
Implements IT_Reflect::Reflection.
Definition at line 131 of file value_ref_base.h.
const IT_Bus::QName & IT_Reflect::ValueRefBase< T >::get_type_name | ( | ) | const [virtual] |
Get the type name of the reflected object.
Implements IT_Reflect::Reflection.
Definition at line 123 of file value_ref_base.h.
References IT_Bus::SchemaTypeTraits< T >::type_name().
T & IT_Reflect::ValueRefBase< T >::get_value | ( | ) | [virtual] |
Get the value.
ReflectException |
Implements IT_Reflect::Value< T >.
Definition at line 107 of file value_ref_base.h.
References IT_Reflect::ValueRefBase< T >::m_value.
const T & IT_Reflect::ValueRefBase< T >::get_value | ( | ) | const [virtual] |
Get the value.
ReflectException |
Implements IT_Reflect::Value< T >.
Definition at line 100 of file value_ref_base.h.
References IT_Reflect::ValueRefBase< T >::m_value.
BuiltInType::ValueKind IT_Reflect::ValueRefBase< T >::get_value_kind | ( | ) | const [virtual] |
Get the kind of value represented by this simple type.
ReflectException |
Implements IT_Reflect::BuiltInType.
Definition at line 154 of file value_ref_base.h.
void IT_Reflect::ValueRefBase< T >::reset | ( | const T * | new_value | ) | const [virtual] |
Set a new value instance into the object.
a | pointer to the new value instance |
Definition at line 161 of file value_ref_base.h.
void IT_Reflect::ValueRefBase< T >::set_value | ( | const T & | value | ) | [virtual] |
Set the value.
reference | to the value class |
ReflectException |
Implements IT_Reflect::Value< T >.
Definition at line 114 of file value_ref_base.h.