FreePOOMA
2.4.1
|
ComponentAccess is an interface class that is used to provide an API for accessing components of a composite type. More...
#include <ComponentAccess.h>
Public Types | |
typedef T | Element_t |
typedef T & | ElementRef_t |
Static Public Member Functions | |
static ElementRef_t | indexRef (T &v, const Components &) |
static Element_t | index (const T &v, const Components &) |
ComponentAccess is an interface class that is used to provide an API for accessing components of a composite type.
The default version handles scalars.
typedef T ComponentAccess< T, Components >::Element_t |
typedef T& ComponentAccess< T, Components >::ElementRef_t |
static ElementRef_t ComponentAccess< T, Components >::indexRef | ( | T & | v, |
const Components & | |||
) | [inline, static] |
static Element_t ComponentAccess< T, Components >::index | ( | const T & | v, |
const Components & | |||
) | [inline, static] |