Public Member Functions | |
CustomIndexAttribute (const IndexInfo *ii) | |
const IndexInfo * | getIndexInfo () const |
~CustomIndexAttribute () |
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).
osgIntrospection::CustomIndexAttribute::CustomIndexAttribute | ( | const IndexInfo * | ii | ) | [inline] |
osgIntrospection::CustomIndexAttribute::~CustomIndexAttribute | ( | ) | [inline] |
const IndexInfo* osgIntrospection::CustomIndexAttribute::getIndexInfo | ( | ) | const [inline] |