Document
document
#include "dxfio/document.hpp"In DxfIO
struct Document
A DXF drawing: one member for each section, and one for each table of the TABLES section. A table whose head has no name, as when the file had no such table, is not written.
| Field | Type | Meaning |
|---|---|---|
Order | std::vector<std::string> | The names of the sections, such as "HEADER", in the order the file gave them. Save writes these, in this order. |
Header | std::vector<Header::Variable> | The HEADER section: each $ variable with its groups, in the order the file gave them. |
Classes | std::vector<Raw> | The CLASSES section, from R13: each CLASS record as its groups. |
Vport | Tables::Table<Tables::Vport> | The VPORT table: the tiled viewport configurations of model space. |
Ltype | Tables::Table<Tables::Ltype> | The LTYPE table: the linetypes. |
Layer | Tables::Table<Tables::Layer> | The LAYER table. |
Style | Tables::Table<Tables::Style> | The STYLE table: the text styles and the shape files. |
View | Tables::Table<Tables::View> | The VIEW table: the named views. |
Ucs | Tables::Table<Tables::Ucs> | The UCS table: the named user coordinate systems. |
Appid | Tables::Table<Tables::Appid> | The APPID table: the applications registered to attach extended data. |
Dimstyle | Tables::Table<Tables::Dimstyle> | The DIMSTYLE table: the dimension styles. |
BlockRecord | Tables::Table<Tables::BlockRecord> | The BLOCK_RECORD table, from R13: one record for each block. |
Loose | std::vector<Tables::Table<Unknown>> | The other tables of the TABLES section, of names dxfio has no type for, their records kept as Unknown. |
Blocks | std::vector<Blocks::Block> | The BLOCKS section: each block with its entities. |
Entities | DxfIO::Entities::List | The ENTITIES section: the entities of model space and of the active paper space layout. |
Objects | std::vector<Object> | The OBJECTS section, from R13: the dictionaries, layouts and other objects that draw nothing. |
Sections | std::vector<Section> | The sections dxfio has no type for, such as THUMBNAILIMAGE or ACDSDATA, each kept as its groups. |