IT_Bus::NillablePtr< T > Class Template Reference

#include <it_bus/nillable_ptr.h>

Inheritance diagram for IT_Bus::NillablePtr< T >:

IT_Bus::Nillable IT_AutoPtr< T > IT_Bus::AnyType IT_Bus::ImplementationDetails IT_Reflect::ReflectedNillablePtr< T > List of all members.

Detailed Description

template<class T>
class IT_Bus::NillablePtr< T >

Template implementation of Nillable as an auto_ptr.

T is the C++ type of data, TYPE is the data type qname.

See header file for complete method details.

Definition at line 23 of file nillable_ptr.h.

Public Member Functions

 NillablePtr ()
 NillablePtr (T *data)
virtual ~NillablePtr ()
AnyTypecopy (const AnyType &other)
void set (const T *data)
virtual const QNameget_type () const
 Returns the IT_Bus::QName for the type.
virtual Boolean is_nil () const
 True if the element is nil.
virtual void set_nil ()
 Set the element to be nil.
virtual void write_value (const QName &name, ComplexTypeWriter &writer) const IT_THROW_DECL((SerializationException))
 Write the non-nil value.
virtual void read_value (const QName &name, ComplexTypeReader &reader) IT_THROW_DECL((DeserializationException))
 Read a non-nil value.

Private Types

typedef NillablePtr ThisType


Member Function Documentation

template<class T>
const QName & IT_Bus::NillablePtr< T >::get_type (  )  const [virtual]

Returns the IT_Bus::QName for the type.

Derived subclasses implement this method and return their QName.

Returns:
IT_Bus::QName.

Implements IT_Bus::AnyType.

Definition at line 142 of file nillable_ptr.h.


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