head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2002.09.07.01.50.36; author curt; state Exp; branches; next 1.3; 1.3 date 2002.08.31.19.01.50; author curt; state Exp; branches; next 1.2; 1.2 date 2002.08.31.18.53.59; author curt; state Exp; branches; next 1.1; 1.1 date 2002.02.15.17.21.54; author curt; state Exp; branches; next ; desc @@ 1.4 log @Updated doxygen docs. @ text @
Main Page Class Hierarchy Compound List File List Compound Members File Members

# 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 >:

List of all members.

## Public Types
typedef T(C::* | getter_t )(int) const
typedef void(C::* | setter_t )(int, T)
## Public Methods
| SGRawValueMethodsIndexed (C &obj, int index, getter_t getter=0, setter_t setter=0)
virtual | ~SGRawValueMethodsIndexed ()
virtual T | getValue () const
| Return the underlying value.
virtual bool | setValue (T value)
| Assign a new underlying value.
virtual SGRawValue< T > * | clone () const
| Create a new deep copy of this raw 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 425 of file props.hxx.

## Member Function Documentation

template<class C, class T>
virtual SGRawValue<T>* SGRawValueMethodsIndexed< C, T >::clone | ( |  | ) | const`[inline, virtual]`

| Create a new deep copy of this raw value. The copy will contain its own version of the underlying value as well. Returns: A deep copy of the current object. Implements SGRawValue< T >. Definition at line 442 of file props.hxx.

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 434 of file props.hxx.

template<class C, class T>
virtual bool SGRawValueMethodsIndexed< C, T >::setValue | ( | T | 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 438 of file props.hxx.

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

- props.hxx

@ 1.3 log @Oops, try again. @ text @d183 1 a183 1