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

One parsed 'Views/<folder>/Pages/<page>' stream, raw structure lists in stream order. More...

#include <orcad_records.h>

Public Member Functions

 ORCAD_RAW_PAGE ()=default
 
 ORCAD_RAW_PAGE (const ORCAD_RAW_PAGE &)=delete
 
ORCAD_RAW_PAGEoperator= (const ORCAD_RAW_PAGE &)=delete
 
 ORCAD_RAW_PAGE (ORCAD_RAW_PAGE &&)=default
 
ORCAD_RAW_PAGEoperator= (ORCAD_RAW_PAGE &&)=default
 

Public Attributes

std::string name
 
std::string pageSize
 page-size name string, e.g. "B"
 
uint32_t width = 0
 mils, or um when isMetric
 
uint32_t height = 0
 
bool isMetric = false
 
std::vector< ORCAD_GRAPHIC_INSTtitleBlocks
 
std::vector< ORCAD_WIREwires
 
std::vector< ORCAD_PLACED_INSTANCEinstances
 
std::vector< ORCAD_GRAPHIC_INSTports
 
std::vector< ORCAD_GRAPHIC_INSTglobals
 placed power symbols
 
std::vector< ORCAD_GRAPHIC_INSToffpage
 off-page connectors
 
std::vector< ORCAD_GRAPHIC_INSTercObjects
 no-connect markers
 
std::vector< ORCAD_BUS_ENTRYbusEntries
 
std::vector< ORCAD_GRAPHIC_INSTgraphics
 free comment text/shapes/images
 
std::map< uint32_t, std::string > netmap
 net db id -> net name
 
std::vector< ORCAD_NET_GROUPnetGroups
 bus net id -> member net ids
 
std::vector< ORCAD_DRAWN_INSTANCEblocks
 hierarchical blocks (detection only)
 

Detailed Description

One parsed 'Views/<folder>/Pages/<page>' stream, raw structure lists in stream order.

The net table (netmap) is authoritative for net names: it maps net database ids to names, and wires carry the same ids.

Definition at line 589 of file orcad_records.h.

Constructor & Destructor Documentation

◆ ORCAD_RAW_PAGE() [1/3]

ORCAD_RAW_PAGE::ORCAD_RAW_PAGE ( )
default

◆ ORCAD_RAW_PAGE() [2/3]

ORCAD_RAW_PAGE::ORCAD_RAW_PAGE ( const ORCAD_RAW_PAGE & )
delete

References ORCAD_RAW_PAGE().

◆ ORCAD_RAW_PAGE() [3/3]

ORCAD_RAW_PAGE::ORCAD_RAW_PAGE ( ORCAD_RAW_PAGE && )
default

References ORCAD_RAW_PAGE().

Member Function Documentation

◆ operator=() [1/2]

ORCAD_RAW_PAGE & ORCAD_RAW_PAGE::operator= ( const ORCAD_RAW_PAGE & )
delete

References ORCAD_RAW_PAGE().

◆ operator=() [2/2]

ORCAD_RAW_PAGE & ORCAD_RAW_PAGE::operator= ( ORCAD_RAW_PAGE && )
default

References ORCAD_RAW_PAGE().

Member Data Documentation

◆ blocks

◆ busEntries

◆ ercObjects

std::vector<ORCAD_GRAPHIC_INST> ORCAD_RAW_PAGE::ercObjects

◆ globals

std::vector<ORCAD_GRAPHIC_INST> ORCAD_RAW_PAGE::globals

◆ graphics

◆ height

uint32_t ORCAD_RAW_PAGE::height = 0

◆ instances

◆ isMetric

bool ORCAD_RAW_PAGE::isMetric = false

◆ name

◆ netGroups

std::vector<ORCAD_NET_GROUP> ORCAD_RAW_PAGE::netGroups

bus net id -> member net ids

Definition at line 615 of file orcad_records.h.

Referenced by BOOST_AUTO_TEST_CASE(), and OrcadParsePageV2().

◆ netmap

std::map<uint32_t, std::string> ORCAD_RAW_PAGE::netmap

net db id -> net name

Definition at line 614 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::netAt(), OrcadParsePage(), and OrcadParsePageV2().

◆ offpage

◆ pageSize

std::string ORCAD_RAW_PAGE::pageSize

page-size name string, e.g. "B"

Definition at line 601 of file orcad_records.h.

Referenced by OrcadParsePage(), and OrcadParsePageV2().

◆ ports

◆ titleBlocks

std::vector<ORCAD_GRAPHIC_INST> ORCAD_RAW_PAGE::titleBlocks

◆ width

uint32_t ORCAD_RAW_PAGE::width = 0

mils, or um when isMetric

Definition at line 602 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyPageSettings(), OrcadParsePage(), and OrcadParsePageV2().

◆ wires


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