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

Destribes a property. More...

#include <property.h>

List of all members.

Public Types

typedef first_non_void
< Derived, property_desc >
::type 
actual_type
 Type of the most derived structure.
typedef property_setter< Class > setter_type
 Setter type.
typedef cloneable_obj
< setter_type, true > 
setter_storage_type
typedef property_getter< Class > getter_type
 Getter type.
typedef cloneable_obj
< getter_type, true > 
getter_storage_type

Public Member Functions

 property_desc ()
 Constructs an empty property description.
 property_desc (const property_type &type, size_t count)
 Constructs a property description from the given parameters.
actual_typeset_setter (const setter_type &setter)
 Sets the setter.
actual_typeset_getter (const getter_type &getter)
 Sets the getter.

Public Attributes

const property_typetype
size_t count
 Number of elements.
setter_storage_type setter
 Value setter.
getter_storage_type getter
 Value getter.

Detailed Description

template<class Class, class Derived = void>
struct lean::properties::property_desc< Class, Derived >

Destribes a property.


Member Data Documentation

template<class Class, class Derived = void>
const property_type* lean::properties::property_desc< Class, Derived >::type

Property type.


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