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 717 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 705 of file altium_parser_sch.cpp.

706 {
707  wxASSERT( ReadRecord( aProps ) == ALTIUM_SCH_RECORD::IMPLEMENTATION );
708 
709  ownerindex = ALTIUM_PARSER::ReadInt( aProps, "OWNERINDEX", ALTIUM_COMPONENT_NONE );
710  name = ALTIUM_PARSER::ReadString( aProps, "MODELNAME", "" );
711  type = ALTIUM_PARSER::ReadString( aProps, "MODELTYPE", "" );
712  libname = ALTIUM_PARSER::ReadString( aProps, "MODELDATAFILE0", "" );
713  isCurrent = ALTIUM_PARSER::ReadBool( aProps, "ISCURRENT", false );
714 }
static int ReadInt(const std::map< wxString, wxString > &aProps, const wxString &aKey, int aDefault)
static bool ReadBool(const std::map< wxString, wxString > &aProps, const wxString &aKey, bool aDefault)
ALTIUM_SCH_RECORD ReadRecord(const std::map< wxString, wxString > &aProps)
const int ALTIUM_COMPONENT_NONE
static wxString ReadString(const std::map< wxString, wxString > &aProps, const wxString &aKey, const wxString &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: