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::named_property_desc< Class, Derived > Struct Template Reference

Describes a named property. More...

#include <property.h>

Inheritance diagram for lean::properties::named_property_desc< Class, Derived >:
lean::properties::property_desc< Class, first_non_void< Derived, named_property_desc< Class, Derived > >::type >

List of all members.

Public Types

typedef first_non_void
< Derived, named_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

 named_property_desc ()
 Constructs an empty property description.
 named_property_desc (const utf8_ntri &name, 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

utf8_string name
 Property name.
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::named_property_desc< Class, Derived >

Describes a named property.


Member Data Documentation

const property_type* lean::properties::property_desc< Class, first_non_void< Derived, named_property_desc< Class, Derived > >::type >::type [inherited]

Property type.


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