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

Prefix lengths supply structure bounds. 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
 
std::vector< size_t > stops
 < (from the outermost long prefix); < 0 when unknown
 

Detailed Description

Prefix lengths supply structure bounds.

See orcad_dsn.ksy for the framing layout.

Definition at line 42 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 45 of file orcad_structures.h.

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

◆ bodyStart

size_t ORCAD_PREFIXES::bodyStart = 0

offset right after the preamble trail

Definition at line 48 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 46 of file orcad_structures.h.

Referenced by BOOST_AUTO_TEST_CASE(), ORCAD_STRUCT_READER::PropsDict(), and ORCAD_STRUCT_READER::ReadPrefixes().

◆ start

size_t ORCAD_PREFIXES::start = 0

stream offset where the chain began

Definition at line 47 of file orcad_structures.h.

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

◆ stops

std::vector<size_t> ORCAD_PREFIXES::stops

< (from the outermost long prefix); < 0 when unknown

checkpoint offsets, one per long prefix:

Definition at line 52 of file orcad_structures.h.

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

◆ typeId


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