KiCad PCB EDA Suite
ASCH_JUNCTION Struct Reference

#include <altium_parser_sch.h>

Public Member Functions

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

Public Attributes

int ownerpartid
 
wxPoint location
 

Detailed Description

Definition at line 583 of file altium_parser_sch.h.

Constructor & Destructor Documentation

◆ ASCH_JUNCTION()

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

Definition at line 557 of file altium_parser_sch.cpp.

558 {
559  wxASSERT( ReadRecord( aProps ) == ALTIUM_SCH_RECORD::JUNCTION );
560 
561  ownerpartid = ReadOwnerPartId( aProps );
562 
563  location = wxPoint( ReadKiCadUnitFrac( aProps, "LOCATION.X" ),
564  -ReadKiCadUnitFrac( aProps, "LOCATION.Y" ) );
565 }
int ReadKiCadUnitFrac(const std::map< wxString, wxString > &aProps, const wxString &aKey)
int ReadOwnerPartId(const std::map< wxString, wxString > &aProperties)
ALTIUM_SCH_RECORD ReadRecord(const std::map< wxString, wxString > &aProps)

References JUNCTION, location, ownerpartid, ReadKiCadUnitFrac(), ReadOwnerPartId(), and ReadRecord().

Member Data Documentation

◆ location

wxPoint ASCH_JUNCTION::location

Definition at line 587 of file altium_parser_sch.h.

Referenced by ASCH_JUNCTION(), and SCH_ALTIUM_PLUGIN::ParseJunction().

◆ ownerpartid

int ASCH_JUNCTION::ownerpartid

Definition at line 585 of file altium_parser_sch.h.

Referenced by ASCH_JUNCTION().


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