Helper class to map a property name to a handler member function.
More...
template<typename T>
class PropertyMapper< T >
Helper class to map a property name to a handler member function.
§ addProperty()
template<typename T>
| void PropertyMapper< T >::addProperty |
( |
const char * |
name, |
|
|
typename PropertyFunc::Handler |
handle |
|
) |
| |
|
inline |
Add a property to the map.
- Parameters
-
| [in] | name | The name of the property to add. |
| [in] | obj | The object handling access to the property. |
| [in] | handle | The method to call when the property is accessed. |
§ get()
Gets the value of a property.
- Parameters
-
| [in] | name | The name of the property. |
- Returns
- A variant representing the properties value or an invalid variant if it was not found.
The documentation for this class was generated from the following file: