KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALTIUM_COMPOUND_FILE Class Reference

#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_FILEoperator= (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
 

Detailed Description

Definition at line 51 of file altium_parser.h.

Constructor & Destructor Documentation

◆ ALTIUM_COMPOUND_FILE() [1/2]

ALTIUM_COMPOUND_FILE::ALTIUM_COMPOUND_FILE ( const wxString &  aFilePath)

Open a CFB file.

Constructor might throw an IO_ERROR.

Parameters
aFilePathpath to file to open

Definition at line 48 of file altium_parser.cpp.

References _, m_buffer, m_reader, and THROW_IO_ERROR.

◆ ALTIUM_COMPOUND_FILE() [2/2]

ALTIUM_COMPOUND_FILE::ALTIUM_COMPOUND_FILE ( const ALTIUM_COMPOUND_FILE temp_obj)
delete

◆ ~ALTIUM_COMPOUND_FILE()

ALTIUM_COMPOUND_FILE::~ALTIUM_COMPOUND_FILE ( )
default

Member Function Documentation

◆ FindStream()

const CFB::COMPOUND_FILE_ENTRY * ALTIUM_COMPOUND_FILE::FindStream ( const std::vector< std::string > &  aStreamPath) const

◆ GetCompoundFileReader()

const CFB::CompoundFileReader & ALTIUM_COMPOUND_FILE::GetCompoundFileReader ( ) const
inline

Definition at line 64 of file altium_parser.h.

References m_reader.

Referenced by ALTIUM_PARSER::ALTIUM_PARSER(), and ALTIUM_PCB::ParseModelsData().

◆ operator=()

ALTIUM_COMPOUND_FILE & ALTIUM_COMPOUND_FILE::operator= ( const ALTIUM_COMPOUND_FILE temp_obj)
delete

Member Data Documentation

◆ m_buffer

std::vector<char> ALTIUM_COMPOUND_FILE::m_buffer
private

Definition at line 70 of file altium_parser.h.

Referenced by ALTIUM_COMPOUND_FILE().

◆ m_reader

std::unique_ptr<CFB::CompoundFileReader> ALTIUM_COMPOUND_FILE::m_reader
private

Definition at line 69 of file altium_parser.h.

Referenced by ALTIUM_COMPOUND_FILE(), FindStream(), and GetCompoundFileReader().


The documentation for this class was generated from the following files: