KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ALLEGRO::FILE_HEADER Struct Reference

Allegro files start with this header. More...

#include <allegro_pcb_structs.h>

Classes

struct  LAYER_MAP_ENTRY
 
struct  LINKED_LIST
 This is apparently some kind of linked list that chains though subsets objects in the file. More...
 

Public Member Functions

uint32_t GetStringsCount () const
 
uint32_t Get_0x27_End () const
 
const LINKED_LISTGetUnknown5 () const
 

Public Attributes

uint32_t m_Magic
 
uint32_t m_Unknown1a
 
uint32_t m_FileRole
 
uint32_t m_Unknown1b
 
uint32_t m_WriterProgram
 
uint32_t m_ObjectCount
 
uint32_t m_UnknownMagic
 
uint32_t m_UnknownFlags
 
COND_LT< FMT_VER::V_180, std::array< uint32_t, 7 > > m_Unknown2_preV18
 
COND_GE< FMT_VER::V_180, uint32_t > m_Unknown2a_V18
 
COND_GE< FMT_VER::V_180, uint32_t > m_Unknown2b_V18
 
COND_GE< FMT_VER::V_180, uint32_t > m_0x27_End_V18
 
COND_GE< FMT_VER::V_180, uint32_t > m_Unknown2d_V18
 
COND_GE< FMT_VER::V_180, uint32_t > m_Unknown2e_V18
 
COND_GE< FMT_VER::V_180, uint32_t > m_StringCount_V18
 
COND_GE< FMT_VER::V_180, uint32_t > m_Unknown2g_V18
 
COND_GE< FMT_VER::V_180, LINKED_LISTm_LL_V18_1
 
COND_GE< FMT_VER::V_180, LINKED_LISTm_LL_V18_2
 
COND_GE< FMT_VER::V_180, LINKED_LISTm_LL_V18_3
 
COND_GE< FMT_VER::V_180, LINKED_LISTm_LL_V18_4
 
COND_GE< FMT_VER::V_180, LINKED_LISTm_LL_V18_5
 
LINKED_LIST m_LL_0x04
 
LINKED_LIST m_LL_0x06
 
LINKED_LIST m_LL_0x0C
 
LINKED_LIST m_LL_Shapes
 
LINKED_LIST m_LL_0x14
 
LINKED_LIST m_LL_0x1B_Nets
 
LINKED_LIST m_LL_0x1C
 
LINKED_LIST m_LL_0x24_0x28
 
LINKED_LIST m_LL_Unknown1
 
LINKED_LIST m_LL_0x2B
 
LINKED_LIST m_LL_0x03_0x30
 
LINKED_LIST m_LL_0x0A
 
LINKED_LIST m_LL_0x1D_0x1E_0x1F
 
LINKED_LIST m_LL_Unknown2
 
LINKED_LIST m_LL_0x38
 
LINKED_LIST m_LL_0x2C
 
LINKED_LIST m_LL_0x0C_2
 
LINKED_LIST m_LL_Unknown3
 
COND_LT< FMT_VER::V_180, uint32_t > m_0x35_Start_preV18
 
COND_LT< FMT_VER::V_180, uint32_t > m_0x35_End_preV18
 
COND_GE< FMT_VER::V_180, LINKED_LISTm_LL_Unknown5_V18
 
LINKED_LIST m_LL_0x36
 
COND_LT< FMT_VER::V_180, LINKED_LISTm_LL_Unknown5_preV18
 
LINKED_LIST m_LL_Unknown6
 
LINKED_LIST m_LL_0x0A_2
 
COND_LT< FMT_VER::V_180, uint32_t > m_Unknown3
 
COND_GE< FMT_VER::V_180, LINKED_LISTm_LL_V18_6
 
COND_GE< FMT_VER::V_180, uint32_t > m_0x35_Start_V18
 
COND_GE< FMT_VER::V_180, uint32_t > m_0x35_End_V18
 
std::array< char, 60 > m_AllegroVersion
 
uint32_t m_Unknown4
 
uint32_t m_MaxKey
 
COND_LT< FMT_VER::V_180, std::array< uint32_t, 17 > > m_Unknown5_preV18
 
COND_GE< FMT_VER::V_180, std::array< uint32_t, 9 > > m_Unknown5_V18
 
BOARD_UNITS m_BoardUnits
 
uint32_t m_Unknown6
 
COND_LT< FMT_VER::V_180, uint32_t > m_Unknown7
 
COND_LT< FMT_VER::V_180, uint32_t > m_0x27_End_preV18
 
uint32_t m_Unknown8
 
COND_LT< FMT_VER::V_180, uint32_t > m_StringCount_preV18
 
std::array< uint32_t, 50 > m_Unknown9
 
uint32_t m_Unknown10a
 
uint32_t m_Unknown10b
 
uint32_t m_Unknown10c
 
uint32_t m_UnitsDivisor
 
std::array< LAYER_MAP_ENTRY, 25 > m_LayerMap
 The layer maps is a list of groups of two numbers.
 

Detailed Description

Allegro files start with this header.

It is mostly full of a lot of linked lists, but also a few key parameters of the file such as units.

It does not seem to have things that vary between file versions.

Definition at line 221 of file allegro_pcb_structs.h.

Member Function Documentation

◆ Get_0x27_End()

uint32_t ALLEGRO::FILE_HEADER::Get_0x27_End ( ) const
inline

Definition at line 363 of file allegro_pcb_structs.h.

References m_0x27_End_preV18, and m_0x27_End_V18.

◆ GetStringsCount()

uint32_t ALLEGRO::FILE_HEADER::GetStringsCount ( ) const
inline

Definition at line 355 of file allegro_pcb_structs.h.

References m_StringCount_preV18, and m_StringCount_V18.

◆ GetUnknown5()

const LINKED_LIST & ALLEGRO::FILE_HEADER::GetUnknown5 ( ) const
inline

Definition at line 371 of file allegro_pcb_structs.h.

References m_LL_Unknown5_preV18, and m_LL_Unknown5_V18.

Referenced by collectSentinelKeys().

Member Data Documentation

◆ m_0x27_End_preV18

COND_LT<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_0x27_End_preV18

Definition at line 332 of file allegro_pcb_structs.h.

Referenced by Get_0x27_End().

◆ m_0x27_End_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_0x27_End_V18

Definition at line 262 of file allegro_pcb_structs.h.

Referenced by Get_0x27_End().

◆ m_0x35_End_preV18

COND_LT<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_0x35_End_preV18

Definition at line 298 of file allegro_pcb_structs.h.

◆ m_0x35_End_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_0x35_End_V18

Definition at line 312 of file allegro_pcb_structs.h.

◆ m_0x35_Start_preV18

COND_LT<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_0x35_Start_preV18

Definition at line 297 of file allegro_pcb_structs.h.

◆ m_0x35_Start_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_0x35_Start_V18

Definition at line 311 of file allegro_pcb_structs.h.

◆ m_AllegroVersion

std::array<char, 60> ALLEGRO::FILE_HEADER::m_AllegroVersion

Definition at line 315 of file allegro_pcb_structs.h.

◆ m_BoardUnits

BOARD_UNITS ALLEGRO::FILE_HEADER::m_BoardUnits

Definition at line 324 of file allegro_pcb_structs.h.

◆ m_FileRole

uint32_t ALLEGRO::FILE_HEADER::m_FileRole

Definition at line 243 of file allegro_pcb_structs.h.

◆ m_LayerMap

std::array<LAYER_MAP_ENTRY, 25> ALLEGRO::FILE_HEADER::m_LayerMap

The layer maps is a list of groups of two numbers.

All files so far seem to have 25 entries, but unsure if that is a universal value. But there's no obvious nearby value of '25'.

Definition at line 353 of file allegro_pcb_structs.h.

◆ m_LL_0x03_0x30

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x03_0x30

Definition at line 287 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x04

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x04

Definition at line 277 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x06

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x06

Definition at line 278 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x0A

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x0A

Definition at line 288 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x0A_2

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x0A_2

Definition at line 305 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x0C

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x0C

Definition at line 279 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x0C_2

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x0C_2

Definition at line 293 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x14

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x14

Definition at line 281 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x1B_Nets

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x1B_Nets

Definition at line 282 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x1C

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x1C

Definition at line 283 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x1D_0x1E_0x1F

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x1D_0x1E_0x1F

Definition at line 289 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x24_0x28

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x24_0x28

Definition at line 284 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x2B

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x2B

Definition at line 286 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x2C

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x2C

Definition at line 292 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x36

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x36

Definition at line 301 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_0x38

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_0x38

Definition at line 291 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_Shapes

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_Shapes

Definition at line 280 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_Unknown1

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_Unknown1

Definition at line 285 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_Unknown2

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_Unknown2

Definition at line 290 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_Unknown3

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_Unknown3

Definition at line 294 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_Unknown5_preV18

COND_LT<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_Unknown5_preV18

Definition at line 302 of file allegro_pcb_structs.h.

Referenced by GetUnknown5().

◆ m_LL_Unknown5_V18

COND_GE<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_Unknown5_V18

Definition at line 300 of file allegro_pcb_structs.h.

Referenced by GetUnknown5().

◆ m_LL_Unknown6

LINKED_LIST ALLEGRO::FILE_HEADER::m_LL_Unknown6

Definition at line 304 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_V18_1

COND_GE<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_V18_1

Definition at line 270 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_V18_2

COND_GE<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_V18_2

Definition at line 271 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_V18_3

COND_GE<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_V18_3

Definition at line 272 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_V18_4

COND_GE<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_V18_4

Definition at line 273 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_V18_5

COND_GE<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_V18_5

Definition at line 274 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_LL_V18_6

COND_GE<FMT_VER::V_180, LINKED_LIST> ALLEGRO::FILE_HEADER::m_LL_V18_6

Definition at line 309 of file allegro_pcb_structs.h.

Referenced by collectSentinelKeys().

◆ m_Magic

uint32_t ALLEGRO::FILE_HEADER::m_Magic

Definition at line 240 of file allegro_pcb_structs.h.

◆ m_MaxKey

uint32_t ALLEGRO::FILE_HEADER::m_MaxKey

Definition at line 319 of file allegro_pcb_structs.h.

◆ m_ObjectCount

uint32_t ALLEGRO::FILE_HEADER::m_ObjectCount

Definition at line 247 of file allegro_pcb_structs.h.

◆ m_StringCount_preV18

COND_LT<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_StringCount_preV18

Definition at line 336 of file allegro_pcb_structs.h.

Referenced by GetStringsCount().

◆ m_StringCount_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_StringCount_V18

Definition at line 265 of file allegro_pcb_structs.h.

Referenced by GetStringsCount().

◆ m_UnitsDivisor

uint32_t ALLEGRO::FILE_HEADER::m_UnitsDivisor

Definition at line 345 of file allegro_pcb_structs.h.

◆ m_Unknown10a

uint32_t ALLEGRO::FILE_HEADER::m_Unknown10a

Definition at line 340 of file allegro_pcb_structs.h.

◆ m_Unknown10b

uint32_t ALLEGRO::FILE_HEADER::m_Unknown10b

Definition at line 341 of file allegro_pcb_structs.h.

◆ m_Unknown10c

uint32_t ALLEGRO::FILE_HEADER::m_Unknown10c

Definition at line 342 of file allegro_pcb_structs.h.

◆ m_Unknown1a

uint32_t ALLEGRO::FILE_HEADER::m_Unknown1a

Definition at line 242 of file allegro_pcb_structs.h.

◆ m_Unknown1b

uint32_t ALLEGRO::FILE_HEADER::m_Unknown1b

Definition at line 244 of file allegro_pcb_structs.h.

◆ m_Unknown2_preV18

COND_LT<FMT_VER::V_180, std::array<uint32_t, 7> > ALLEGRO::FILE_HEADER::m_Unknown2_preV18

Definition at line 257 of file allegro_pcb_structs.h.

◆ m_Unknown2a_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_Unknown2a_V18

Definition at line 260 of file allegro_pcb_structs.h.

◆ m_Unknown2b_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_Unknown2b_V18

Definition at line 261 of file allegro_pcb_structs.h.

◆ m_Unknown2d_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_Unknown2d_V18

Definition at line 263 of file allegro_pcb_structs.h.

◆ m_Unknown2e_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_Unknown2e_V18

Definition at line 264 of file allegro_pcb_structs.h.

◆ m_Unknown2g_V18

COND_GE<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_Unknown2g_V18

Definition at line 266 of file allegro_pcb_structs.h.

◆ m_Unknown3

COND_LT<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_Unknown3

Definition at line 307 of file allegro_pcb_structs.h.

◆ m_Unknown4

uint32_t ALLEGRO::FILE_HEADER::m_Unknown4

Definition at line 317 of file allegro_pcb_structs.h.

◆ m_Unknown5_preV18

COND_LT<FMT_VER::V_180, std::array<uint32_t, 17> > ALLEGRO::FILE_HEADER::m_Unknown5_preV18

Definition at line 321 of file allegro_pcb_structs.h.

◆ m_Unknown5_V18

COND_GE<FMT_VER::V_180, std::array<uint32_t, 9> > ALLEGRO::FILE_HEADER::m_Unknown5_V18

Definition at line 322 of file allegro_pcb_structs.h.

◆ m_Unknown6

uint32_t ALLEGRO::FILE_HEADER::m_Unknown6

Definition at line 327 of file allegro_pcb_structs.h.

◆ m_Unknown7

COND_LT<FMT_VER::V_180, uint32_t> ALLEGRO::FILE_HEADER::m_Unknown7

Definition at line 328 of file allegro_pcb_structs.h.

◆ m_Unknown8

uint32_t ALLEGRO::FILE_HEADER::m_Unknown8

Definition at line 334 of file allegro_pcb_structs.h.

◆ m_Unknown9

std::array<uint32_t, 50> ALLEGRO::FILE_HEADER::m_Unknown9

Definition at line 338 of file allegro_pcb_structs.h.

◆ m_UnknownFlags

uint32_t ALLEGRO::FILE_HEADER::m_UnknownFlags

Definition at line 250 of file allegro_pcb_structs.h.

◆ m_UnknownMagic

uint32_t ALLEGRO::FILE_HEADER::m_UnknownMagic

Definition at line 249 of file allegro_pcb_structs.h.

◆ m_WriterProgram

uint32_t ALLEGRO::FILE_HEADER::m_WriterProgram

Definition at line 245 of file allegro_pcb_structs.h.


The documentation for this struct was generated from the following file: