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