117        wxASSERT( aLineReader != 
nullptr );
 
 
  150                                             const wxString& aNetlistFileName,
 
  151                                             const wxString& aCompFootprintFileName = wxEmptyString );
 
 
  227                           CMP_READER*   aFootprintLinkReader = 
nullptr ) :
 
 
 
  264                          CMP_READER*   aFootprintLinkReader = 
nullptr ) :
 
 
 
Read a component footprint link file (*.cmp) format.
 
LINE_READER * m_lineReader
The line reader to read.
 
bool Load(NETLIST *aNetlist)
Read the *.cmp file format contains the component footprint assignments created by CvPcb into aNetlis...
 
CMP_READER(LINE_READER *aLineReader)
 
Store all of the related component information found in a netlist.
 
virtual void LoadNetlist() override
Load the contents of the netlist file into aNetlist.
 
KICAD_NETLIST_READER(LINE_READER *aLineReader, NETLIST *aNetlist, CMP_READER *aFootprintLinkReader=nullptr)
 
virtual ~KICAD_NETLIST_READER()
 
LEGACY_NETLIST_READER(LINE_READER *aLineReader, NETLIST *aNetlist, CMP_READER *aFootprintLinkReader=nullptr)
 
COMPONENT * loadComponent(char *aText)
Read the aLine containing the description of a component from a legacy format netlist and add it to t...
 
void loadFootprintFilters()
Load the footprint filter section of netlist file.
 
void loadNet(char *aText, COMPONENT *aComponent)
Function loadNet read a component net description from aText.
 
virtual void LoadNetlist() override
Read the netlist file in the legacy format into aNetlist.
 
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
 
Base class to derive netlist readers from.
 
static NETLIST_READER * GetNetlistReader(NETLIST *aNetlist, const wxString &aNetlistFileName, const wxString &aCompFootprintFileName=wxEmptyString)
Attempt to determine the net list file type of aNetlistFileName and return the appropriate NETLIST_RE...
 
static NETLIST_FILE_T GuessNetlistFileType(LINE_READER *aLineReader)
Look at aFileHeaderLine to see if it matches any of the netlist file types it knows about.
 
bool m_loadFootprintFilters
Load the component footprint filters section if true.
 
virtual void LoadNetlist()=0
Load the contents of the netlist file into aNetlist.
 
CMP_READER * m_footprintReader
The reader used to load the footprint links. If NULL, footprint links are not read.
 
LINE_READER * m_lineReader
The line reader of the netlist.
 
NETLIST_READER(LINE_READER *aLineReader, NETLIST *aNetlist, CMP_READER *aFootprintLinkReader=nullptr)
 
virtual ~NETLIST_READER()
 
NETLIST * m_netlist
The net list to read the file(s) into.
 
bool m_loadNets
Load the nets section of the netlist file if true.
 
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
 
This file contains miscellaneous commonly used macros and functions.