#include <it_bus/nillable_value.h>
Inheritance diagram for IT_Bus::NillableValue< T >:
Note: This template can only be used for generated types that have a working copy constructor and assignment operator. it cannot be used for primitive and builtin-types
See the header file for complete method details.
Definition at line 25 of file nillable_value.h.
Public Member Functions | |
NillableValue () | |
IT_EXPLICIT | NillableValue (const T &other) |
IT_EXPLICIT | NillableValue (const T *other) |
virtual | ~NillableValue () |
virtual const QName & | get_type () const |
Returns the IT_Bus::QName for the type. | |
NillableValue & | operator= (const T &rhs) |
NillableValue & | operator= (const T *rhs) |
Public Attributes | |
virtual IT_Reflect::Reflection *virtual get_reflection() IT_THROW_DECL((IT_Reflect const IT_Reflect::Reflection *virtual get_reflection() const IT_THROW_DECL((IT_Reflect AnyType | copy )(const AnyType &other) |
Returns a reference to an AnyType that is a copy of the AnyType parameter. |
const QName & IT_Bus::NillableValue< T >::get_type | ( | ) | const [virtual] |
Returns the IT_Bus::QName for the type.
Derived subclasses implement this method and return their QName.
Reimplemented from IT_Bus::NillableValueBase< T >.
Definition at line 96 of file nillable_value.h.
AnyType & IT_Bus::NillableValue< T >::copy |
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 135 of file nillable_value.h.