osgIntrospection::CustomIndexAttribute Class Reference

Inheritance diagram for osgIntrospection::CustomIndexAttribute:

osgIntrospection::CustomAttribute 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 on Sun Oct 1 13:17:10 2006 for openscenegraph by  doxygen 1.4.7