lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Public Member Functions
lean::properties::property_r_getter< Class, UnionValueReturn, Getter, ValueReturn, BaseClass > Class Template Reference

Provides read access to arbitrary object data of the given type using a given return-value getter method. More...

#include <property_accessors.h>

Inheritance diagram for lean::properties::property_r_getter< Class, UnionValueReturn, Getter, ValueReturn, BaseClass >:
lean::properties::property_getter< BaseClass >

List of all members.

Public Types

typedef strip_modifiers
< typename strip_reference
< ValueReturn >::type >::type 
value_type
typedef strip_modifiers
< typename strip_reference
< UnionValueReturn >::type >
::type 
union_type

Public Member Functions

bool operator() (const BaseClass &baseObject, const std::type_info &type, void *values, size_t count) const
 Retrieves the given number of values of the given type from the given object using the stored getter method, if available.
property_r_getterclone () const
void destroy () const
LEAN_INLINE bool operator() (const BaseClass &object, Value *values, size_t count) const
 Fetches the given number of values from the given object.

Detailed Description

template<class Class, class UnionValueReturn, UnionValueReturn(Class::*)() const Getter, class ValueReturn = UnionValueReturn, class BaseClass = Class>
class lean::properties::property_r_getter< Class, UnionValueReturn, Getter, ValueReturn, BaseClass >

Provides read access to arbitrary object data of the given type using a given return-value getter method.


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