OpenSceneGraph 2.8.3

osgIntrospection::IndexTypeAttribute Class Reference

Attribute for overriding the type of an index (of an indexed property) with a custom type. More...

Inheritance diagram for osgIntrospection::IndexTypeAttribute:

List of all members.

Public Member Functions

 IndexTypeAttribute (int whichindex, const Type &type)
int getWhichIndex () const
const TypegetIndexType () const

Detailed Description

Attribute for overriding the type of an index (of an indexed property) with a custom type.

Behaves like PropertyTypeAttribute, but it affects the value of an index instead of the property's value itself. NOTE: property with custom indexing attributes are not affected by this attribute!


Constructor & Destructor Documentation

osgIntrospection::IndexTypeAttribute::IndexTypeAttribute ( int  whichindex,
const Type type 
) [inline]

Member Function Documentation

const Type& osgIntrospection::IndexTypeAttribute::getIndexType ( ) const [inline]
int osgIntrospection::IndexTypeAttribute::getWhichIndex ( ) const [inline]

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

osg logo
Generated at Tue Mar 22 2011 13:20:26 for the OpenSceneGraph by doxygen 1.7.3.