#include <it_bus/reflect/nillable_ptr_impl_t.h>
Inheritance diagram for IT_Reflect::NillablePtrImplT< NillableT, T >:
Definition at line 17 of file nillable_ptr_impl_t.h.
Public Member Functions | |
NillablePtrImplT (const NillableT *data) IT_THROW_DECL(()) | |
Constructor. | |
virtual | ~NillablePtrImplT () IT_THROW_DECL(()) |
Destructor. | |
virtual IT_Bus::Boolean | get_is_nil () const IT_THROW_DECL(()) |
Determine if the instance is nill. | |
virtual void | set_is_nil () IT_THROW_DECL(()) |
Set the instance to be nil. | |
virtual const Reflection * | get_value () const IT_THROW_DECL((ReflectException)) |
Get a read-only reflection of the value. | |
virtual Reflection * | use_value () IT_THROW_DECL((ReflectException)) |
Get a reflection that can be used to modify the value. | |
virtual IT_Bus::AnyType * | clone () const IT_THROW_DECL(()) |
Obtain a clone of the instance. | |
void | reset (T *value) |
Reset. | |
Protected Member Functions | |
IT_Bus::AnyType & | get_data () const IT_THROW_DECL(()) |
Obtain the value. | |
Private Attributes | |
NillableT * | m_data |
IT_Reflect::NillablePtrImplT< NillableT, T >::NillablePtrImplT | ( | const NillableT * | data | ) |
Constructor.
pointer | to nillable class. |
Definition at line 93 of file nillable_ptr_impl_t.h.
IT_Bus::AnyType * IT_Reflect::NillablePtrImplT< NillableT, T >::clone | ( | ) | const [virtual] |
Obtain a clone of the instance.
Implements IT_Reflect::Reflection.
Definition at line 148 of file nillable_ptr_impl_t.h.
References IT_Reflect::NillablePtrImplT< NillableT, T >::m_data.
IT_Bus::AnyType & IT_Reflect::NillablePtrImplT< NillableT, T >::get_data | ( | ) | const [protected, virtual] |
Obtain the value.
Implements IT_Reflect::ReflectionImpl.
Definition at line 164 of file nillable_ptr_impl_t.h.
References IT_Reflect::NillablePtrImplT< NillableT, T >::m_data.
IT_Bus::Boolean IT_Reflect::NillablePtrImplT< NillableT, T >::get_is_nil | ( | ) | const [virtual] |
Determine if the instance is nill.
Definition at line 111 of file nillable_ptr_impl_t.h.
References IT_Reflect::NillablePtrImplT< NillableT, T >::m_data.
Referenced by IT_Reflect::NillablePtrImplT< NillableT, T >::get_value(), and IT_Reflect::NillablePtrImplT< NillableT, T >::use_value().
const Reflection * IT_Reflect::NillablePtrImplT< NillableT, T >::get_value | ( | ) | const [virtual] |
Get a read-only reflection of the value.
Definition at line 127 of file nillable_ptr_impl_t.h.
References IT_Reflect::NillablePtrImplT< NillableT, T >::get_is_nil().
void IT_Reflect::NillablePtrImplT< NillableT, T >::reset | ( | T * | value | ) |
Reset.
pointer | to value |
Definition at line 155 of file nillable_ptr_impl_t.h.
References IT_Reflect::NillablePtrImplT< NillableT, T >::m_data.
void IT_Reflect::NillablePtrImplT< NillableT, T >::set_is_nil | ( | ) | [virtual] |
Set the instance to be nil.
Definition at line 119 of file nillable_ptr_impl_t.h.
References IT_Reflect::NillablePtrImplT< NillableT, T >::m_data.
Reflection * IT_Reflect::NillablePtrImplT< NillableT, T >::use_value | ( | ) | [virtual] |
Get a reflection that can be used to modify the value.
This makes get_is_nil() false.
Definition at line 136 of file nillable_ptr_impl_t.h.
References IT_Reflect::NillablePtrImplT< NillableT, T >::get_is_nil(), and IT_Reflect::NillablePtrImplT< NillableT, T >::m_data.