40#include <wx/filename.h>
41#include <wx/xml/xml.h>
66 const std::map<std::string, UTF8>* aProperties,
PROJECT* aProject )
83 pcb.
ParseBoard(
nullptr, &xmlDoc, wxT(
"PCB" ) );
Information pertinent to a Pcbnew printed circuit board.
void SetFileName(const wxString &aFileName)
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
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.
A base class that BOARD loading and saving plugins should derive from.
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.
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)