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.
| Field | Type | Meaning |
|---|---|---|
Name | std::string | The name the object is found by. Group 3. |
Soft | Handle | The object, when the dictionary does not own it hard. Group 350. |
Hard | Handle | The 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.
| Field | Type and default | Meaning |
|---|---|---|
Base | DxfIO::Base | The handle, owner, reactors and extended data. |
Hard | bool | Whether the dictionary owns its entries hard. Group 280, from R2000. |
Cloning | int{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. |
Entries | std::vector<Objects::Entry> | The entries, in the order the file gives them. |