KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EASYPC::SOURCE_LAYER_ARRAY Struct Reference

Item order is the physical stack order. More...

#include <easypc_classes_styles.h>

Inheritance diagram for EASYPC::SOURCE_LAYER_ARRAY:
EASYPC::SOURCE_DESIGN_LIST EASYPC::OBJECT

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
 

Detailed Description

Item order is the physical stack order.

Definition at line 273 of file easypc_classes_styles.h.

Member Function Documentation

◆ ItemFormat()

int EASYPC::SOURCE_DESIGN_LIST::ItemFormat ( const ARCHIVE & aAr) const
overridevirtualinherited

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().

◆ Load()

LOAD_TASK EASYPC::SOURCE_LAYER_ARRAY::Load ( ARCHIVE & aAr)
overridevirtual

Read this object's fields.

Reimplemented from EASYPC::SOURCE_DESIGN_LIST.

Definition at line 416 of file easypc_classes_styles.cpp.

References EASYPC::SOURCE_DESIGN_LIST::Items, EASYPC::SOURCE_DESIGN_LIST::Load(), and EASYPC::ARCHIVE::Skip().

Member Data Documentation

◆ ClassName

const char* EASYPC::OBJECT::ClassName = "object"
inherited

◆ Items

std::vector<OBJECT*> EASYPC::SOURCE_DESIGN_LIST::Items
inherited

Definition at line 42 of file easypc_classes_base.h.

Referenced by Load(), and EASYPC::SOURCE_LAYER_ARRAY::Load().

◆ Offset

size_t EASYPC::OBJECT::Offset = 0
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().

◆ Parent

OBJECT* EASYPC::SOURCE_DESIGN_LIST::Parent = nullptr
inherited

Definition at line 41 of file easypc_classes_base.h.

Referenced by ItemFormat(), and Load().

◆ Schema

uint16_t EASYPC::OBJECT::Schema = 0
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().


The documentation for this struct was generated from the following files: