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

A design data member: owner tag only. More...

#include <easypc_classes_base.h>

Inheritance diagram for EASYPC::SOURCE_DESIGN_DATA:
EASYPC::OBJECT EASYPC::DESIGN_MEMBER EASYPC::SOURCE_CHECK_PARAMETERS EASYPC::SOURCE_DESIGN_PARAMETERS

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
 
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

A design data member: owner tag only.

Definition at line 47 of file easypc_classes_base.h.

Member Function Documentation

◆ ItemFormat()

int EASYPC::SOURCE_DESIGN_DATA::ItemFormat ( const ARCHIVE & aAr) const
overridevirtual

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

Reimplemented from EASYPC::OBJECT.

Definition at line 106 of file easypc_classes_styles.cpp.

References EASYPC::ARCHIVE::CurrentReadFormat(), EASYPC::ARCHIVE::OrphanFormat(), and Parent.

Referenced by EASYPC::DESIGN_MEMBER::ItemFormat().

◆ Load()

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

Read this object's fields.

Reimplemented from EASYPC::OBJECT.

Reimplemented in EASYPC::SOURCE_DESIGN_PARAMETERS.

Definition at line 100 of file easypc_classes_styles.cpp.

References EASYPC::ARCHIVE::Object(), and Parent.

Referenced by EASYPC::DESIGN_MEMBER::Load().

Member Data Documentation

◆ ClassName

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

◆ 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_DATA::Parent = nullptr

Definition at line 52 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: