A raw value that contains its value. More...
#include <props.hxx>
Public Member Functions | |
SGRawValueContainer (const T &obj) | |
Explicit constructor. | |
virtual | ~SGRawValueContainer () |
Destructor. | |
virtual T | getValue () const |
Get the underlying value. | |
virtual bool | setValue (T value) |
Set the underlying value. | |
virtual SGRaw * | clone () const |
Create a copy of this raw value. |
A raw value that contains its value.
This provides a way for property nodes to contain values that shouldn't be stored in the property node itself.
Definition at line 632 of file props.hxx.
virtual bool SGRawValueContainer< T >::setValue | ( | T | value | ) | [inline, virtual] |
Set the underlying value.
This method will dereference the pointer and change the variable's value.
Implements SGRawValue< T >.