Urho3D
Public Types | Public Member Functions | Public Attributes
Urho3D::RefAttributeAccessorImpl< T, U > Class Template Reference

Template implementation of the attribute accessor invoke helper class using const references. More...

#include <Serializable.h>

Inheritance diagram for Urho3D::RefAttributeAccessorImpl< T, U >:
Urho3D::AttributeAccessor Urho3D::RefCounted

List of all members.

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.

Detailed Description

template<class T, class U>
class Urho3D::RefAttributeAccessorImpl< T, U >

Template implementation of the attribute accessor invoke helper class using const references.


The documentation for this class was generated from the following file: