osgIntrospection::PropertyTypeAttribute Class Reference

Inheritance diagram for osgIntrospection::PropertyTypeAttribute:

osgIntrospection::CustomAttribute List of all members.

Public Member Functions

 PropertyTypeAttribute (const Type &type)
const TypegetPropertyType () const

Detailed Description

Attribute for overriding the type of a property with a custom type. If you add this attribute to a PropertyInfo object, then all subsequent calls to getValue()/getArrayItem()/getIndexedValue() will perform a conversion from the actual property's type to the custom type specified through this attribute. Similarly, all methods in PropertyInfo that alter the property's value will accept a value of the custom type instead of the actual type. In this case the conversion is implicit and occurs later within the accessor methods.


Constructor & Destructor Documentation

osgIntrospection::PropertyTypeAttribute::PropertyTypeAttribute ( const Type type  )  [inline]


Member Function Documentation

const Type& osgIntrospection::PropertyTypeAttribute::getPropertyType (  )  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