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
 Explicit moves prevent vector growth from selecting a copy of the unique_ptr members.
 
 ORCAD_RAW_PAGE (const ORCAD_RAW_PAGE &)=delete
 
ORCAD_RAW_PAGE & operator= (const ORCAD_RAW_PAGE &)=delete
 
 ORCAD_RAW_PAGE (ORCAD_RAW_PAGE &&)=default
 
ORCAD_RAW_PAGE & operator= (ORCAD_RAW_PAGE &&)=default
 

Public Attributes

std::string name
 
std::string pageSize
 page-size name string, e.g. "B"
 
size_t sourcePageNumber = 0
 1-based within the OrCAD folder
 
size_t sourcePageCount = 0
 pages in the OrCAD folder
 
std::map< std::string, std::string > props
 
ORCAD_PAGE_SETTINGS settings
 
std::vector< ORCAD_GRAPHIC_INST > titleBlocks
 
std::vector< ORCAD_WIRE > wires
 
std::vector< ORCAD_PLACED_INSTANCE > instances
 
std::vector< ORCAD_GRAPHIC_INST > ports
 
std::vector< ORCAD_GRAPHIC_INST > globals
 placed power symbols
 
std::vector< ORCAD_GRAPHIC_INST > offpage
 off-page connectors
 
std::vector< ORCAD_GRAPHIC_INST > ercObjects
 saved design-rule-check markers
 
std::vector< ORCAD_BUS_ENTRY > busEntries
 
std::vector< ORCAD_GRAPHIC_INST > graphics
 free comment text/shapes/images
 
std::map< uint32_t, std::string > netmap
 net db id -> net name
 
std::map< uint32_t, std::vector< std::string > > netAliases
 every name recorded for a net db id
 
std::vector< ORCAD_NET_GROUP > netGroups
 bus net id -> member net ids
 
std::vector< ORCAD_DRAWN_INSTANCE > blocks
 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 487 of file orcad_records.h.

Constructor & Destructor Documentation

◆ ORCAD_RAW_PAGE() [1/3]

ORCAD_RAW_PAGE::ORCAD_RAW_PAGE ( )
default

Explicit moves prevent vector growth from selecting a copy of the unique_ptr members.

Referenced by operator=(), operator=(), ORCAD_RAW_PAGE(), and ORCAD_RAW_PAGE().

◆ 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

std::vector<ORCAD_BUS_ENTRY> ORCAD_RAW_PAGE::busEntries

◆ ercObjects

std::vector<ORCAD_GRAPHIC_INST> ORCAD_RAW_PAGE::ercObjects

saved design-rule-check markers

Definition at line 508 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::offsetPage(), OrcadParsePage(), and ORCAD_CONVERTER::pageExtentDbu().

◆ globals

◆ graphics

std::vector<ORCAD_GRAPHIC_INST> ORCAD_RAW_PAGE::graphics

free comment text/shapes/images

Definition at line 510 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::offsetPage(), OrcadParsePage(), ORCAD_CONVERTER::pageExtentDbu(), and ORCAD_CONVERTER::placeGraphics().

◆ instances

◆ name

◆ netAliases

std::map<uint32_t, std::vector<std::string> > ORCAD_RAW_PAGE::netAliases

every name recorded for a net db id

Definition at line 512 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::convertPage(), ORCAD_CONVERTER::netAt(), OrcadParsePage(), pageNetNames(), and ORCAD_CONVERTER::resolvePowerNet().

◆ netGroups

std::vector<ORCAD_NET_GROUP> ORCAD_RAW_PAGE::netGroups

bus net id -> member net ids

Definition at line 513 of file orcad_records.h.

Referenced by connectedBusName(), OrcadParsePage(), and ORCAD_CONVERTER::placeWires().

◆ netmap

◆ offpage

◆ pageSize

std::string ORCAD_RAW_PAGE::pageSize

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

Definition at line 497 of file orcad_records.h.

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

◆ ports

◆ props

std::map<std::string, std::string> ORCAD_RAW_PAGE::props

Definition at line 500 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyTitleBlock(), and OrcadParsePage().

◆ settings

◆ sourcePageCount

size_t ORCAD_RAW_PAGE::sourcePageCount = 0

pages in the OrCAD folder

Definition at line 499 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyTitleBlock(), and SCH_IO_ORCAD::LoadSchematicFile().

◆ sourcePageNumber

size_t ORCAD_RAW_PAGE::sourcePageNumber = 0

1-based within the OrCAD folder

Definition at line 498 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyTitleBlock(), and SCH_IO_ORCAD::LoadSchematicFile().

◆ titleBlocks

std::vector<ORCAD_GRAPHIC_INST> ORCAD_RAW_PAGE::titleBlocks

Definition at line 502 of file orcad_records.h.

Referenced by ORCAD_CONVERTER::applyTitleBlock(), and OrcadParsePage().

◆ wires


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