|
KiCad PCB EDA Suite
|
Raw board structure that we will build as we parse the file. More...
#include <allegro_pcb_structs.h>
Public Member Functions | |
| RAW_BOARD () | |
| const BLOCK_BASE * | GetObjectByKey (uint32_t aKey) const |
| const std::string & | GetString (uint32_t aId) const |
Public Attributes | |
| std::unique_ptr< FILE_HEADER > | m_Header |
| FMT_VER | m_FmtVer |
| What version is this file? | |
| std::unordered_map< uint32_t, std::string > | m_StringTable |
| The string map is a map of U32 ID to strings. | |
| std::vector< std::unique_ptr< BLOCK_BASE > > | m_Objects |
| std::unordered_map< uint32_t, BLOCK_BASE * > | m_ObjectKeyMap |
| std::unordered_map< uint8_t, std::vector< BLOCK_BASE * > > | m_ObjectLists |
Static Public Attributes | |
| static const size_t | STRING_TABLE_OFFSET = 0x1200 |
Raw board structure that we will build as we parse the file.
Definition at line 2104 of file allegro_pcb_structs.h.
| ALLEGRO::RAW_BOARD::RAW_BOARD | ( | ) |
Definition at line 2743 of file allegro_parser.cpp.
References m_FmtVer, and ALLEGRO::V_UNKNOWN.
|
inline |
Definition at line 2133 of file allegro_pcb_structs.h.
References m_ObjectKeyMap.
|
inline |
Definition at line 2141 of file allegro_pcb_structs.h.
References empty(), and m_StringTable.
| FMT_VER ALLEGRO::RAW_BOARD::m_FmtVer |
What version is this file?
We will need this to correctly interpret some structures.
Definition at line 2114 of file allegro_pcb_structs.h.
Referenced by RAW_BOARD().
| std::unique_ptr<FILE_HEADER> ALLEGRO::RAW_BOARD::m_Header |
Definition at line 2109 of file allegro_pcb_structs.h.
| std::unordered_map<uint32_t, BLOCK_BASE*> ALLEGRO::RAW_BOARD::m_ObjectKeyMap |
Definition at line 2126 of file allegro_pcb_structs.h.
Referenced by GetObjectByKey().
| std::unordered_map<uint8_t, std::vector<BLOCK_BASE*> > ALLEGRO::RAW_BOARD::m_ObjectLists |
Definition at line 2129 of file allegro_pcb_structs.h.
| std::vector<std::unique_ptr<BLOCK_BASE> > ALLEGRO::RAW_BOARD::m_Objects |
Definition at line 2123 of file allegro_pcb_structs.h.
| std::unordered_map<uint32_t, std::string> ALLEGRO::RAW_BOARD::m_StringTable |
The string map is a map of U32 ID to strings.
It seems to always be located at byte 0x1200 in the file.
Definition at line 2120 of file allegro_pcb_structs.h.
Referenced by GetString().
|
static |
Definition at line 2131 of file allegro_pcb_structs.h.
Referenced by ReadStringMap().