SGRawValueMethodsIndexed< C, T > Class Template Reference

An indexed value managed through an object and access methods. More...

#include <props.hxx>

Inheritance diagram for SGRawValueMethodsIndexed< C, T >:
SGRawValue< T >

List of all members.

Public Member Functions

virtual T getValue () const
 Return the underlying value.
virtual bool setValue (T value)
 Assign a new underlying value.

Detailed Description

template<class C, class T>
class SGRawValueMethodsIndexed< C, T >

An indexed value managed through an object and access methods.

A read-only value will not have a setter; a write-only value will not have a getter.

Definition at line 599 of file props.hxx.


Member Function Documentation

template<class C , class T >
virtual T SGRawValueMethodsIndexed< C, T >::getValue (  )  const [inline, virtual]

Return the underlying value.

Returns:
The actual value for the property.
See also:
setValue

Implements SGRawValue< T >.

Definition at line 608 of file props.hxx.

template<class C , class T >
virtual bool SGRawValueMethodsIndexed< C, T >::setValue ( value  )  [inline, virtual]

Assign a new underlying value.

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.

Parameters:
value The actual value for the property.
Returns:
true if the value was set successfully, false otherwise.
See also:
getValue

Implements SGRawValue< T >.

Definition at line 612 of file props.hxx.


The documentation for this class was generated from the following file:

Generated on 23 Feb 2010 for SimGear by  doxygen 1.6.1