|
KiCad PCB EDA Suite
|
#include "convert/allegro_parser.h"#include <array>#include <chrono>#include <cstring>#include <wx/sstream.h>#include <wx/log.h>#include <wx/translation.h>#include <core/profile.h>#include <core/type_helpers.h>#include <ki_exception.h>Go to the source code of this file.
Functions | |
| static FILE_HEADER::LINKED_LIST | ReadLL (FILE_STREAM &aStream, FMT_VER aVer) |
| static double | ReadAllegroFloat (FILE_STREAM &aStream) |
| template<typename ARRAY> | |
| static void | ReadArrayU32 (FILE_STREAM &aStream, ARRAY &aArray) |
| template<typename T> | |
| static T | ReadField (FILE_STREAM &aStream, FMT_VER aFmtVer) |
| template<typename COND_T> | |
| static void | ReadCond (FILE_STREAM &aStream, FMT_VER aFmtVer, COND_T &aField) |
| Read a single conditional field from the stream, if it exists at the current version. | |
| static void | ReadStringMap (FILE_STREAM &stream, DB &aDb, uint32_t count) |
| static LAYER_INFO | ParseLayerInfo (FILE_STREAM &aStream) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x01_ARC (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x03 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x04_NET_ASSIGNMENT (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x05_TRACK (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x06 (FILE_STREAM &stream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x07 (FILE_STREAM &stream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x08 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x09 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x0A_DRC (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x0C (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x0D_PAD (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x0E (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x0F (FILE_STREAM &stream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x10 (FILE_STREAM &stream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x11 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x12 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x14 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x15_16_17_SEGMENT (FILE_STREAM &aStream, FMT_VER aVer, uint8_t aType) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x1B_NET (FILE_STREAM &stream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x1C_PADSTACK (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x1D (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x1E (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x1F (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x20 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x21 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x22 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x23_RATLINE (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x24_RECT (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x26 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x27 (FILE_STREAM &aStream, FMT_VER aVer, size_t aEndOff) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x28_SHAPE (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x29_PIN (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x2A (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x2B (FILE_STREAM &stream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x2C_TABLE (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x2D (FILE_STREAM &stream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x2E (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x2F (FILE_STREAM &aStream, FMT_VER aVer) |
| static BLK_0x30_STR_WRAPPER::TEXT_PROPERTIES | ParseTextProps (FILE_STREAM &aStream) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x30_STR_WRAPPER (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x31_SGRAPHIC (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x32_PLACED_PAD (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x33_VIA (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x34_KEEPOUT (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x35 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x36 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x37 (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x38_FILM (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x39_FILM_LAYER_LIST (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x3A_FILM_LIST_NODE (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x3B (FILE_STREAM &aStream, FMT_VER aVer) |
| static std::unique_ptr< BLOCK_BASE > | ParseBlock_0x3C (FILE_STREAM &aStream, FMT_VER aVer) |
| template<typename T> | |
| void | dumpLL (const char *name, const T &ll) |
Variables | |
| static const wxChar *const | traceAllegroParser = wxT( "KICAD_ALLEGRO_PARSER" ) |
| Flag to enable debug output of Allegro parsing. | |
| static const wxChar *const | traceAllegroParserBlocks = wxT( "KICAD_ALLEGRO_PARSER_BLOCKS" ) |
| static const wxChar *const | traceAllegroPerf = wxT( "KICAD_ALLEGRO_PERF" ) |
Definition at line 2591 of file allegro_parser.cpp.
References dump(), name, T, and traceAllegroParser.
Referenced by ALLEGRO::PARSER::Parse().
|
static |
Definition at line 348 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadAllegroFloat(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 385 of file allegro_parser.cpp.
References ALLEGRO::BLK_0x03_FIELD::SUB_0x6C::m_Entries, ALLEGRO::BLK_0x03_FIELD::SUB_0x70_0x74::m_Entries, ALLEGRO::BLK_0x03_FIELD::SUB_0xF6::m_Entries, ALLEGRO::BLK_0x03_FIELD::SUB_0x6C::m_NumEntries, ALLEGRO::BLK_0x03_FIELD::SUB_0x70_0x74::m_X0, ALLEGRO::BLK_0x03_FIELD::SUB_0x70_0x74::m_X1, ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadStringFixed(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), ALLEGRO::FILE_STREAM::Skip(), THROW_IO_ERROR, and traceAllegroParserBlocks.
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 515 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 534 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 566 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 589 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 618 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 645 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 674 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 702 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 750 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 779 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 814 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadBytes(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 837 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 860 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 880 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 901 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 924 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 950 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 979 of file allegro_parser.cpp.
References comp, ALLEGRO::NPTH, ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), ALLEGRO::SLOT, ALLEGRO::SMD_PIN, ALLEGRO::THROUGH_VIA, THROW_IO_ERROR, ALLEGRO::V_172, and ALLEGRO::VIA.
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1111 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadBytes(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1143 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadStringFixed(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1168 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadBytes(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::Skip(), ALLEGRO::V_162, ALLEGRO::V_172, and ALLEGRO::V_175.
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1203 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1221 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadBytes(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), and THROW_IO_ERROR.
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1248 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1266 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1297 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1327 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1349 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1384 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1422 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1456 of file allegro_parser.cpp.
References ALLEGRO::BLK_0x2A_LAYER_LIST::NONREF_ENTRY::m_Name, ALLEGRO::BLK_0x2A_LAYER_LIST::REF_ENTRY::m_Properties, ALLEGRO::BLK_0x2A_LAYER_LIST::REF_ENTRY::m_Unknown, ALLEGRO::BLK_0x2A_LAYER_LIST::REF_ENTRY::mLayerNameId, ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadStringFixed(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1499 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1528 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1557 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1600 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1623 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1672 of file allegro_parser.cpp.
References ParseLayerInfo(), ParseTextProps(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1716 of file allegro_parser.cpp.
References ALLEGRO::BLK_0x31_SGRAPHIC::BOT_PIN, ALLEGRO::BLK_0x31_SGRAPHIC::BOT_REFDES, ALLEGRO::BLK_0x31_SGRAPHIC::BOT_TEXT, ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadStringFixed(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), ALLEGRO::BLK_0x31_SGRAPHIC::TOP_PIN, ALLEGRO::BLK_0x31_SGRAPHIC::TOP_PIN_LABEL, ALLEGRO::BLK_0x31_SGRAPHIC::TOP_REFDES, ALLEGRO::BLK_0x31_SGRAPHIC::TOP_TEXT, and ALLEGRO::BLK_0x31_SGRAPHIC::UNKNOWN.
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1757 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1795 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadS32(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1835 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1858 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadBytes(), ALLEGRO::FILE_STREAM::ReadU16(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 1872 of file allegro_parser.cpp.
References ALLEGRO::BLK_0x36_DEF_TABLE::FontDef_X08::m_A, ALLEGRO::BLK_0x36_DEF_TABLE::FontDef_X08::m_B, ALLEGRO::BLK_0x36_DEF_TABLE::FontDef_X08::m_CharHeight, ALLEGRO::BLK_0x36_DEF_TABLE::FontDef_X08::m_CharWidth, ALLEGRO::BLK_0x36_DEF_TABLE::X0F::m_Key, ALLEGRO::BLK_0x36_DEF_TABLE::X06::m_N, ALLEGRO::BLK_0x36_DEF_TABLE::X0F::m_Ptr2, ALLEGRO::BLK_0x36_DEF_TABLE::X0F::m_Ptrs, ALLEGRO::BLK_0x36_DEF_TABLE::X06::m_R, ALLEGRO::BLK_0x36_DEF_TABLE::X06::m_S, ALLEGRO::BLK_0x36_DEF_TABLE::X03::m_Str, ALLEGRO::BLK_0x36_DEF_TABLE::X03::m_Str16x, ALLEGRO::BLK_0x36_DEF_TABLE::X02::m_String, ALLEGRO::BLK_0x36_DEF_TABLE::X05::m_Unknown, ALLEGRO::BLK_0x36_DEF_TABLE::X0B::m_Unknown, ALLEGRO::BLK_0x36_DEF_TABLE::X0C::m_Unknown, ALLEGRO::BLK_0x36_DEF_TABLE::X0D::m_Unknown, ALLEGRO::BLK_0x36_DEF_TABLE::X10::m_Unknown, ALLEGRO::BLK_0x36_DEF_TABLE::X03::m_Unknown1, ALLEGRO::BLK_0x36_DEF_TABLE::X06::m_Unknown1, ALLEGRO::BLK_0x36_DEF_TABLE::FontDef_X08::m_Unknown2, ALLEGRO::BLK_0x36_DEF_TABLE::X06::m_Unknown2, ALLEGRO::BLK_0x36_DEF_TABLE::X10::m_Unknown2, ALLEGRO::BLK_0x36_DEF_TABLE::FontDef_X08::m_Xs, ALLEGRO::BLK_0x36_DEF_TABLE::X02::m_Xs, ALLEGRO::BLK_0x36_DEF_TABLE::FontDef_X08::m_Ys, ALLEGRO::BLK_0x36_DEF_TABLE::X02::m_Ys, ALLEGRO::BLK_0x36_DEF_TABLE::X02::m_Zs, ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ALLEGRO::FILE_STREAM::ReadBytes(), ReadCond(), ALLEGRO::FILE_STREAM::ReadStringFixed(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), ALLEGRO::FILE_STREAM::Skip(), THROW_IO_ERROR, and ALLEGRO::V_172.
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 2015 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadArrayU32(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 2038 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadStringFixed(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 2069 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 2090 of file allegro_parser.cpp.
References ParseLayerInfo(), ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::Skip().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 2109 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadStringFixed(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 2133 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::Position(), ReadCond(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), and THROW_IO_ERROR.
Referenced by ALLEGRO::BLOCK_PARSER::ParseBlock().
|
static |
Definition at line 334 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::ReadU8().
Referenced by ParseBlock_0x05_TRACK(), ParseBlock_0x0A_DRC(), ParseBlock_0x0C(), ParseBlock_0x0E(), ParseBlock_0x14(), ParseBlock_0x23_RATLINE(), ParseBlock_0x24_RECT(), ParseBlock_0x28_SHAPE(), ParseBlock_0x30_STR_WRAPPER(), ParseBlock_0x32_PLACED_PAD(), ParseBlock_0x33_VIA(), ParseBlock_0x34_KEEPOUT(), and ParseBlock_0x3A_FILM_LIST_NODE().
|
static |
Definition at line 1639 of file allegro_parser.cpp.
References ALLEGRO::BLK_0x30_STR_WRAPPER::CENTER, ALLEGRO::BLK_0x30_STR_WRAPPER::LEFT, ALLEGRO::BLK_0x30_STR_WRAPPER::TEXT_PROPERTIES::m_Alignment, ALLEGRO::BLK_0x30_STR_WRAPPER::TEXT_PROPERTIES::m_Flags, ALLEGRO::BLK_0x30_STR_WRAPPER::TEXT_PROPERTIES::m_Key, ALLEGRO::BLK_0x30_STR_WRAPPER::TEXT_PROPERTIES::m_Reversal, ALLEGRO::FILE_STREAM::ReadU8(), ALLEGRO::BLK_0x30_STR_WRAPPER::REVERSED, ALLEGRO::BLK_0x30_STR_WRAPPER::RIGHT, ALLEGRO::BLK_0x30_STR_WRAPPER::STRAIGHT, and ALLEGRO::BLK_0x30_STR_WRAPPER::UNKNOWN.
Referenced by ParseBlock_0x30_STR_WRAPPER().
|
static |
Definition at line 76 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::ReadU32(), and result.
Referenced by ParseBlock_0x01_ARC().
|
static |
Definition at line 92 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::ReadU32().
Referenced by ParseBlock_0x0A_DRC(), ParseBlock_0x1C_PADSTACK(), ParseBlock_0x20(), ParseBlock_0x22(), ParseBlock_0x23_RATLINE(), ParseBlock_0x2B(), ParseBlock_0x2F(), ParseBlock_0x36(), ParseBlock_0x37(), and ALLEGRO::HEADER_PARSER::ParseHeader().
|
static |
Read a single conditional field from the stream, if it exists at the current version.
Definition at line 144 of file allegro_parser.cpp.
References ReadField().
Referenced by ParseBlock_0x01_ARC(), ParseBlock_0x03(), ParseBlock_0x04_NET_ASSIGNMENT(), ParseBlock_0x05_TRACK(), ParseBlock_0x06(), ParseBlock_0x07(), ParseBlock_0x08(), ParseBlock_0x09(), ParseBlock_0x0A_DRC(), ParseBlock_0x0C(), ParseBlock_0x0D_PAD(), ParseBlock_0x0E(), ParseBlock_0x0F(), ParseBlock_0x10(), ParseBlock_0x11(), ParseBlock_0x12(), ParseBlock_0x14(), ParseBlock_0x15_16_17_SEGMENT(), ParseBlock_0x1B_NET(), ParseBlock_0x1C_PADSTACK(), ParseBlock_0x1D(), ParseBlock_0x1E(), ParseBlock_0x20(), ParseBlock_0x22(), ParseBlock_0x23_RATLINE(), ParseBlock_0x24_RECT(), ParseBlock_0x26(), ParseBlock_0x28_SHAPE(), ParseBlock_0x2A(), ParseBlock_0x2B(), ParseBlock_0x2C_TABLE(), ParseBlock_0x2D(), ParseBlock_0x2E(), ParseBlock_0x30_STR_WRAPPER(), ParseBlock_0x31_SGRAPHIC(), ParseBlock_0x32_PLACED_PAD(), ParseBlock_0x33_VIA(), ParseBlock_0x34_KEEPOUT(), ParseBlock_0x36(), ParseBlock_0x37(), ParseBlock_0x38_FILM(), ParseBlock_0x3A_FILM_LIST_NODE(), ParseBlock_0x3B(), ParseBlock_0x3C(), and ALLEGRO::HEADER_PARSER::ParseHeader().
|
static |
Definition at line 102 of file allegro_parser.cpp.
References ReadLL(), ALLEGRO::FILE_STREAM::ReadS16(), ALLEGRO::FILE_STREAM::ReadU16(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::ReadU8(), and T.
Referenced by ReadCond().
|
static |
Definition at line 54 of file allegro_parser.cpp.
References ALLEGRO::FILE_STREAM::ReadU32(), and ALLEGRO::V_180.
Referenced by ALLEGRO::HEADER_PARSER::ParseHeader(), and ReadField().
|
static |
Definition at line 320 of file allegro_parser.cpp.
References ALLEGRO::DB::AddString(), ALLEGRO::FILE_STREAM::ReadString(), ALLEGRO::FILE_STREAM::ReadU32(), ALLEGRO::FILE_STREAM::Seek(), and ALLEGRO::RAW_BOARD::STRING_TABLE_OFFSET.
Referenced by ALLEGRO::PARSER::Parse().
|
static |
Definition at line 50 of file allegro_parser.cpp.
Referenced by ParseBlock_0x03(), and ALLEGRO::PARSER::readObjects().
|
static |
Definition at line 51 of file allegro_parser.cpp.