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

#include <easypc_classes_library.h>

Inheritance diagram for EASYPC::SOURCE_SCM_COMPONENT:
EASYPC::SOURCE_DESIGN_ITEM EASYPC::SELF_VERSIONED 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.
 
void LoadOldFormat (ARCHIVE &aAr, int &aFormat) const
 An older item format, stored only while the format is still 0.
 

Static Public Member Functions

static void LoadFormatted (ARCHIVE &aAr, int &aFormat)
 An item format, stored only from object schema 2, which governs what follows.
 

Public Attributes

wxString Name
 
wxString Package
 
OBJECT * Gates = nullptr
 
wxString DefaultReference
 
wxString Description
 
wxString Library
 
uint32_t SuppressionFlags = 0
 
OBJECT * Parent = nullptr
 null is the document in a design, nothing in a library item
 
OBJECT * Attributes = nullptr
 attribute array
 
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
 
int Format = NEWEST_ITEM_FORMAT
 

Detailed Description

Definition at line 155 of file easypc_classes_library.h.

Member Function Documentation

◆ ItemFormat()

int EASYPC::SOURCE_SCM_COMPONENT::ItemFormat ( const ARCHIVE & aAr) const
inlineoverridevirtual

The version this object gates on; the base is the archive's current read format.

Reimplemented from EASYPC::SOURCE_DESIGN_ITEM.

Definition at line 158 of file easypc_classes_library.h.

References EASYPC::SELF_VERSIONED::Format.

◆ Load()

◆ LoadFormatted()

void EASYPC::SOURCE_DESIGN_ITEM::LoadFormatted ( ARCHIVE & aAr,
int & aFormat )
staticinherited

An item format, stored only from object schema 2, which governs what follows.

Definition at line 154 of file easypc_classes_styles.cpp.

References EASYPC::ARCHIVE::I32(), EASYPC::ARCHIVE::ObjectSchema(), and EASYPC::ARCHIVE::SetReadFormat().

◆ LoadOldFormat()

void EASYPC::SOURCE_DESIGN_ITEM::LoadOldFormat ( ARCHIVE & aAr,
int & aFormat ) const
inherited

An older item format, stored only while the format is still 0.

Definition at line 162 of file easypc_classes_styles.cpp.

References EASYPC::ARCHIVE::I32(), ItemFormat(), and EASYPC::ARCHIVE::SetReadFormat().

Referenced by EASYPC::SOURCE_PCB_COMPONENT::Load(), EASYPC::SOURCE_SCM_COMPONENT::Load(), and EASYPC::SOURCE_SYMBOL::Load().

Member Data Documentation

◆ Attributes

OBJECT* EASYPC::SOURCE_DESIGN_ITEM::Attributes = nullptr
inherited

attribute array

Definition at line 133 of file easypc_classes_styles.h.

Referenced by EASYPC::ConvertComponentSymbol(), Load(), and EASYPC::partAttributes().

◆ ClassName

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

◆ DefaultReference

wxString EASYPC::SOURCE_SCM_COMPONENT::DefaultReference

Definition at line 163 of file easypc_classes_library.h.

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

◆ Description

wxString EASYPC::SOURCE_SCM_COMPONENT::Description

◆ Format

◆ Gates

◆ Library

wxString EASYPC::SOURCE_SCM_COMPONENT::Library

Definition at line 165 of file easypc_classes_library.h.

Referenced by Load().

◆ Name

wxString EASYPC::SOURCE_SCM_COMPONENT::Name

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

◆ Package

wxString EASYPC::SOURCE_SCM_COMPONENT::Package

Definition at line 161 of file easypc_classes_library.h.

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

◆ Parent

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

null is the document in a design, nothing in a library item

Definition at line 132 of file easypc_classes_styles.h.

Referenced by ItemFormat(), Load(), and EASYPC::netOf().

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

◆ SuppressionFlags

uint32_t EASYPC::SOURCE_SCM_COMPONENT::SuppressionFlags = 0

Definition at line 166 of file easypc_classes_library.h.

Referenced by Load().


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