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.

FieldTypeMeaning
Orderstd::vector<std::string>The names of the sections, such as "HEADER", in the order the file gave them. Save writes these, in this order.
Headerstd::vector<Header::Variable>The HEADER section: each $ variable with its groups, in the order the file gave them.
Classesstd::vector<Raw>The CLASSES section, from R13: each CLASS record as its groups.
VportTables::Table<Tables::Vport>The VPORT table: the tiled viewport configurations of model space.
LtypeTables::Table<Tables::Ltype>The LTYPE table: the linetypes.
LayerTables::Table<Tables::Layer>The LAYER table.
StyleTables::Table<Tables::Style>The STYLE table: the text styles and the shape files.
ViewTables::Table<Tables::View>The VIEW table: the named views.
UcsTables::Table<Tables::Ucs>The UCS table: the named user coordinate systems.
AppidTables::Table<Tables::Appid>The APPID table: the applications registered to attach extended data.
DimstyleTables::Table<Tables::Dimstyle>The DIMSTYLE table: the dimension styles.
BlockRecordTables::Table<Tables::BlockRecord>The BLOCK_RECORD table, from R13: one record for each block.
Loosestd::vector<Tables::Table<Unknown>>The other tables of the TABLES section, of names dxfio has no type for, their records kept as Unknown.
Blocksstd::vector<Blocks::Block>The BLOCKS section: each block with its entities.
EntitiesDxfIO::Entities::ListThe ENTITIES section: the entities of model space and of the active paper space layout.
Objectsstd::vector<Object>The OBJECTS section, from R13: the dictionaries, layouts and other objects that draw nothing.
Sectionsstd::vector<Section>The sections dxfio has no type for, such as THUMBNAILIMAGE or ACDSDATA, each kept as its groups.