#include <it_bus/reflect/value_impl_t.h>
Inheritance diagram for IT_Reflect::ValueImplT< T >:
Definition at line 19 of file value_impl_t.h.
Public Member Functions | |
ValueImplT () IT_THROW_DECL(()) | |
Constructor. | |
ValueImplT (const T &value) IT_THROW_DECL(()) | |
Constructor. | |
~ValueImplT () IT_THROW_DECL(()) | |
Destructor. | |
ValueImplT & | operator= (const T &value) IT_THROW_DECL(()) |
operator T & () IT_THROW_DECL(()) | |
operator const T & () const 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 IT_Bus::AnyType * | clone () const IT_THROW_DECL((ReflectException)) |
Create a new object with the same contents. | |
virtual const IT_Bus::AnyType & | get_reflected () const IT_THROW_DECL(()) |
Get the reflected object. | |
virtual IT_Bus::AnyType & | get_reflected () IT_THROW_DECL(()) |
Get the reflected object. | |
void | copy (const IT_Reflect::BuiltInType *other) IT_THROW_DECL((ReflectException)) |
Copy another type into the instance. | |
virtual IT_Bus::Boolean | equals (const IT_Reflect::BuiltInType *other) const IT_THROW_DECL(()) |
Determine if two instances are equal. | |
virtual const IT_Bus::QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
virtual AnyType::Kind | get_kind () const |
Returns the IT_Bus::AnyType::Kind for the type. | |
virtual IT_Reflect::Reflection * | get_reflection () IT_THROW_DECL(()) |
virtual const IT_Reflect::Reflection * | get_reflection () const IT_THROW_DECL(()) |
Private Attributes | |
T | m_data |
IT_Bus::AnyType * IT_Reflect::ValueImplT< T >::clone | ( | ) | const [virtual] |
Create a new object with the same contents.
ReflectException | if there is a problem with run-time type information for this object. |
Implements IT_Reflect::Reflection.
Definition at line 248 of file value_impl_t.h.
References IT_Reflect::ValueImplT< T >::m_data.
void IT_Reflect::ValueImplT< T >::copy | ( | const IT_Reflect::BuiltInType * | other | ) |
Copy another type into the instance.
pointer | to another type |
Definition at line 336 of file value_impl_t.h.
References IT_Reflect::Value< T >::get_value().
IT_Bus::Boolean IT_Reflect::ValueImplT< T >::equals | ( | const IT_Reflect::BuiltInType * | other | ) | const [virtual] |
Determine if two instances are equal.
Definition at line 351 of file value_impl_t.h.
References IT_Reflect::Value< T >::get_value().
IT_Bus::AnyType::Kind IT_Reflect::ValueImplT< T >::get_kind | ( | ) | const [virtual] |
Returns the IT_Bus::AnyType::Kind for the type.
Derived subclasses override this method and return the appropriate Kind.
Reimplemented from IT_Bus::AnyType.
Definition at line 264 of file value_impl_t.h.
IT_Bus::AnyType & IT_Reflect::ValueImplT< T >::get_reflected | ( | ) | [virtual] |
Get the reflected object.
Implements IT_Reflect::Reflection.
Definition at line 241 of file value_impl_t.h.
const IT_Bus::AnyType & IT_Reflect::ValueImplT< T >::get_reflected | ( | ) | const [virtual] |
Get the reflected object.
Implements IT_Reflect::Reflection.
Definition at line 234 of file value_impl_t.h.
const IT_Bus::QName & IT_Reflect::ValueImplT< T >::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Implements IT_Bus::AnyType.
Definition at line 257 of file value_impl_t.h.
References IT_Bus::SchemaTypeTraits< T >::type_name().
IT_Bus::AnyType::Kind IT_Reflect::ValueImplT< T >::get_type_kind | ( | ) | const [virtual] |
Get the kind of the reflected object.
Implements IT_Reflect::Reflection.
Definition at line 226 of file value_impl_t.h.
const IT_Bus::QName & IT_Reflect::ValueImplT< T >::get_type_name | ( | ) | const [virtual] |
Get the type name of the reflected object.
Implements IT_Reflect::Reflection.
Definition at line 218 of file value_impl_t.h.
References IT_Bus::SchemaTypeTraits< T >::type_name().
T & IT_Reflect::ValueImplT< T >::get_value | ( | ) | [virtual] |
Get the value.
ReflectException |
Implements IT_Reflect::Value< T >.
Definition at line 202 of file value_impl_t.h.
References IT_Reflect::ValueImplT< T >::m_data.
const T & IT_Reflect::ValueImplT< T >::get_value | ( | ) | const [virtual] |
Get the value.
ReflectException |
Implements IT_Reflect::Value< T >.
Definition at line 195 of file value_impl_t.h.
References IT_Reflect::ValueImplT< T >::m_data.
BuiltInType::ValueKind IT_Reflect::ValueImplT< T >::get_value_kind | ( | ) | const [virtual] |
Get the kind of value represented by this simple type.
ReflectException |
Implements IT_Reflect::BuiltInType.
Definition at line 366 of file value_impl_t.h.
void IT_Reflect::ValueImplT< T >::set_value | ( | const T & | value | ) | [virtual] |
Set the value.
reference | to the value class |
ReflectException |
Implements IT_Reflect::Value< T >.
Definition at line 209 of file value_impl_t.h.