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

#include <altium_pcb_compound_file.h>

Inheritance diagram for ALTIUM_PCB_COMPOUND_FILE:
ALTIUM_COMPOUND_FILE

Public Member Functions

 ALTIUM_PCB_COMPOUND_FILE (const wxString &aFilePath)
 
 ALTIUM_PCB_COMPOUND_FILE (const void *aBuffer, size_t aLen)
 
 ~ALTIUM_PCB_COMPOUND_FILE ()
 
std::map< wxString, wxString > ListLibFootprints ()
 
std::tuple< wxString, const CFB::COMPOUND_FILE_ENTRY * > FindLibFootprintDirName (const wxString &aFpUnicodeName)
 
const std::pair< AMODEL, std::vector< char > > * GetLibModel (const wxString &aModelID) const
 
bool CacheLibModels ()
 
const CFB::CompoundFileReader & GetCompoundFileReader () const
 
std::unique_ptr< ALTIUM_COMPOUND_FILEDecodeIntLibStream (const CFB::COMPOUND_FILE_ENTRY &cfe)
 
const CFB::COMPOUND_FILE_ENTRY * FindStream (const std::vector< std::string > &aStreamPath) const
 
const CFB::COMPOUND_FILE_ENTRY * FindStream (const CFB::COMPOUND_FILE_ENTRY *aStart, const std::vector< std::string > &aStreamPath) const
 
const CFB::COMPOUND_FILE_ENTRY * FindStreamSingleLevel (const CFB::COMPOUND_FILE_ENTRY *aEntry, const std::string aName, const bool aIsStream) const
 
std::map< wxString, const CFB::COMPOUND_FILE_ENTRY * > EnumDir (const std::wstring &aDir) const
 
std::map< wxString, ALTIUM_SYMBOL_DATAGetLibSymbols (const CFB::COMPOUND_FILE_ENTRY *aStart) const
 

Private Member Functions

void cacheLibFootprintNames ()
 

Private Attributes

std::map< wxString, const CFB::COMPOUND_FILE_ENTRY * > m_libFootprintNameCache
 
std::map< wxString, wxString > m_libFootprintDirNameCache
 
std::map< wxString, std::pair< AMODEL, std::vector< char > > > m_libModelsCache
 
std::unique_ptr< CFB::CompoundFileReader > m_reader
 
std::vector< char > m_buffer
 

Detailed Description

Definition at line 32 of file altium_pcb_compound_file.h.

Constructor & Destructor Documentation

◆ ALTIUM_PCB_COMPOUND_FILE() [1/2]

ALTIUM_PCB_COMPOUND_FILE::ALTIUM_PCB_COMPOUND_FILE ( const wxString &  aFilePath)

Definition at line 9 of file altium_pcb_compound_file.cpp.

◆ ALTIUM_PCB_COMPOUND_FILE() [2/2]

ALTIUM_PCB_COMPOUND_FILE::ALTIUM_PCB_COMPOUND_FILE ( const void *  aBuffer,
size_t  aLen 
)

Definition at line 14 of file altium_pcb_compound_file.cpp.

◆ ~ALTIUM_PCB_COMPOUND_FILE()

ALTIUM_PCB_COMPOUND_FILE::~ALTIUM_PCB_COMPOUND_FILE ( )

Definition at line 20 of file altium_pcb_compound_file.cpp.

Member Function Documentation

◆ cacheLibFootprintNames()

void ALTIUM_PCB_COMPOUND_FILE::cacheLibFootprintNames ( )
private

◆ CacheLibModels()

bool ALTIUM_PCB_COMPOUND_FILE::CacheLibModels ( )

◆ DecodeIntLibStream()

std::unique_ptr< ALTIUM_COMPOUND_FILE > ALTIUM_COMPOUND_FILE::DecodeIntLibStream ( const CFB::COMPOUND_FILE_ENTRY &  cfe)
inherited

◆ EnumDir()

std::map< wxString, const CFB::COMPOUND_FILE_ENTRY * > ALTIUM_COMPOUND_FILE::EnumDir ( const std::wstring &  aDir) const
inherited

Definition at line 229 of file altium_binary_parser.cpp.

References ALTIUM_COMPOUND_FILE::m_reader.

◆ FindLibFootprintDirName()

std::tuple< wxString, const CFB::COMPOUND_FILE_ENTRY * > ALTIUM_PCB_COMPOUND_FILE::FindLibFootprintDirName ( const wxString &  aFpUnicodeName)

◆ FindStream() [1/2]

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

◆ FindStream() [2/2]

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

◆ FindStreamSingleLevel()

const CFB::COMPOUND_FILE_ENTRY * ALTIUM_COMPOUND_FILE::FindStreamSingleLevel ( const CFB::COMPOUND_FILE_ENTRY *  aEntry,
const std::string  aName,
const bool  aIsStream 
) const
inherited

◆ GetCompoundFileReader()

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

◆ GetLibModel()

const std::pair< AMODEL, std::vector< char > > * ALTIUM_PCB_COMPOUND_FILE::GetLibModel ( const wxString &  aModelID) const

◆ GetLibSymbols()

std::map< wxString, ALTIUM_SYMBOL_DATA > ALTIUM_COMPOUND_FILE::GetLibSymbols ( const CFB::COMPOUND_FILE_ENTRY *  aStart) const
inherited

Definition at line 185 of file altium_binary_parser.cpp.

References ALTIUM_COMPOUND_FILE::m_reader.

Referenced by SCH_IO_ALTIUM::ParseLibFile().

◆ ListLibFootprints()

std::map< wxString, wxString > ALTIUM_PCB_COMPOUND_FILE::ListLibFootprints ( )

Member Data Documentation

◆ m_buffer

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

Definition at line 112 of file altium_binary_parser.h.

Referenced by ALTIUM_COMPOUND_FILE::ALTIUM_COMPOUND_FILE().

◆ m_libFootprintDirNameCache

std::map<wxString, wxString> ALTIUM_PCB_COMPOUND_FILE::m_libFootprintDirNameCache
private

Definition at line 51 of file altium_pcb_compound_file.h.

Referenced by cacheLibFootprintNames(), and ListLibFootprints().

◆ m_libFootprintNameCache

std::map<wxString, const CFB::COMPOUND_FILE_ENTRY*> ALTIUM_PCB_COMPOUND_FILE::m_libFootprintNameCache
private

Definition at line 50 of file altium_pcb_compound_file.h.

Referenced by cacheLibFootprintNames(), and FindLibFootprintDirName().

◆ m_libModelsCache

std::map<wxString, std::pair<AMODEL, std::vector<char> > > ALTIUM_PCB_COMPOUND_FILE::m_libModelsCache
private

Definition at line 52 of file altium_pcb_compound_file.h.

Referenced by CacheLibModels(), and GetLibModel().

◆ m_reader


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