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

Holds a constant array of values, returning a matching subset of these on getter access. More...

#include <property_accessors.h>

Inheritance diagram for lean::properties::property_constant< Class, Value >:
lean::properties::property_getter< Class >

List of all members.

Public Types

typedef strip_modifiers< Value >
::type 
value_type

Public Member Functions

 property_constant (const Value *constantValues, size_t count)
bool operator() (const Class &object, const std::type_info &type, void *values, size_t count) const
 Copies the given number of values of the given type from the constant value array held, if available.
property_constantclone () const
void destroy () const
template<class Value >
LEAN_INLINE bool operator() (const Class &object, Value *values, size_t count) const
 Fetches the given number of values from the given object.

Detailed Description

template<class Class, class Value>
class lean::properties::property_constant< Class, Value >

Holds a constant array of values, returning a matching subset of these on getter access.


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