KiCad PCB EDA Suite
ASCH_IMPLEMENTATION Struct Reference

#include <altium_parser_sch.h>

Public Member Functions

 ASCH_IMPLEMENTATION (const std::map< wxString, wxString > &aProps)
 

Public Attributes

int ownerindex
 
wxString name
 
wxString type
 
wxString libname
 
bool isCurrent
 

Detailed Description

Definition at line 831 of file altium_parser_sch.h.

Constructor & Destructor Documentation

◆ ASCH_IMPLEMENTATION()

ASCH_IMPLEMENTATION::ASCH_IMPLEMENTATION ( const std::map< wxString, wxString > &  aProps)
explicit

Definition at line 865 of file altium_parser_sch.cpp.

866{
867 wxASSERT( ReadRecord( aProps ) == ALTIUM_SCH_RECORD::IMPLEMENTATION );
868
870 name = ALTIUM_PARSER::ReadString( aProps, "MODELNAME", "" );
871 type = ALTIUM_PARSER::ReadString( aProps, "MODELTYPE", "" );
872 libname = ALTIUM_PARSER::ReadString( aProps, "MODELDATAFILE0", "" );
873 isCurrent = ALTIUM_PARSER::ReadBool( aProps, "ISCURRENT", false );
874}
ALTIUM_SCH_RECORD ReadRecord(const std::map< wxString, wxString > &aProps)
const int ALTIUM_COMPONENT_NONE
static int ReadInt(const std::map< wxString, wxString > &aProps, const wxString &aKey, int aDefault)
static wxString ReadString(const std::map< wxString, wxString > &aProps, const wxString &aKey, const wxString &aDefault)
static bool ReadBool(const std::map< wxString, wxString > &aProps, const wxString &aKey, bool aDefault)

References ALTIUM_COMPONENT_NONE, IMPLEMENTATION, isCurrent, libname, name, ownerindex, ALTIUM_PARSER::ReadBool(), ALTIUM_PARSER::ReadInt(), ReadRecord(), ALTIUM_PARSER::ReadString(), and type.

Member Data Documentation

◆ isCurrent

bool ASCH_IMPLEMENTATION::isCurrent

◆ libname

wxString ASCH_IMPLEMENTATION::libname

◆ name

wxString ASCH_IMPLEMENTATION::name

◆ ownerindex

int ASCH_IMPLEMENTATION::ownerindex

◆ type

wxString ASCH_IMPLEMENTATION::type

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