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_setter< Class, UnionValue, Count, Return, Setter, Value, BaseClass > Class Template Reference

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

#include <property_accessors.h>

Inheritance diagram for lean::properties::property_n_setter< Class, UnionValue, Count, Return, Setter, Value, BaseClass >:
lean::properties::property_setter< 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() (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_n_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 UnionValue, class Count, class Return, Return(Class::*)(const UnionValue *, Count) Setter, class Value = UnionValue, class BaseClass = Class>
class lean::properties::property_n_setter< Class, UnionValue, Count, Return, Setter, Value, BaseClass >

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


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