KiCad PCB EDA Suite
board_file_utils.cpp File Reference

Go to the source code of this file.

Namespaces

 KI_TEST
 

Functions

void KI_TEST::DumpBoardToFile (BOARD &aBoard, const std::string &aFilename)
 Utility function to simply write a Board out to a file. More...
 
std::unique_ptr< BOARD_ITEMKI_TEST::ReadBoardItemFromFile (const std::string &aFilename)
 
std::unique_ptr< BOARD_ITEMKI_TEST::ReadBoardItemFromStream (std::istream &aStream)
 Utility function to read a BOARD_ITEM (probably a MODULE or a BOARD) from a file. More...
 
std::unique_ptr< BOARDKI_TEST::ReadBoardFromFileOrStream (const std::string &aFilename, std::istream &aFallback=std::cin)
 Read a board from a file, or another stream, as appropriate. More...