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 > &aProps)
 

Public Attributes

wxPoint location
 
wxPoint corner
 

Detailed Description

Definition at line 738 of file altium_parser_sch.h.

Constructor & Destructor Documentation

◆ ASCH_BUS_ENTRY()

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

Definition at line 724 of file altium_parser_sch.cpp.

725 {
726  wxASSERT( ReadRecord( aProps ) == ALTIUM_SCH_RECORD::BUS_ENTRY );
727 
728  location = wxPoint( ReadKiCadUnitFrac( aProps, "LOCATION.X" ),
729  -ReadKiCadUnitFrac( aProps, "LOCATION.Y" ) );
730  corner = wxPoint( ReadKiCadUnitFrac( aProps, "CORNER.X" ),
731  -ReadKiCadUnitFrac( aProps, "CORNER.Y" ) );
732 }
wxPoint corner
int ReadKiCadUnitFrac(const std::map< wxString, wxString > &aProps, const wxString &aKey)
ALTIUM_SCH_RECORD ReadRecord(const std::map< wxString, wxString > &aProps)
wxPoint location

References BUS_ENTRY, corner, location, ReadKiCadUnitFrac(), and ReadRecord().

Member Data Documentation

◆ corner

wxPoint ASCH_BUS_ENTRY::corner

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