|
KiCad PCB EDA Suite
|
#include <easypc_classes_connectivity.h>
Public Member Functions | |
| LOAD_TASK | Load (ARCHIVE &aAr) override |
| Read this object's fields. | |
| int | ItemFormat (const ARCHIVE &aAr) const override |
| The version this object gates on; the base is the archive's current read format. | |
| LOAD_TASK | LoadShape (ARCHIVE &aAr, int aFormat) |
| bool | IsClosed () const |
| The last vertex links back to the first (formats 1 and 2) or the closed byte is set (format 3) | |
Public Attributes | |
| OBJECT * | Layer = nullptr |
| null in a schematic | |
| OBJECT * | Parent = nullptr |
| int | Format = 0 |
| std::vector< OBJECT * > | Segments |
| the vertex list as read | |
| bool | Closed = false |
| bool | HasClosed = false |
| const char * | ClassName = "object" |
| registered class name | |
| uint16_t | Schema = 0 |
| object schema from the class tag, 0 for an embedded member | |
| size_t | Offset = 0 |
| stream offset of the tag or of an embedded member's first field | |
Definition at line 202 of file easypc_classes_connectivity.h.
|
inherited |
The last vertex links back to the first (formats 1 and 2) or the closed byte is set (format 3)
Definition at line 157 of file easypc_classes_geometry.cpp.
References Closed, HasClosed, EASYPC::SOURCE_SEGMENT::Next, and Segments.
Referenced by EASYPC_PCB::AddShapeItem(), EASYPC::ConvertShape(), and EASYPC_PCB::ShapeItemArea().
|
overridevirtualinherited |
The version this object gates on; the base is the archive's current read format.
Reimplemented from EASYPC::OBJECT.
Definition at line 188 of file easypc_classes_geometry.cpp.
References Parent.
Read this object's fields.
Reimplemented from EASYPC::SOURCE_COMMON_SHAPE.
Definition at line 304 of file easypc_classes_connectivity.cpp.
References EASYPC::ARCHIVE::InBool(), Layer, EASYPC::SOURCE_COMMON_SHAPE::Load(), EASYPC::ARCHIVE::Object(), EASYPC::SOURCE_COMMON_SHAPE::Parent, and EASYPC::ARCHIVE::Skip().
Definition at line 107 of file easypc_classes_geometry.cpp.
References Closed, EASYPC::ARCHIVE::Count(), Format, HasClosed, EASYPC::SOURCE_SEGMENT::Next, EASYPC::ARCHIVE::Object(), Segments, EASYPC::ARCHIVE::SetShapeFormat(), EASYPC::ARCHIVE::ShapeFormat(), and EASYPC::ARCHIVE::U8().
Referenced by EASYPC::SOURCE_COMMON_SHAPE::Load(), and Load().
|
inherited |
registered class name
Definition at line 130 of file easypc_archive.h.
Referenced by EASYPC::ARCHIVE::drive(), EASYPC::ARCHIVE::Embedded(), EASYPC::SOURCE_DESIGN_ITEM::ItemFormat(), EASYPC::ARCHIVE::MapObject(), EASYPC::ARCHIVE::readTag(), and EASYPC::ARCHIVE::throwBadClass().
|
inherited |
Definition at line 114 of file easypc_classes_geometry.h.
Referenced by IsClosed(), and LoadShape().
|
inherited |
Definition at line 112 of file easypc_classes_geometry.h.
Referenced by LoadShape().
|
inherited |
Definition at line 115 of file easypc_classes_geometry.h.
Referenced by IsClosed(), and LoadShape().
| OBJECT* EASYPC::SOURCE_TRACK::Layer = nullptr |
null in a schematic
Definition at line 206 of file easypc_classes_connectivity.h.
Referenced by Load().
|
inherited |
stream offset of the tag or of an embedded member's first field
Definition at line 132 of file easypc_archive.h.
Referenced by EASYPC::ARCHIVE::drive(), EASYPC::SOURCE_DESIGN_ITEM::ItemFormat(), EASYPC::ARCHIVE::readTag(), and EASYPC::ARCHIVE::throwBadClass().
|
inherited |
Definition at line 124 of file easypc_classes_geometry.h.
Referenced by EASYPC::SOURCE_COMMON_SEGMENT::ItemFormat(), ItemFormat(), Load(), EASYPC::SOURCE_DESIGN_SHAPE::Load(), and EASYPC::SOURCE_TRACK::Load().
|
inherited |
object schema from the class tag, 0 for an embedded member
Definition at line 131 of file easypc_archive.h.
Referenced by EASYPC::SOURCE_COMMON_SHAPE::Load(), and EASYPC::ARCHIVE::readTag().
|
inherited |
the vertex list as read
Definition at line 113 of file easypc_classes_geometry.h.
Referenced by IsClosed(), LoadShape(), and EASYPC::ShapeVertices().