#include <it_bus/nillable_ptr.h>
Inheritance diagram for IT_Bus::NillablePtr< T >:
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 (const NillablePtr &other) | |
NillablePtr (T *data) | |
virtual | ~NillablePtr () |
NillablePtr & | operator= (const NillablePtr &) |
AnyType & | copy (const AnyType &other) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
void | set (const T *data) |
virtual const QName & | get_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 throw ((SerializationException)) |
Write the non-nil value. | |
virtual void | read_value (const QName &name, ComplexTypeReader &reader) throw ((DeserializationException)) |
Read a non-nil value. | |
Private Types | |
typedef NillablePtr | ThisType |
AnyType & IT_Bus::NillablePtr< T >::copy | ( | const AnyType & | other | ) | [virtual] |
Returns a reference to an AnyType that is a copy of the AnyType parameter.
Derived classes override this method, providing an appropriate implementation. In this base class, this method is not supported; an exception is always thrown.
AnyType | to be copied. |
IT_Bus::Exception | with message "Copy not supported" |
Reimplemented from IT_Bus::AnyType.
Definition at line 132 of file nillable_ptr.h.
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.
Implements IT_Bus::AnyType.
Definition at line 142 of file nillable_ptr.h.