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

# osgIntrospection::CustomIndexAttribute Class Reference

By default each index in an indexed property is assumed to be an enumeration. More...

Inheritance diagram for osgIntrospection::CustomIndexAttribute:

[legend]
List of all members.

## Public Member Functions
| CustomIndexAttribute (const IndexInfo *ii)
const IndexInfo * | getIndexInfo () const
| ~CustomIndexAttribute ()

## Detailed Description

By default each index in an indexed property is assumed to be an enumeration.

When serialization is performed, indices are chosen from the set of enum labels that were defined for the index type. With this attribute you can provide custom code to determine the set of values to be used as indices, instead of the default enum values. This attribute is required, for example, when the number and/or value of indices is not constant over time (such as in associative containers).

## Constructor & Destructor Documentation

osgIntrospection::CustomIndexAttribute::CustomIndexAttribute | ( | const IndexInfo * | ii | ) | `[inline]`

osgIntrospection::CustomIndexAttribute::~CustomIndexAttribute | ( |  | ) | `[inline]`

## Member Function Documentation

const IndexInfo* osgIntrospection::CustomIndexAttribute::getIndexInfo | ( |  | ) | const`[inline]`

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

- Attributes