Objects

objects/dictionary

#include "dxfio/objects/dictionary.hpp"

In DxfIO::Objects

struct Entry

One entry of a dictionary: a name and the object it stands for.

FieldTypeMeaning
Namestd::stringThe name the object is found by. Group 3.
SoftHandleThe object, when the dictionary does not own it hard. Group 350.
HardHandleThe object, when the dictionary owns it hard. Group 360.

struct DictionaryDICTIONARY

A DICTIONARY: objects found by name, such as the drawing's layouts, groups or styles.

FieldType and defaultMeaning
BaseDxfIO::BaseThe handle, owner, reactors and extended data.
HardboolWhether the dictionary owns its entries hard. Group 280, from R2000.
Cloningint{1}What cloning does with a name already taken: 0 nothing, 1 keeps the entry there, 2 takes the clone, 3 to 5 rename it. Group 281, from R2000.
Entriesstd::vector<Objects::Entry>The entries, in the order the file gives them.