Values
group
#include "dxfio/group.hpp"In DxfIO
struct Chunk
The value of a binary group, 310 to 319 or 1004: the bytes themselves, not the hex an ASCII file spells.
| Field | Type | Meaning |
|---|---|---|
Bytes | std::string | The bytes, of any value, zero included. |
struct GroupGROUP
One group of a DXF file: a group code and the value that follows it.
| Field | Type | Meaning |
|---|---|---|
Code | int | The group code, such as 8 for a layer name or 10 for an x coordinate. |
Value | Content | The value, of the type its code calls for. |
using Content
The value of a group, of the type its code calls for: text, a whole number, a real, a flag (290 to 299), a handle or bytes. A handle or binary group whose text does not parse stays text.
using Content = std::variant<std::string, std::int64_t, double, bool, Handle, Chunk>;