![]() |
JSBSim Flight Dynamics Model 1.2.3 (07 Jun 2025)
An Open Source Flight Dynamics and Control Software Library in C++
|
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.
#include <props.hxx>
Public Member Functions | |
SGRawValueContainer (const T &obj) | |
Explicit constructor. | |
virtual | ~SGRawValueContainer () |
Destructor. | |
virtual SGRaw * | clone () const |
Create a copy of this raw value. | |
virtual T | getValue () const |
Get the underlying value. | |
virtual bool | setValue (T value) |
Set the underlying value. | |
![]() | |
SGRawValue () | |
Constructor. | |
virtual | ~SGRawValue () |
Destructor. | |
bool | DefaultValue () |
const char * | DefaultValue () |
virtual simgear::props::Type | getType () const |
Return the type tag for this raw value type. | |
Additional Inherited Members | |
![]() | |
static T | DefaultValue () |
The default underlying value for this type. | |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Get the underlying value.
Implements SGRawValue< T >.
Definition at line 665 of file props.hxx.
|
inlinevirtual |
Set the underlying value.
This method will dereference the pointer and change the variable's value.
Implements SGRawValue< T >.
Definition at line 673 of file props.hxx.