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 () 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 Reflectionget_value () const=0 throw ((ReflectException))
 Get a read-only reflection of the value.
virtual Reflectionuse_value ()=0 throw ((ReflectException))
 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 throw ((ReflectException)) [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 void IT_Reflect::Nillable::set_is_nil (  )  throw ((ReflectException)) [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 const Reflection* IT_Reflect::Nillable::get_value (  )  const throw ((ReflectException)) [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 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.

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 Tue Mar 20 15:28:33 2007 for Artix by  doxygen 1.5.1-p1