34 os << static_cast<int>( aFmtVer );
47 if( aBoardName.empty() )
76 return s_AllegroBoardCache;
static std::string getBoardsDataDir()
General utilities for PCB file IO for QA programs.
Information pertinent to a Pcbnew printed circuit board.
Singleton class to load Allegro boards and cache them in memory, to avoid repeatedly loading and pars...
static ALLEGRO_CACHED_LOADER & GetInstance()
Get the singleton instance of the Allegro board cache loader.
BOARD * getCachedBoard(const std::string &aFilePath, bool aForceReload, REPORTER *aReporter) override
Implementation of CACHED_BOARD_LOADER interface with our Allegro PCB_IO plugin.
std::unique_ptr< PCB_IO_ALLEGRO > m_allegroPlugin
BOARD * getCachedBoard(PCB_IO &aIoPlugin, const std::string &aFilePath, bool aForceReload, REPORTER *aReporter)
A pure virtual class used to derive REPORTER objects from.
FMT_VER
The format of an Allego file.
std::ostream & boost_test_print_type(std::ostream &os, FMT_VER const &aFmtVer)
std::string GetPcbnewTestDataDir()
Utility which returns a path to the data directory where the test board files are stored.
std::string AllegroBoardDataDir(const std::string &aBoardName)
std::string AllegroBoardFile(const std::string &aFileName)