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

A map of DRC switch id to value. More...

#include <easypc_classes_root.h>

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

Public Member Functions

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

Public Attributes

std::map< int32_t, int32_t > Values
 
bool DesignOwned = false
 
bool OwnerRead = false
 
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 map of DRC switch id to value.

Definition at line 68 of file easypc_classes_root.h.

Member Function Documentation

◆ IsChecking()

bool EASYPC::SOURCE_CHECK_PARAMETERS::IsChecking ( int32_t aId) const
inline

Definition at line 72 of file easypc_classes_root.h.

References Values.

◆ ItemFormat()

int EASYPC::DESIGN_MEMBER::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 252 of file easypc_classes_root.cpp.

References EASYPC::ARCHIVE::CurrentReadFormat(), DesignOwned, EASYPC::ARCHIVE::DocumentVersion(), EASYPC::SOURCE_DESIGN_DATA::ItemFormat(), and OwnerRead.

Referenced by EASYPC::SOURCE_CHECK_PARAMETERS::Load(), and EASYPC::SOURCE_DESIGN_PARAMETERS::Load().

◆ Load()

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

Member Data Documentation

◆ ClassName

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

◆ DesignOwned

bool EASYPC::DESIGN_MEMBER::DesignOwned = false
inherited

Definition at line 62 of file easypc_classes_root.h.

Referenced by ItemFormat().

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

◆ OwnerRead

bool EASYPC::DESIGN_MEMBER::OwnerRead = false
inherited

Definition at line 63 of file easypc_classes_root.h.

Referenced by ItemFormat(), and Load().

◆ Parent

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

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

◆ Values

std::map<int32_t, int32_t> EASYPC::SOURCE_CHECK_PARAMETERS::Values

Definition at line 78 of file easypc_classes_root.h.

Referenced by IsChecking(), and Load().


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