#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) throw (()) | |
Constructor. | |
virtual | ~NillablePtrImplT () throw (()) |
Destructor. | |
virtual IT_Bus::Boolean | get_is_nil () const throw (()) |
Determine if the instance is nill. | |
virtual void | set_is_nil () throw (()) |
Set the instance to be nil. | |
virtual const Reflection * | get_value () const throw ((ReflectException)) |
Get a read-only reflection of the value. | |
virtual Reflection * | use_value () throw ((ReflectException)) |
Get a reflection that can be used to modify the value. | |
virtual IT_Bus::AnyType * | clone () const throw (()) |
Obtain a clone of the instance. | |
void | reset (T *value) |
Reset. | |
Protected Member Functions | |
IT_Bus::AnyType & | get_data () const throw (()) |
Obtain the value. | |
Private Attributes | |
NillableT * | m_data |
IT_Reflect::NillablePtrImplT< NillableT, T >::NillablePtrImplT | ( | const NillableT * | data | ) | throw (()) |
Constructor.
pointer | to nillable class. |
Definition at line 93 of file nillable_ptr_impl_t.h.
IT_Bus::Boolean IT_Reflect::NillablePtrImplT< NillableT, T >::get_is_nil | ( | ) | const throw (()) [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().
void IT_Reflect::NillablePtrImplT< NillableT, T >::set_is_nil | ( | ) | throw (()) [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.
const Reflection * IT_Reflect::NillablePtrImplT< NillableT, T >::get_value | ( | ) | const throw ((ReflectException)) [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().
Reflection * IT_Reflect::NillablePtrImplT< NillableT, T >::use_value | ( | ) | throw ((ReflectException)) [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.
IT_Bus::AnyType * IT_Reflect::NillablePtrImplT< NillableT, T >::clone | ( | ) | const throw (()) [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.
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.
IT_Bus::AnyType & IT_Reflect::NillablePtrImplT< NillableT, T >::get_data | ( | ) | const throw (()) [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.