KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALG_REFERENCE_DATA Struct Reference

Static Public Member Functions

static std::vector< wxString > SplitAlgLine (const wxString &aLine)
 
static int ParseRecordId (const wxString &aTag)
 Extract the integer record ID from a RECORD_TAG field like "36 1 0".
 
static ALG_REFERENCE_DATA ParseAlgFile (const std::string &aPath)
 

Public Attributes

std::set< wxString > netNames
 
std::set< wxString > refDes
 
std::map< wxString, wxString > refDesToSymName
 
std::map< wxString, std::set< wxString > > netToRefDes
 
std::vector< ALG_ZONE_POLYGONzonePolygons
 

Detailed Description

Definition at line 1094 of file test_allegro_import.cpp.

Member Function Documentation

◆ ParseAlgFile()

static ALG_REFERENCE_DATA ALG_REFERENCE_DATA::ParseAlgFile ( const std::string & aPath)
inlinestatic

◆ ParseRecordId()

static int ALG_REFERENCE_DATA::ParseRecordId ( const wxString & aTag)
inlinestatic

Extract the integer record ID from a RECORD_TAG field like "36 1 0".

Returns -1 on failure.

Definition at line 1131 of file test_allegro_import.cpp.

Referenced by ParseAlgFile().

◆ SplitAlgLine()

static std::vector< wxString > ALG_REFERENCE_DATA::SplitAlgLine ( const wxString & aLine)
inlinestatic

Definition at line 1103 of file test_allegro_import.cpp.

Referenced by ParseAlgFile(), and ALG_OUTLINE_DATA::ParseAlgOutlines().

Member Data Documentation

◆ netNames

std::set<wxString> ALG_REFERENCE_DATA::netNames

Definition at line 1096 of file test_allegro_import.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and ParseAlgFile().

◆ netToRefDes

std::map<wxString, std::set<wxString> > ALG_REFERENCE_DATA::netToRefDes

Definition at line 1099 of file test_allegro_import.cpp.

Referenced by ParseAlgFile().

◆ refDes

std::set<wxString> ALG_REFERENCE_DATA::refDes

Definition at line 1097 of file test_allegro_import.cpp.

Referenced by BOOST_AUTO_TEST_CASE(), and ParseAlgFile().

◆ refDesToSymName

std::map<wxString, wxString> ALG_REFERENCE_DATA::refDesToSymName

Definition at line 1098 of file test_allegro_import.cpp.

Referenced by ParseAlgFile().

◆ zonePolygons

std::vector<ALG_ZONE_POLYGON> ALG_REFERENCE_DATA::zonePolygons

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