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

Everything parsed from one .DSN, as handed to ORCAD_CONVERTER. More...

#include <orcad_records.h>

Public Attributes

std::string name
 design (root schematic) name
 
ORCAD_LIBRARY_INFO library
 
std::map< std::string, ORCAD_SYMBOL_DEFsymbols
 cache, keyed by cache name
 
std::map< std::string, ORCAD_PACKAGEpackages
 keyed by package name
 
std::vector< ORCAD_RAW_PAGEpages
 root schematic folder pages
 
std::map< std::string, std::vector< ORCAD_RAW_PAGE > > childFolderPages
 Child schematic folder pages, keyed by lower-cased folder name; instantiated once per hierarchical block occurrence during conversion.
 
ORCAD_OCC_SCOPE occurrenceRoot
 Occurrence tree from the root folder Hierarchy stream.
 
bool hasHierarchyBlocks = false
 

Detailed Description

Everything parsed from one .DSN, as handed to ORCAD_CONVERTER.

design.pages are the root schematic folder's pages in schematic order; child folder pages are held in childFolderPages and instantiated once per block occurrence via the occurrence tree, so a schematic reused N times imports N times with per-occurrence refs.

Definition at line 656 of file orcad_records.h.

Member Data Documentation

◆ childFolderPages

std::map<std::string, std::vector<ORCAD_RAW_PAGE> > ORCAD_DESIGN::childFolderPages

Child schematic folder pages, keyed by lower-cased folder name; instantiated once per hierarchical block occurrence during conversion.

Definition at line 666 of file orcad_records.h.

Referenced by SCH_IO_ORCAD::LoadSchematicFile().

◆ hasHierarchyBlocks

bool ORCAD_DESIGN::hasHierarchyBlocks = false

Definition at line 674 of file orcad_records.h.

Referenced by SCH_IO_ORCAD::LoadSchematicFile().

◆ library

ORCAD_LIBRARY_INFO ORCAD_DESIGN::library

◆ name

std::string ORCAD_DESIGN::name

design (root schematic) name

Definition at line 658 of file orcad_records.h.

Referenced by SCH_IO_ORCAD::LoadSchematicFile().

◆ occurrenceRoot

ORCAD_OCC_SCOPE ORCAD_DESIGN::occurrenceRoot

Occurrence tree from the root folder Hierarchy stream.

occurrenceRoot.partRefs carries the root folder's occurrence designators (occurrence-annotated designs leave the placed instance's own field as the "C?" template; this fills it in); occurrenceRoot.blocks descend into the child schematics with per-path refs.

Definition at line 672 of file orcad_records.h.

Referenced by SCH_IO_ORCAD::LoadSchematicFile().

◆ packages

std::map<std::string, ORCAD_PACKAGE> ORCAD_DESIGN::packages

keyed by package name

Definition at line 661 of file orcad_records.h.

Referenced by SCH_IO_ORCAD::loadOlbSymbols(), and SCH_IO_ORCAD::LoadSchematicFile().

◆ pages

std::vector<ORCAD_RAW_PAGE> ORCAD_DESIGN::pages

root schematic folder pages

Definition at line 662 of file orcad_records.h.

Referenced by SCH_IO_ORCAD::LoadSchematicFile().

◆ symbols

std::map<std::string, ORCAD_SYMBOL_DEF> ORCAD_DESIGN::symbols

cache, keyed by cache name

Definition at line 660 of file orcad_records.h.

Referenced by SCH_IO_ORCAD::loadOlbSymbols(), and SCH_IO_ORCAD::LoadSchematicFile().


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