|
KiCad PCB EDA Suite
|
A list: owner tag, then the items. More...
#include <easypc_classes_base.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. | |
Public Attributes | |
| OBJECT * | Parent = nullptr |
| std::vector< OBJECT * > | Items |
| 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 | |
A list: owner tag, then the items.
Definition at line 36 of file easypc_classes_base.h.
|
overridevirtual |
The version this object gates on; the base is the archive's current read format.
Reimplemented from EASYPC::OBJECT.
Definition at line 91 of file easypc_classes_styles.cpp.
References EASYPC::ARCHIVE::CurrentReadFormat(), EASYPC::ARCHIVE::OrphanFormat(), and Parent.
Referenced by Load().
Read this object's fields.
Reimplemented from EASYPC::OBJECT.
Reimplemented in EASYPC::SOURCE_LAYER_ARRAY.
Definition at line 73 of file easypc_classes_styles.cpp.
References EASYPC::ARCHIVE::Count(), ItemFormat(), Items, EASYPC::ARCHIVE::Object(), and Parent.
Referenced by EASYPC::SOURCE_LAYER_ARRAY::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().
| std::vector<OBJECT*> EASYPC::SOURCE_DESIGN_LIST::Items |
Definition at line 42 of file easypc_classes_base.h.
Referenced by Load(), and EASYPC::SOURCE_LAYER_ARRAY::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().
| OBJECT* EASYPC::SOURCE_DESIGN_LIST::Parent = nullptr |
Definition at line 41 of file easypc_classes_base.h.
Referenced by ItemFormat(), and 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().