Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

osgIntrospection::PropertyTypeAttribute Class Reference

Attribute for overriding the type of a property with a custom type. More...

Inheritance diagram for osgIntrospection::PropertyTypeAttribute:

Inheritance graph
[legend]
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 at Thu Nov 24 16:24:25 2005 for the OpenSceneGraph by doxygen 1.3.6.