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_setter< Class, UnionValueArg, ArgCount, Return, Setter, ValueArg, BaseClass > Class Template Reference

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

#include <property_accessors.h>

Inheritance diagram for lean::properties::property_c_setter< Class, UnionValueArg, ArgCount, Return, Setter, ValueArg, BaseClass >:
lean::properties::property_setter< 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() (BaseClass &baseObject, const std::type_info &type, const void *values, size_t count)
 Passes the given number of values of the given type to the given object using the stored setter method, if the value types are matching.
property_c_setterclone () const
void destroy () const
LEAN_INLINE bool operator() (BaseClass &object, const Value *values, size_t count)
 Passes the given values to the given object.

Detailed Description

template<class Class, class UnionValueArg, int ArgCount, class Return, typename impl::property_c_helper< Class, UnionValueArg, ArgCount, Return >::setter_type Setter, class ValueArg = UnionValueArg, class BaseClass = Class>
class lean::properties::property_c_setter< Class, UnionValueArg, ArgCount, Return, Setter, ValueArg, BaseClass >

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


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