#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 () |
| NillableValue & | operator= (const NillableValue &other) |
| virtual IT_Reflect::Reflection * | get_reflection () throw ((IT_Reflect::ReflectException)) |
| Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
| virtual const IT_Reflect::Reflection * | get_reflection () const throw ((IT_Reflect::ReflectException)) |
| Return an instance of the IT_Reflect::Reflection type that encapsulates this instance. | |
| virtual AnyType & | copy (const AnyType &other) |
| Returns a reference to an AnyType that is a copy of the AnyType parameter. | |
| virtual const QName & | get_type () const |
| Returns the IT_Bus::QName for the type. | |
| NillableValue & | operator= (const T &rhs) |
| NillableValue & | operator= (const T *rhs) |
| IT_Reflect::Reflection * IT_Bus::NillableValue< T >::get_reflection | ( | ) | throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
| IT_Reflect::ReflectException |
Reimplemented from IT_Bus::AnyType.
Reimplemented in IT_Reflect::ReflectedNillableValue< T >.
Definition at line 119 of file nillable_value.h.
References IT_Bus::NillableValueBase< T >::get(), and IT_Bus::NillableValueBase< T >::is_nil().
| const IT_Reflect::Reflection * IT_Bus::NillableValue< T >::get_reflection | ( | ) | const throw ((IT_Reflect::ReflectException)) [virtual] |
Return an instance of the IT_Reflect::Reflection type that encapsulates this instance.
| IT_Reflect::ReflectException |
Reimplemented from IT_Bus::AnyType.
Reimplemented in IT_Reflect::ReflectedNillableValue< T >.
Definition at line 127 of file nillable_value.h.
| AnyType & IT_Bus::NillableValue< 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::NillableValueBase< T >.
Definition at line 135 of file nillable_value.h.
| 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.
1.5.1-p1