Documentation
Urho3D::EnumAttributeAccessorImpl< T, U > Class Template Reference
Template implementation of the enum attribute accessor invoke helper class. More...
#include <Serializable.h>
Inheritance diagram for Urho3D::EnumAttributeAccessorImpl< T, U >:
Collaboration diagram for Urho3D::EnumAttributeAccessorImpl< T, U >:
Public Types | |
typedef U(T::* | GetFunctionPtr )() const |
typedef void(T::* | SetFunctionPtr )(U) |
Public Member Functions | |
EnumAttributeAccessorImpl (GetFunctionPtr getFunction, SetFunctionPtr setFunction) | |
Construct with function pointers. | |
virtual void | Get (const Serializable *ptr, Variant &dest) const |
Invoke getter function. | |
virtual void | Set (Serializable *ptr, const Variant &value) |
Invoke setter function. | |
Public Attributes | |
GetFunctionPtr | getFunction_ |
Class-specific pointer to getter function. | |
SetFunctionPtr | setFunction_ |
Class-specific pointer to setter function. | |
Detailed Description
template<typename T, typename U>
class Urho3D::EnumAttributeAccessorImpl< T, U >
Template implementation of the enum attribute accessor invoke helper class.
The documentation for this class was generated from the following file:
- /home/travis/build/urho3d/Urho3D/Source/Urho3D/Scene/Serializable.h