#include <it_bus/reflect/nillable.h>
Inheritance diagram for IT_Reflect::Nillable:
Definition at line 13 of file nillable.h.
Public Member Functions | |
Nillable () throw (()) | |
Constructor. | |
virtual | ~Nillable () throw (()) |
Destructor. | |
virtual IT_Bus::Boolean | get_is_nil () const=0 throw ((ReflectException)) |
Determine if the instance is nill. | |
virtual void | set_is_nil ()=0 throw ((ReflectException)) |
Set the instance to be nil. | |
virtual const Reflection * | get_value () const=0 throw ((ReflectException)) |
Get a read-only reflection of the value. | |
virtual Reflection * | use_value ()=0 throw ((ReflectException)) |
Get a reflection that can be used to modify the value. |
virtual IT_Bus::Boolean IT_Reflect::Nillable::get_is_nil | ( | ) | const throw ((ReflectException)) [pure virtual] |
Determine if the instance is nill.
ReflectException |
Implemented in IT_Reflect::NillableRawPtrImplT< T >, and IT_Reflect::NillableValueImplT< NillableT, T >.
virtual void IT_Reflect::Nillable::set_is_nil | ( | ) | throw ((ReflectException)) [pure virtual] |
Set the instance to be nil.
ReflectException |
Implemented in IT_Reflect::NillableRawPtrImplT< T >, and IT_Reflect::NillableValueImplT< NillableT, T >.
virtual const Reflection* IT_Reflect::Nillable::get_value | ( | ) | const throw ((ReflectException)) [pure virtual] |
Get a read-only reflection of the value.
ReflectException |
Implemented in IT_Reflect::NillableRawPtrImplT< T >, and IT_Reflect::NillableValueImplT< NillableT, T >.
virtual Reflection* IT_Reflect::Nillable::use_value | ( | ) | throw ((ReflectException)) [pure virtual] |
Get a reflection that can be used to modify the value.
This makes get_is_nil() false.
ReflectException |
Implemented in IT_Reflect::NillableRawPtrImplT< T >, and IT_Reflect::NillableValueImplT< NillableT, T >.