Union.h
Go to the documentation of this file.
An object can contain other objects, properties and arrays.
Definition: Libraries/ConfigDB/src/include/ConfigDB/Object.h:37
Object * parent
Definition: Libraries/ConfigDB/src/include/ConfigDB/Object.h:299
void disposeArrays()
const ObjectInfo & typeinfo() const
Definition: Libraries/ConfigDB/src/include/ConfigDB/Object.h:232
const PropertyInfo & propinfo() const
Definition: Libraries/ConfigDB/src/include/ConfigDB/Object.h:227
PropertyData * getPropertyData(unsigned index)
Definition: Libraries/ConfigDB/src/include/ConfigDB/Object.h:237
uint16_t dataRef
Definition: Libraries/ConfigDB/src/include/ConfigDB/Object.h:300
void resetToDefaults()
Does a 'clear' followed by 'loadArrayDefaults'.
void * getDataPtr()
Manages a key/value pair stored in an object, or a simple array value.
Definition: Property.h:32
Definition: Property.h:69
Variant object, can contain one of a selection of objects types.
Definition: Union.h:30
Item as(Tag tag)
Used by code generator to obtain a writeable reference to the contained object.
Definition: Union.h:108
void setTag(Tag tag)
Set the current tag and reset content to object default.
Definition: Union.h:47
void clear()
Reset tag to default and clear whatever object that corresponds to.
Definition: Union.h:59
const Item as(Tag tag) const
Used by code generator to obtain a read-only reference to the contained object.
Definition: Union.h:96
Item to(Tag tag)
Used by code generator to set the tag and return a direct reference to the contained object.
Definition: Union.h:120
Tag getTag() const
Get the current tag which identifies the stored type.
Definition: Union.h:39
Definition: Array.h:26
1.9.1