25#ifndef PCB_IO_ALTIUM_DESIGNER_H_
26#define PCB_IO_ALTIUM_DESIGNER_H_
49 {
"PcbLib",
"IntLib" } );
52 bool CanReadBoard(
const wxString& aFileName )
const override;
56 const std::map<std::string, UTF8>* aProperties,
PROJECT* aProject =
nullptr )
override;
61 bool aBestEfforts,
const std::map<std::string, UTF8>* aProperties =
nullptr )
override;
64 bool aKeepUUID =
false,
65 const std::map<std::string, UTF8>* aProperties =
nullptr )
override;
85 const std::vector<INPUT_LAYER_DESC>& aInputLayerDescriptionVector );
88 std::map<wxString, std::vector<std::unique_ptr<ALTIUM_PCB_COMPOUND_FILE>>>
m_fplibFiles;
Information pertinent to a Pcbnew printed circuit board.
Plugin class for import plugins that support remappable layers.
long long GetLibraryTimestamp(const wxString &aLibraryPath) const override
Generate a timestamp representing all the files in the library (including the library directory).
FOOTPRINT * FootprintLoad(const wxString &aLibraryPath, const wxString &aFootprintName, bool aKeepUUID=false, const std::map< std::string, UTF8 > *aProperties=nullptr) override
Load a footprint having aFootprintName from the aLibraryPath containing a library format that this PC...
void FootprintEnumerate(wxArrayString &aFootprintNames, const wxString &aLibraryPath, bool aBestEfforts, const std::map< std::string, UTF8 > *aProperties=nullptr) override
Return a list of footprint names contained within the library at aLibraryPath.
std::map< wxString, std::vector< std::unique_ptr< ALTIUM_PCB_COMPOUND_FILE > > > m_fplibFiles
~PCB_IO_ALTIUM_DESIGNER()
static bool checkFileHeader(const wxString &aFileName)
const IO_BASE::IO_FILE_DESC GetBoardFileDesc() const override
Returns board file description for the PCB_IO.
PCB_IO_ALTIUM_DESIGNER()
Pcbnew PLUGIN for Altium *.PcbDoc format.
bool CanReadBoard(const wxString &aFileName) const override
Checks if this PCB_IO can read the specified board file.
void loadAltiumLibrary(const wxString &aLibraryPath)
static std::map< wxString, PCB_LAYER_ID > DefaultLayerMappingCallback(const std::vector< INPUT_LAYER_DESC > &aInputLayerDescriptionVector)
Return the automapped layers.
bool IsLibraryWritable(const wxString &aLibraryPath) override
Return true if the library at aLibraryPath is writable.
BOARD * LoadBoard(const wxString &aFileName, BOARD *aAppendToMe, const std::map< std::string, UTF8 > *aProperties, PROJECT *aProject=nullptr) override
Load information from some input file format that this PCB_IO implementation knows about into either ...
const IO_BASE::IO_FILE_DESC GetLibraryDesc() const override
Get the descriptor for the library container that this IO plugin operates on.
bool CanReadLibrary(const wxString &aFileName) const override
Checks if this IO object can read the specified library file/directory.
A base class that BOARD loading and saving plugins should derive from.
Container for project specific data.
Container that describes file type info.