lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Types | Public Member Functions
lean::properties::property_n_getter< Class, UnionValue, Count, Return, Getter, Value, BaseClass > Class Template Reference

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

#include <property_accessors.h>

Inheritance diagram for lean::properties::property_n_getter< Class, UnionValue, Count, Return, Getter, Value, BaseClass >:
lean::properties::property_getter< BaseClass >

List of all members.

Public Types

typedef strip_modifiers< Value >
::type 
value_type
typedef strip_modifiers
< UnionValue >::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_n_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 UnionValue, class Count, class Return, Return(Class::*)(UnionValue *, Count) const Getter, class Value = UnionValue, class BaseClass = Class>
class lean::properties::property_n_getter< Class, UnionValue, Count, Return, Getter, Value, BaseClass >

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


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