Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# osgIntrospection::IndexInfo Struct Reference

This struct allows customization of an indexed property's index set. More...

Inheritance diagram for osgIntrospection::IndexInfo:

[legend]
List of all members.

## Public Member Functions
virtual const ParameterInfoList & | getIndexParameters () const=0
virtual void | getIndexValueSet (int whichindex, const Value &instance, ValueList &values) const=0
virtual | ~IndexInfo ()

## Detailed Description

This struct allows customization of an indexed property's index set.

You must derive from this struct and provide a concrete implementation of getIndexValueSet(), which must return (in parameter values) a list of valid values to be used as indices. The whichindex parameter specifies which index is being queried (0 = first index, 1 = second index, ...). See CustomIndexAttribute for details.

## Constructor & Destructor Documentation

virtual osgIntrospection::IndexInfo::~IndexInfo | ( |  | ) | `[inline, virtual]`

## Member Function Documentation

virtual const ParameterInfoList& osgIntrospection::IndexInfo::getIndexParameters | ( |  | ) | const`[pure virtual]`

| Implemented in osgIntrospection::StdMapReflector< T, IT, VT >::Indexer.

virtual void osgIntrospection::IndexInfo::getIndexValueSet | ( | int | whichindex,
|  | const Value & | instance,
|  | ValueList & | values
| ) | const`[pure virtual]`

| Implemented in osgIntrospection::StdMapReflector< T, IT, VT >::Indexer.

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

- Attributes