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

The document root. More...

#include <easypc_classes_project.h>

Inheritance diagram for EASYPC::SOURCE_PROJECT:
EASYPC::OBJECT

Public Member Functions

LOAD_TASK Load (ARCHIVE &aAr) override
 Read this object's fields.
 
virtual int ItemFormat (const ARCHIVE &aAr) const
 The version this object gates on; the base is the archive's current read format.
 

Public Attributes

int32_t Format = 0
 
std::vector< SOURCE_PROJECT_ITEM * > Boards
 at most one
 
std::vector< SOURCE_PROJECT_ITEM * > Schematics
 in sheet order
 
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

The document root.

Definition at line 48 of file easypc_classes_project.h.

Member Function Documentation

◆ ItemFormat()

int EASYPC::OBJECT::ItemFormat ( const ARCHIVE & aAr) const
virtualinherited

◆ Load()

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

Member Data Documentation

◆ Boards

std::vector<SOURCE_PROJECT_ITEM*> EASYPC::SOURCE_PROJECT::Boards

at most one

Definition at line 53 of file easypc_classes_project.h.

Referenced by Load().

◆ ClassName

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

◆ Format

int32_t EASYPC::SOURCE_PROJECT::Format = 0

Definition at line 52 of file easypc_classes_project.h.

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

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

◆ Schematics

std::vector<SOURCE_PROJECT_ITEM*> EASYPC::SOURCE_PROJECT::Schematics

in sheet order

Definition at line 54 of file easypc_classes_project.h.

Referenced by Load().


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