KiCad PCB EDA Suite
|
#include <pcbnew_utils/board_file_utils.h>
#include <pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h>
#include <pcb_io/kicad_sexpr/pcb_io_kicad_sexpr_parser.h>
#include <richio.h>
#include <board.h>
#include <footprint.h>
#include <qa_utils/stdstream_line_reader.h>
Go to the source code of this file.
Namespaces | |
namespace | KI_TEST |
Macros | |
#define | QA_PCBNEW_DATA_LOCATION "???" |
Functions | |
std::string | KI_TEST::GetPcbnewTestDataDir () |
Utility which returns a path to the data directory where the test board files are stored. | |
void | KI_TEST::DumpBoardToFile (BOARD &aBoard, const std::string &aFilename) |
Utility function to simply write a Board out to a file. | |
std::unique_ptr< BOARD_ITEM > | KI_TEST::ReadBoardItemFromStream (std::istream &aStream) |
Utility function to read a BOARD_ITEM (probably a FOOTPRINT or a BOARD) from a file. | |
std::unique_ptr< BOARD > | KI_TEST::ReadBoardFromFileOrStream (const std::string &aFilename, std::istream &aFallback=std::cin) |
Read a board from a file, or another stream, as appropriate. | |
std::unique_ptr< FOOTPRINT > | KI_TEST::ReadFootprintFromFileOrStream (const std::string &aFilename, std::istream &aFallback) |
#define QA_PCBNEW_DATA_LOCATION "???" |
Definition at line 40 of file board_file_utils.cpp.