KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ORCAD_PREFIXES Struct Reference

The decoded prefix chain of one framed structure. More...

#include <orcad_structures.h>

Public Attributes

int typeId = 0
 ORCAD_ST value (u8 in the stream)
 
std::vector< uint32_t > bodyLens
 one per long prefix, outermost first
 
std::vector< std::pair< uint32_t, uint32_t > > props
 short prefix (nameIdx, valueIdx) pairs
 
size_t start = 0
 stream offset where the chain began
 
size_t bodyStart = 0
 offset right after the preamble trail
 
size_t end = 0
 offset right after the whole structure (from the outermost long prefix); 0 when unknown
 
std::vector< size_t > stops
 checkpoint offsets, one per long prefix: start + 9 * i + 9 + bodyLens[i]
 

Detailed Description

The decoded prefix chain of one framed structure.

Definition at line 63 of file orcad_structures.h.

Member Data Documentation

◆ bodyLens

std::vector<uint32_t> ORCAD_PREFIXES::bodyLens

one per long prefix, outermost first

Definition at line 66 of file orcad_structures.h.

Referenced by OrcadFindStructureStart(), ORCAD_STRUCT_READER::ReadPrefixes(), and ORCAD_STRUCT_READER::TryReadPrefixes().

◆ bodyStart

size_t ORCAD_PREFIXES::bodyStart = 0

offset right after the preamble trail

Definition at line 69 of file orcad_structures.h.

Referenced by ORCAD_STRUCT_READER::ReadPrefixes().

◆ end

◆ props

std::vector<std::pair<uint32_t, uint32_t> > ORCAD_PREFIXES::props

short prefix (nameIdx, valueIdx) pairs

Definition at line 67 of file orcad_structures.h.

Referenced by ORCAD_STRUCT_READER::PropsDict(), and ORCAD_STRUCT_READER::TryReadPrefixes().

◆ start

size_t ORCAD_PREFIXES::start = 0

stream offset where the chain began

Definition at line 68 of file orcad_structures.h.

Referenced by ORCAD_STRUCT_READER::ReadPrefixes(), and ORCAD_STRUCT_READER::TryReadPrefixes().

◆ stops

std::vector<size_t> ORCAD_PREFIXES::stops

checkpoint offsets, one per long prefix: start + 9 * i + 9 + bodyLens[i]

Definition at line 73 of file orcad_structures.h.

Referenced by OrcadReadDrawnInstance(), OrcadReadSymbolDef(), and ORCAD_STRUCT_READER::ReadPrefixes().

◆ typeId


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