#include <props.hxx>
Inherits SGRawValue< T >.
Definition at line 363 of file props.hxx.
Public Types | |
| typedef T(* | getter_t )(int) |
| typedef void(* | setter_t )(int, T) |
Public Member Functions | |
| virtual SGRawValue< T > * | clone () const |
| Create a new deep copy of this raw value. | |
| virtual T | getValue () const |
| Return the underlying value. | |
| virtual bool | setValue (T value) |
| Assign a new underlying value. | |
| SGRawValueFunctionsIndexed (int index, getter_t getter=0, setter_t setter=0) | |
| virtual SGRawValue<T>* clone | ( | ) | const [inline, virtual] |
The copy will contain its own version of the underlying value as well.
Implements SGRawValue.
| virtual T getValue | ( | ) | const [inline, virtual] |
| virtual bool setValue | ( | T | value | ) | [inline, virtual] |
If the new value cannot be set (because this is a read-only raw value, or because the new value is not acceptable for some reason) this method returns false and leaves the original value unchanged.
| value | The actual value for the property. |
Implements SGRawValue.
1.5.5