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

One file of a project. More...

#include <easypc_classes_project.h>

Inheritance diagram for EASYPC::SOURCE_PROJECT_ITEM:
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

wxString Name
 Windows path relative to the project directory.
 
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

One file of a project.

Definition at line 39 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_ITEM::Load ( ARCHIVE & aAr)
overridevirtual

Read this object's fields.

Reimplemented from EASYPC::OBJECT.

Definition at line 70 of file easypc_document.cpp.

References EASYPC::ARCHIVE::CurrentReadFormat(), Name, EASYPC::ARCHIVE::ReadString(), EASYPC::ARCHIVE::Skip(), and EASYPC::ARCHIVE::SkipString().

Member Data Documentation

◆ ClassName

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

◆ Name

wxString EASYPC::SOURCE_PROJECT_ITEM::Name

Windows path relative to the project directory.

Definition at line 43 of file easypc_classes_project.h.

Referenced by Load(), and SCH_IO_EASYPC::LoadSchematicFile().

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


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