|
KiCad PCB EDA Suite
|
Provide the BOARD_PARSER interface wrapping a normal PCB_IO file-based plugin lookup. More...
Public Member Functions | |
| FILE_PARSER (PCB_IO_MGR::PCB_FILE_T aFileType, const wxString &aFileName) | |
| std::unique_ptr< BOARD_ITEM > | Parse () override |
| Actually perform the parsing and return a BOARD_ITEM if successful, or nullptr if not. | |
Private Attributes | |
| PCB_IO_MGR::PCB_FILE_T | m_fileType |
| wxString | m_fileName |
Provide the BOARD_PARSER interface wrapping a normal PCB_IO file-based plugin lookup.
Definition at line 70 of file pcb_parser_tool.cpp.
|
inline |
Definition at line 73 of file pcb_parser_tool.cpp.
References m_fileName, and m_fileType.
|
inlineoverridevirtual |
Actually perform the parsing and return a BOARD_ITEM if successful, or nullptr if not.
| IO_ERROR | if there is a parse failure |
Implements BOARD_PARSER.
Definition at line 79 of file pcb_parser_tool.cpp.
References PCB_IO_MGR::Load(), m_fileName, and m_fileType.
|
private |
Definition at line 87 of file pcb_parser_tool.cpp.
Referenced by FILE_PARSER(), and Parse().
|
private |
Definition at line 86 of file pcb_parser_tool.cpp.
Referenced by FILE_PARSER(), and Parse().