osgIntrospection::CustomIndexAttribute Class Reference

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

Inheritance diagram for osgIntrospection::CustomIndexAttribute:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 CustomIndexAttribute (const IndexInfo *ii)
const IndexInfogetIndexInfo () 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:
Generated at Sun Oct 14 02:12:23 2007 for the OpenSceneGraph by doxygen 1.5.3.