KiCad PCB EDA Suite
|
#include <altium_parser.h>
Public Member Functions | |
ALTIUM_COMPOUND_FILE (const wxString &aFilePath) | |
Open a CFB file. More... | |
ALTIUM_COMPOUND_FILE (const ALTIUM_COMPOUND_FILE &temp_obj)=delete | |
ALTIUM_COMPOUND_FILE & | operator= (const ALTIUM_COMPOUND_FILE &temp_obj)=delete |
~ALTIUM_COMPOUND_FILE ()=default | |
const CFB::CompoundFileReader & | GetCompoundFileReader () const |
const CFB::COMPOUND_FILE_ENTRY * | FindStream (const std::vector< std::string > &aStreamPath) const |
Private Attributes | |
std::unique_ptr< CFB::CompoundFileReader > | m_reader |
std::vector< char > | m_buffer |
Definition at line 51 of file altium_parser.h.
ALTIUM_COMPOUND_FILE::ALTIUM_COMPOUND_FILE | ( | const wxString & | aFilePath | ) |
Open a CFB file.
Constructor might throw an IO_ERROR.
aFilePath | path to file to open |
Definition at line 48 of file altium_parser.cpp.
References _, m_buffer, m_reader, and THROW_IO_ERROR.
|
delete |
|
default |
const CFB::COMPOUND_FILE_ENTRY * ALTIUM_COMPOUND_FILE::FindStream | ( | const std::vector< std::string > & | aStreamPath | ) | const |
Definition at line 116 of file altium_parser.cpp.
References FindStreamSingleLevel(), m_reader, and name.
Referenced by ALTIUM_DESIGNER_PLUGIN::FootprintEnumerate(), ALTIUM_PCB::Parse(), SCH_ALTIUM_PLUGIN::ParseAdditional(), SCH_ALTIUM_PLUGIN::ParseFileHeader(), ALTIUM_PCB::ParseFootprint(), ALTIUM_PCB::ParseModelsData(), and SCH_ALTIUM_PLUGIN::ParseStorage().
|
inline |
Definition at line 64 of file altium_parser.h.
References m_reader.
Referenced by ALTIUM_PARSER::ALTIUM_PARSER(), and ALTIUM_PCB::ParseModelsData().
|
delete |
|
private |
Definition at line 70 of file altium_parser.h.
Referenced by ALTIUM_COMPOUND_FILE().
|
private |
Definition at line 69 of file altium_parser.h.
Referenced by ALTIUM_COMPOUND_FILE(), FindStream(), and GetCompoundFileReader().