KiCad PCB EDA Suite
ASCH_BUS_ENTRY Struct Reference

#include <altium_parser_sch.h>

Public Member Functions

 ASCH_BUS_ENTRY (const std::map< wxString, wxString > &aProperties)
 

Public Attributes

wxPoint location
 
wxPoint corner
 

Detailed Description

Definition at line 677 of file altium_parser_sch.h.

Constructor & Destructor Documentation

◆ ASCH_BUS_ENTRY()

ASCH_BUS_ENTRY::ASCH_BUS_ENTRY ( const std::map< wxString, wxString > &  aProperties)
explicit

Definition at line 716 of file altium_parser_sch.cpp.

717 {
718  wxASSERT( PropertiesReadRecord( aProperties ) == ALTIUM_SCH_RECORD::BUS_ENTRY );
719 
720  location = wxPoint( PropertiesReadKiCadUnitFrac( aProperties, "LOCATION.X" ),
721  -PropertiesReadKiCadUnitFrac( aProperties, "LOCATION.Y" ) );
722  corner = wxPoint( PropertiesReadKiCadUnitFrac( aProperties, "CORNER.X" ),
723  -PropertiesReadKiCadUnitFrac( aProperties, "CORNER.Y" ) );
724 }
wxPoint corner
int PropertiesReadKiCadUnitFrac(const std::map< wxString, wxString > &aProperties, const wxString &aKey)
ALTIUM_SCH_RECORD PropertiesReadRecord(const std::map< wxString, wxString > &aProperties)
wxPoint location

References BUS_ENTRY, corner, location, PropertiesReadKiCadUnitFrac(), and PropertiesReadRecord().

Member Data Documentation

◆ corner

wxPoint ASCH_BUS_ENTRY::corner

Definition at line 680 of file altium_parser_sch.h.

Referenced by ASCH_BUS_ENTRY(), and SCH_ALTIUM_PLUGIN::ParseBusEntry().

◆ location

wxPoint ASCH_BUS_ENTRY::location

Definition at line 679 of file altium_parser_sch.h.

Referenced by ASCH_BUS_ENTRY(), and SCH_ALTIUM_PLUGIN::ParseBusEntry().


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