Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.11 KB

ObjectDesc.md

File metadata and controls

46 lines (27 loc) · 1.11 KB

ObjectDesc

class ObjectDesc

Inherited from: ValueDesc.

Required header: <Eclog/ObjectDesc.h>

The ObjectDesc class is a description of an object.

Member functions

Name Description
(constructor) Constructor.

(constructor)

ObjectDesc(EmptyObjectTag);                                          (1)
ObjectDesc(const Pair<KeyDesc, ValueDesc>* p, size_t size);          (2)

template<size_t N>
ObjectDesc(const Pair<KeyDesc, ValueDesc>(&v)[N]);                   (3)

Constructs an ObjectDesc.

(1) Constructs the value description for an empty object.

(2-3) Constructs the value description for an object.

Parameters

EmptyObjectTag Tag dispatching.

const Pair<KeyDesc, ValueDesc>* p Pointer to an array of key-value description pairs.

const Pair<KeyDesc, ValueDesc> (&v)[N] An array of key-value description pairs.

size_t size Size of the description array.