39#include <wx/filename.h> 
   40#include <wx/xml/xml.h> 
   65                               const std::map<std::string, UTF8>* aProperties, 
PROJECT* aProject )
 
   75        m_board->SetFileName( aFileName );
 
   80    pcb.
ParseBoard( 
nullptr, &xmlDoc, wxT( 
"PCB" ) );
 
 
Information pertinent to a Pcbnew printed circuit board.
 
void ParseBoard(wxStatusBar *aStatusBar, wxXmlDocument *aXmlDoc, const wxString &aActualConversion)
 
void AddToBoard(FOOTPRINT *aFootprint=nullptr) override
 
BOARD * LoadBoard(const wxString &aFileName, BOARD *aAppendToMe, const std::map< std::string, UTF8 > *aProperties=nullptr, PROJECT *aProject=nullptr) override
Load information from some input file format that this PCB_IO implementation knows about into either ...
 
bool CanReadBoard(const wxString &aFileName) const override
Checks if this PCB_IO can read the specified board file.
 
BOARD * m_board
The board BOARD being worked on, no ownership here.
 
virtual bool CanReadBoard(const wxString &aFileName) const
Checks if this PCB_IO can read the specified board file.
 
PCB_IO(const wxString &aName)
 
const std::map< std::string, UTF8 > * m_props
Properties passed via Save() or Load(), no ownership, may be NULL.
 
Container for project specific data.
 
bool fileStartsWithPrefix(const wxString &aFilePath, const wxString &aPrefix, bool aIgnoreWhitespace)
Check if a file starts with a defined string.
 
void LoadInputFile(const wxString &aFileName, wxXmlDocument *aXmlDoc)