lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
|
Holds a constant array of values, returning a matching subset of these on getter access. More...
#include <property_accessors.h>
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_constant * | clone () 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. |
Holds a constant array of values, returning a matching subset of these on getter access.