IT_Reflect::Nillable Class Reference

#include <it_bus/reflect/nillable.h>

Inheritance diagram for IT_Reflect::Nillable:

IT_Reflect::Reflection IT_Bus::RefCountedBase IT_Reflect::NillableRawPtrImplT< T > IT_Reflect::NillableValueImplT< NillableT, T > List of all members.

Detailed Description

Reflection of a Nillable type.

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 Reflectionget_value () const IT_THROW_DECL((ReflectException))=0
 Get a read-only reflection of the value.
virtual Reflectionuse_value () IT_THROW_DECL((ReflectException))=0
 Get a reflection that can be used to modify the value.


Member Function Documentation

virtual IT_Bus::Boolean IT_Reflect::Nillable::get_is_nil (  )  const [pure virtual]

Determine if the instance is nill.

Returns:
Boolean
Exceptions:
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.

Returns:
Reflection of value or 0 if nil.
Exceptions:
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.

Returns:
void
Exceptions:
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.

Returns:
Modifiable reflection of value. Caller must _remove_ref().
Exceptions:
ReflectException 

Implemented in IT_Reflect::NillableRawPtrImplT< T >, and IT_Reflect::NillableValueImplT< NillableT, T >.


Generated on Thu Sep 7 11:41:02 2006 for Artix by  doxygen 1.4.7