IT_Bus::BinaryBufferNillable Class Reference

#include <it_bus/binary_buffer_nillable.h>

List of all members.


Detailed Description

Nillable implementation that keeps the data object in a member variable.

Note: This template can only be used for types that have a working copy constructor and assignment operator.

Definition at line 20 of file binary_buffer_nillable.h.

Public Member Functions

 BinaryBufferNillable ()
 Constructor.
 BinaryBufferNillable (const BinaryBufferNillable &other)
 Copy constructor.
 BinaryBufferNillable (const BinaryBuffer &other)
 Constructor.
virtual ~BinaryBufferNillable ()
 Destructor.
BinaryBufferNillableoperator= (const BinaryBufferNillable &other)
 Assginment operator.
virtual Boolean is_nil () const
 Return indicator of whether instance is nil.
virtual void set_nil ()
 Set the instance to be nil.
virtual const IT_Bus::BinaryBufferget () const IT_THROW_DECL((NoDataException))
 Returns the value.
virtual IT_Bus::BinaryBufferget () IT_THROW_DECL((NoDataException))
 Returns the value.
virtual void set (const IT_Bus::BinaryBuffer &data)
 Set the data value; makes is_nil() false.
virtual void reset ()
 Reset to nil; makes is_nil() true.

Private Attributes

Boolean m_is_nil
IT_Bus::BinaryBuffer m_data


Member Function Documentation

virtual IT_Bus::BinaryBuffer& IT_Bus::BinaryBufferNillable::get (  )  [virtual]

Returns the value.

Exceptions:
NoDataException if called when is_nil() is true.

virtual const IT_Bus::BinaryBuffer& IT_Bus::BinaryBufferNillable::get (  )  const [virtual]

Returns the value.

Exceptions:
NoDataException if called when is_nil() is true.


Generated on Thu Sep 7 11:39:48 2006 for Artix by  doxygen 1.4.7