KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PADS_IO::SDB_SECTION Struct Reference

The PADS PowerPCB .pcb file is a serialized snapshot of PADS' in-memory SDB (System DataBase) object store. More...

#include <pads_sdb.h>

Public Member Functions

bool IsEmpty () const
 

Public Attributes

int index = 0
 
uint32_t count = 0
 
uint32_t totalBytes = 0
 
uint32_t stride = 0
 
uint32_t physicalOffset = 0
 
uint32_t physicalBytes = 0
 
uint32_t physicalCount = 0
 
uint32_t physicalLiveCount = 0
 

Detailed Description

The PADS PowerPCB .pcb file is a serialized snapshot of PADS' in-memory SDB (System DataBase) object store.

This module models that database so callers can speak in database terms (sections, records, design coordinates) instead of raw file offsets.

File anatomy: [Header] 6 B magic 00 FF, version u16 @ +2, subversion u16 @ +4. [Directory] N x 16 B memory image @ +6. The shifted field view begins at +10; see directoryEntryCount(). [Sections] flat and paged controller payloads in loader order. [Footer] 42 B GUID + container-item-array back-pointer.

Supported versions: 0x2017, 0x2019, 0x2021, 0x2022, 0x2024, 0x2025, 0x2026, 0x2027. One directory section: a single database controller's serialized record stream.

stride is the nominal fixed stride (totalBytes/count) when both are non-zero.

Definition at line 57 of file pads_sdb.h.

Member Function Documentation

◆ IsEmpty()

bool PADS_IO::SDB_SECTION::IsEmpty ( ) const
inline

Definition at line 69 of file pads_sdb.h.

References totalBytes.

Member Data Documentation

◆ count

uint32_t PADS_IO::SDB_SECTION::count = 0

◆ index

int PADS_IO::SDB_SECTION::index = 0

Definition at line 59 of file pads_sdb.h.

Referenced by PADS_IO::PADS_SDB::parseDirectory().

◆ physicalBytes

◆ physicalCount

◆ physicalLiveCount

uint32_t PADS_IO::SDB_SECTION::physicalLiveCount = 0

◆ physicalOffset

uint32_t PADS_IO::SDB_SECTION::physicalOffset = 0

Definition at line 64 of file pads_sdb.h.

Referenced by PADS_IO::BINARY_PARSER::applyNetClassClearances(), PADS_IO::BINARY_PARSER::arcRecordFor(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), PADS_IO::BINARY_PARSER::collectNetClassRuleEdges(), PADS_IO::BINARY_PARSER::decodeRoutedCopper(), PADS_IO::BINARY_PARSER::decodeViaLocations(), PADS_IO::BINARY_PARSER::layerStackupBase(), PADS_IO::BINARY_PARSER::oldNetRecordOffsets(), PADS_IO::BINARY_PARSER::parseBoardOutlineDirect(), PADS_IO::BINARY_PARSER::parseCopperPours(), PADS_IO::BINARY_PARSER::parseDecalNameTable(), PADS_IO::BINARY_PARSER::parseDecalNameTableOld(), PADS_IO::BINARY_PARSER::parseDiffPairs(), PADS_IO::BINARY_PARSER::parseGraphicLines(), PADS_IO::BINARY_PARSER::parseNetClasses(), PADS_IO::BINARY_PARSER::parseNetConnectionsNew(), PADS_IO::BINARY_PARSER::parseNetConnectionsOld(), PADS_IO::BINARY_PARSER::parseNetNamesNew(), PADS_IO::BINARY_PARSER::parsePadStacks(), PADS_IO::BINARY_PARSER::parsePartPlacements(), PADS_IO::BINARY_PARSER::parsePartTypeTable(), PADS_IO::PADS_SDB::parsePhysicalFraming(), PADS_IO::BINARY_PARSER::parseRouteJunctionNets(), PADS_IO::BINARY_PARSER::parseTerminals(), PADS_IO::BINARY_PARSER::parseTextRecords(), PADS_IO::BINARY_PARSER::resolveRouteObjectNodes(), PADS_IO::BINARY_PARSER::ringU8(), and PADS_IO::BINARY_PARSER::sec12Vertex().

◆ stride

◆ totalBytes


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