Inheritance diagram for osgIntrospection::PropertyTypeAttribute:
Public Member Functions | |
PropertyTypeAttribute (const Type &type) | |
const Type & | getPropertyType () const |
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.
|
|
|
|