Urho3D
|
Template implementation of the attribute accessor invoke helper class using const references. More...
#include <Serializable.h>
Public Types | |
typedef const U &(T::* | GetFunctionPtr )() const |
typedef void(T::* | SetFunctionPtr )(const U &) |
Public Member Functions | |
RefAttributeAccessorImpl (GetFunctionPtr getFunction, SetFunctionPtr setFunction) | |
Construct with function pointers. | |
virtual void | Get (Serializable *ptr, Variant &dest) |
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. |
Template implementation of the attribute accessor invoke helper class using const references.