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

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

#include <property_accessors.h>

Inheritance diagram for lean::properties::property_c_getter< Class, UnionValueArg, ArgCount, Return, Getter, ValueArg, BaseClass >:
lean::properties::property_getter< BaseClass >

List of all members.

Public Types

typedef strip_modifiers
< typename strip_reference
< ValueArg >::type >::type 
value_type
typedef strip_modifiers
< typename strip_reference
< UnionValueArg >::type >
::type 
union_type

Public Member Functions

bool operator() (const BaseClass &object, 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_c_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 UnionValueArg, int ArgCount, class Return, typename impl::property_c_helper< Class, UnionValueArg, ArgCount, Return >::getter_type Getter, class ValueArg = UnionValueArg, class BaseClass = Class>
class lean::properties::property_c_getter< Class, UnionValueArg, ArgCount, Return, Getter, ValueArg, BaseClass >

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


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