|
KiCad PCB EDA Suite
|
A DSN data tree, usually coming from a DSN file. More...
#include <specctra.h>
Public Member Functions | |
| SPECCTRA_DB () | |
| virtual | ~SPECCTRA_DB () |
| void | SetPCB (PCB *aPcb) |
| Delete any existing PCB and replaces it with the given one. | |
| PCB * | GetPCB () |
| void | SetSESSION (SESSION *aSession) |
| Delete any existing SESSION and replaces it with the given one. | |
| SESSION * | GetSESSION () |
| void | LoadPCB (const wxString &aFilename) |
| A recursive descent parser for a SPECCTRA DSN "design" file. | |
| void | LoadSESSION (const wxString &aFilename) |
| A recursive descent parser for a SPECCTRA DSN "session" file. | |
| void | ExportPCB (const wxString &aFilename, bool aNameChange=false) |
| Write the internal PCB instance out as a SPECTRA DSN format file. | |
| void | FromBOARD (BOARD *aBoard) |
| Add the entire BOARD to the PCB but does not write it out. | |
| void | FromSESSION (BOARD *aBoard, COMMIT &aCommit) |
| Add the entire SESSION info to a BOARD but does not write it out. | |
| void | ExportSESSION (const wxString &aFilename) |
| Write the internal SESSION instance out as a #SPECTRA DSN format file. | |
| bool | BuiltBoardOutlines (BOARD *aBoard) |
| Build the board outlines and store it in m_brd_outlines. | |
| void | FlipFOOTPRINTs (BOARD *aBoard) |
| Flip the footprints which are on the back side of the board to the front. | |
| void | RevertFOOTPRINTs (BOARD *aBoard) |
| Flip the footprints which were on the back side of the board back to the back. | |
Static Public Member Functions | |
| static PCB * | MakePCB () |
| Make a PCB with all the default ELEMs and parts on the heap. | |
Private Member Functions | |
| void | buildLayerMaps (BOARD *aBoard) |
| Create a few data translation structures for layer name and number mapping between the DSN::PCB structure and the KiCad BOARD structure. | |
| int | findLayerName (const std::string &aLayerName) const |
| Return the PCB layer index for a given layer name, within the specctra sessionfile. | |
| void | readCOMPnPIN (std::string *component_id, std::string *pid_id) |
| Read a <pin_reference> and splits it into the two parts which are on either side of the hyphen. | |
| void | readTIME (time_t *time_stamp) |
| Read a <time_stamp> which consists of 8 lexer tokens: "month date hour : minute : second year". | |
| void | doPCB (PCB *growth) |
| void | doPARSER (PARSER *growth) |
| void | doRESOLUTION (UNIT_RES *growth) |
| void | doUNIT (UNIT_RES *growth) |
| void | doSTRUCTURE (STRUCTURE *growth) |
| void | doSTRUCTURE_OUT (STRUCTURE_OUT *growth) |
| void | doLAYER_NOISE_WEIGHT (LAYER_NOISE_WEIGHT *growth) |
| void | doSPECCTRA_LAYER_PAIR (SPECCTRA_LAYER_PAIR *growth) |
| void | doBOUNDARY (BOUNDARY *growth) |
| void | doRECTANGLE (RECTANGLE *growth) |
| void | doPATH (PATH *growth) |
| void | doSTRINGPROP (STRINGPROP *growth) |
| void | doTOKPROP (TOKPROP *growth) |
| void | doVIA (VIA *growth) |
| void | doCONTROL (CONTROL *growth) |
| void | doLAYER (LAYER *growth) |
| void | doRULE (RULE *growth) |
| void | doKEEPOUT (KEEPOUT *growth) |
| void | doCIRCLE (CIRCLE *growth) |
| void | doQARC (QARC *growth) |
| void | doWINDOW (WINDOW *growth) |
| void | doCONNECT (CONNECT *growth) |
| void | doREGION (REGION *growth) |
| void | doCLASS_CLASS (CLASS_CLASS *growth) |
| void | doLAYER_RULE (LAYER_RULE *growth) |
| void | doCLASSES (CLASSES *growth) |
| void | doGRID (GRID *growth) |
| void | doPLACE (PLACE *growth) |
| void | doCOMPONENT (COMPONENT *growth) |
| void | doPLACEMENT (PLACEMENT *growth) |
| void | doPROPERTIES (PROPERTIES *growth) |
| void | doPADSTACK (PADSTACK *growth) |
| void | doSHAPE (SHAPE *growth) |
| void | doIMAGE (IMAGE *growth) |
| void | doLIBRARY (LIBRARY *growth) |
| void | doPIN (PIN *growth) |
| void | doNET (NET *growth) |
| void | doNETWORK (NETWORK *growth) |
| void | doCLASS (CLASS *growth) |
| void | doTOPOLOGY (TOPOLOGY *growth) |
| void | doFROMTO (FROMTO *growth) |
| void | doCOMP_ORDER (COMP_ORDER *growth) |
| void | doWIRE (WIRE *growth) |
| void | doWIRE_VIA (WIRE_VIA *growth) |
| void | doWIRING (WIRING *growth) |
| void | doSESSION (SESSION *growth) |
| void | doANCESTOR (ANCESTOR *growth) |
| void | doHISTORY (HISTORY *growth) |
| void | doROUTE (ROUTE *growth) |
| void | doWAS_IS (WAS_IS *growth) |
| void | doNET_OUT (NET_OUT *growth) |
| void | doSUPPLY_PIN (SUPPLY_PIN *growth) |
| void | fillBOUNDARY (BOARD *aBoard, BOUNDARY *aBoundary) |
| Make the board perimeter for the DSN file by filling the BOUNDARY element in the specctra element tree. | |
| IMAGE * | makeIMAGE (BOARD *aBoard, FOOTPRINT *aFootprint) |
| Allocates an I#MAGE on the heap and creates all the PINs according to the PADs in the FOOTPRINT. | |
| PADSTACK * | makePADSTACK (BOARD *aBoard, PAD *aPad) |
| Create a PADSTACK which matches the given pad. | |
| PADSTACK * | makeVia (int aCopperDiameter, int aDrillDiameter, int aTopLayer, int aBotLayer) |
| Make a round through hole PADSTACK using the given KiCad diameter in deci-mils. | |
| PADSTACK * | makeVia (const ::PCB_VIA *aVia) |
| Make any kind of PADSTACK using the given KiCad VIA. | |
| void | deleteNETs () |
| Delete all the NETs that may be in here. | |
| void | exportNETCLASS (const NETCLASS *aNetClass, const BOARD *aBoard) |
| Export aNetClass to the DSN file. | |
| PCB_TRACK * | makeTRACK (WIRE *wire, PATH *aPath, int aPointIndex, int aNetcode) |
| Create a TRACK form the PATH and BOARD info. | |
| PCB_ARC * | makeARC (WIRE *wire, QARC *aQarc, int aNetcode) |
| Create an ARC form the PATH and BOARD info. | |
| PCB_VIA * | makeVIA (WIRE_VIA *aVia, PADSTACK *aPadstack, const POINT &aPoint, int aNetCode, int aViaDrillDefault) |
| Instantiate a KiCad VIA on the heap and initializes it with internal values consistent with the given PADSTACK, POINT, and netcode. | |
Private Attributes | |
| PCB * | m_pcb |
| SHAPE_POLY_SET | m_brd_outlines |
| SESSION * | m_session |
| wxString | m_filename |
| std::string | m_quote_char |
| bool | m_footprintsAreFlipped |
| STRING_FORMATTER | m_sf |
| std::vector< std::string > | m_layerIds |
| indexed by PCB layer number | |
| std::map< PCB_LAYER_ID, int > | m_kicadLayer2pcb |
| maps BOARD layer number to PCB layer numbers | |
| std::map< int, PCB_LAYER_ID > | m_pcbLayer2kicad |
| maps PCB layer number to BOARD layer numbers | |
| UNIT_RES * | m_routeResolution |
| used during FromSESSION() only, memory for it is not owned here. | |
| BOARD * | m_sessionBoard |
| a copy to avoid passing as an argument, memory for it is not owned here. | |
| boost::ptr_set< PADSTACK > | m_padstackset |
| std::vector< NET * > | m_nets |
| we don't want ownership here permanently, so we don't use boost::ptr_vector | |
| int | m_top_via_layer |
| specctra cu layers, 0 based index: | |
| int | m_bot_via_layer |
Static Private Attributes | |
| static const KEYWORD | keywords [] |
| specctra DSN keywords | |
| static const KICAD_T | scanPADs [] |
A DSN data tree, usually coming from a DSN file.
Is essentially a SPECCTRA_PARSER class.
Definition at line 3602 of file specctra.h.
|
inline |
Definition at line 3606 of file specctra.h.
References m_bot_via_layer, m_footprintsAreFlipped, m_pcb, m_quote_char, m_routeResolution, m_session, m_sessionBoard, and m_top_via_layer.
|
inlinevirtual |
Definition at line 3627 of file specctra.h.
References deleteNETs(), m_pcb, and m_session.
|
private |
Create a few data translation structures for layer name and number mapping between the DSN::PCB structure and the KiCad BOARD structure.
| aBoard | The BOARD to create the maps for. |
Definition at line 73 of file specctra.cpp.
References LSET::AllCuMask(), LSET::CuStack(), BOARD::GetCopperLayerCount(), BOARD::GetLayerName(), m_kicadLayer2pcb, m_layerIds, m_pcbLayer2kicad, and TO_UTF8.
Referenced by FromBOARD(), and FromSESSION().
| bool DSN::SPECCTRA_DB::BuiltBoardOutlines | ( | BOARD * | aBoard | ) |
Build the board outlines and store it in m_brd_outlines.
Because it calls GetBoardPolygonOutlines() it must be called before flipping footprints
Definition at line 234 of file specctra_export.cpp.
References BOARD::GetBoardPolygonOutlines(), and m_brd_outlines.
Referenced by DSN::ExportBoardToSpecctraFile().
|
inlineprivate |
Delete all the NETs that may be in here.
Definition at line 3901 of file specctra.h.
References m_nets.
Referenced by FromBOARD(), and ~SPECCTRA_DB().
|
private |
Definition at line 3280 of file specctra.cpp.
References DSN::ANCESTOR::comment, DSN::ANCESTOR::filename, readTIME(), T, and DSN::ANCESTOR::time_stamp.
Referenced by doHISTORY().
|
private |
Definition at line 1033 of file specctra.cpp.
References doPATH(), doRECTANGLE(), path, DSN::BOUNDARY::paths, RECTANGLE, DSN::BOUNDARY::rectangle, and T.
Referenced by doSTRUCTURE().
|
private |
Definition at line 1163 of file specctra.cpp.
References DSN::CIRCLE::diameter, DSN::CIRCLE::layer_id, parseDouble(), T, DSN::CIRCLE::vertex, DSN::POINT::x, and DSN::POINT::y.
Referenced by doKEEPOUT(), doSHAPE(), doWINDOW(), and doWIRE().
|
private |
Definition at line 2700 of file specctra.cpp.
References doLAYER_RULE(), doRULE(), doTOPOLOGY(), DSN::CLASS::m_circuit, DSN::CLASS::m_class_id, DSN::CLASS::m_layer_rules, DSN::CLASS::m_net_ids, m_quote_char, DSN::CLASS::m_rules, DSN::CLASS::m_topology, RULE, and T.
Referenced by doNETWORK().
|
private |
Definition at line 1700 of file specctra.cpp.
References DSN::ELEM_HOLDER::Append(), DSN::CLASS_CLASS::classes, doCLASSES(), doLAYER_RULE(), doRULE(), RULE, T, and DSN::ELEM::Type().
Referenced by doREGION().
|
private |
Definition at line 1748 of file specctra.cpp.
References DSN::CLASSES::class_ids, and T.
Referenced by doCLASS_CLASS().
|
private |
Definition at line 2859 of file specctra.cpp.
References DSN::COMP_ORDER::m_placement_ids, and T.
Referenced by doNET(), and doTOPOLOGY().
|
private |
Definition at line 2009 of file specctra.cpp.
References doPLACE(), DSN::COMPONENT::m_image_id, DSN::COMPONENT::m_places, PLACE, and T.
Referenced by doPLACEMENT().
|
private |
|
private |
Definition at line 1273 of file specctra.cpp.
References DSN::ELEM_HOLDER::Append(), doTOKPROP(), T, and DSN::CONTROL::via_at_smd.
Referenced by doSTRUCTURE().
|
private |
Definition at line 2875 of file specctra.cpp.
References doLAYER_RULE(), doRULE(), DSN::FROMTO::m_fromText, DSN::FROMTO::m_fromto_type, DSN::FROMTO::m_layer_rules, DSN::FROMTO::m_net_id, DSN::FROMTO::m_rules, DSN::FROMTO::m_toText, RULE, and T.
Referenced by doNET(), and doTOPOLOGY().
|
private |
Definition at line 1772 of file specctra.cpp.
References DSN::GRID::m_dimension, DSN::GRID::m_direction, DSN::GRID::m_grid_type, DSN::GRID::m_image_type, DSN::GRID::m_offset, parseDouble(), and T.
Referenced by doSTRUCTURE().
|
private |
Definition at line 3319 of file specctra.cpp.
References DSN::HISTORY::ancestors, DSN::HISTORY::comments, doANCESTOR(), readTIME(), T, and DSN::HISTORY::time_stamp.
Referenced by doSESSION().
|
private |
Definition at line 2304 of file specctra.cpp.
References DSN::ELEM_HOLDER::Append(), doKEEPOUT(), doPIN(), doRULE(), doSHAPE(), doUNIT(), KEEPOUT, DSN::IMAGE::m_image_id, DSN::IMAGE::m_keepouts, DSN::IMAGE::m_pins, DSN::IMAGE::m_place_rules, DSN::IMAGE::m_rules, DSN::IMAGE::m_side, DSN::IMAGE::m_unit, PIN, pin, RULE, and T.
Referenced by doLIBRARY().
|
private |
Definition at line 832 of file specctra.cpp.
References CIRCLE, doCIRCLE(), doPATH(), doQARC(), doRECTANGLE(), doRULE(), doWINDOW(), KI_FALLTHROUGH, DSN::KEEPOUT::m_name, DSN::KEEPOUT::m_place_rules, DSN::KEEPOUT::m_rules, DSN::KEEPOUT::m_sequence_number, DSN::KEEPOUT::m_shape, DSN::KEEPOUT::m_windows, RECTANGLE, RULE, and T.
Referenced by doIMAGE(), and doSTRUCTURE().
|
private |
Definition at line 1346 of file specctra.cpp.
References DSN::LAYER::cost, DSN::LAYER::cost_type, DSN::LAYER::direction, doPROPERTIES(), doRULE(), DSN::LAYER::layer_type, DSN::LAYER::name, DSN::LAYER::properties, RULE, DSN::LAYER::rules, T, and DSN::LAYER::use_net.
Referenced by doSTRUCTURE(), and doSTRUCTURE_OUT().
|
private |
Definition at line 622 of file specctra.cpp.
References doSPECCTRA_LAYER_PAIR(), DSN::LAYER_NOISE_WEIGHT::layer_pairs, and T.
Referenced by doSTRUCTURE().
|
private |
Definition at line 1849 of file specctra.cpp.
References doRULE(), DSN::LAYER_RULE::m_layer_ids, DSN::LAYER_RULE::m_rule, RULE, and T.
Referenced by doCLASS(), doCLASS_CLASS(), doFROMTO(), and doNET().
|
private |
Definition at line 2457 of file specctra.cpp.
References DSN::LIBRARY::AddPadstack(), doIMAGE(), doPADSTACK(), doUNIT(), IMAGE, image, DSN::LIBRARY::m_images, DSN::LIBRARY::m_unit, and T.
|
private |
Definition at line 2513 of file specctra.cpp.
References DSN::PIN_REF::component_id, doCOMP_ORDER(), doFROMTO(), doLAYER_RULE(), doRULE(), empty(), DSN::NET::m_comp_order, DSN::NET::m_expose, DSN::NET::m_fromtos, DSN::NET::m_layer_rules, DSN::NET::m_load, DSN::NET::m_net_id, DSN::NET::m_net_number, DSN::NET::m_noexpose, DSN::NET::m_pins, DSN::NET::m_pins_type, DSN::NET::m_rules, DSN::NET::m_source, DSN::NET::m_terminator, DSN::NET::m_unassigned, DSN::PIN_REF::pin_id, readCOMPnPIN(), RULE, T, and DSN::ELEM::type.
Referenced by doNETWORK().
|
private |
Definition at line 3609 of file specctra.cpp.
References doRULE(), doSUPPLY_PIN(), doWIRE(), doWIRE_VIA(), DSN::NET_OUT::m_unassigned, DSN::NET_OUT::net_id, DSN::NET_OUT::net_number, RULE, DSN::NET_OUT::rules, DSN::NET_OUT::supply_pins, T, WIRE, DSN::NET_OUT::wire_vias, and DSN::NET_OUT::wires.
Referenced by doROUTE().
|
private |
Definition at line 2813 of file specctra.cpp.
References CLASS, doCLASS(), doNET(), DSN::NETWORK::m_classes, DSN::NETWORK::m_nets, NET, and T.
Referenced by doPCB().
|
private |
Definition at line 2099 of file specctra.cpp.
References DSN::ELEM_HOLDER::Append(), doRULE(), doSHAPE(), doUNIT(), DSN::PADSTACK::m_absolute, DSN::PADSTACK::m_attach, DSN::PADSTACK::m_padstack_id, DSN::PADSTACK::m_rotate, DSN::PADSTACK::m_rules, DSN::PADSTACK::m_unit, DSN::PADSTACK::m_via_id, RULE, and T.
Referenced by doLIBRARY().
|
private |
Definition at line 400 of file specctra.cpp.
References DSN::PARSER::case_sensitive, DSN::PARSER::constants, DSN::PARSER::generated_by_freeroute, DSN::PARSER::host_cad, DSN::PARSER::host_version, m_quote_char, DSN::PARSER::routes_include_guides, DSN::PARSER::routes_include_image_conductor, DSN::PARSER::routes_include_testpoint, DSN::PARSER::space_in_quoted_tokens, DSN::PARSER::string_quote, T, and DSN::PARSER::via_rotate_first.
|
private |
Definition at line 1083 of file specctra.cpp.
References DSN::PATH::aperture_type, DSN::PATH::aperture_width, DSN::PATH::layer_id, parseDouble(), DSN::PATH::points, T, DSN::POINT::x, and DSN::POINT::y.
Referenced by doBOUNDARY(), doKEEPOUT(), doREGION(), doSHAPE(), doWINDOW(), and doWIRE().
|
private |
Definition at line 285 of file specctra.cpp.
References doLIBRARY(), doNETWORK(), doPARSER(), doPLACEMENT(), doRESOLUTION(), doSTRUCTURE(), doUNIT(), doWIRING(), DSN::PCB::m_library, DSN::PCB::m_network, DSN::PCB::m_parser, DSN::PCB::m_pcbname, DSN::PCB::m_placement, DSN::PCB::m_resolution, DSN::PCB::m_structure, DSN::PCB::m_unit, DSN::PCB::m_wiring, NETWORK, and T.
Referenced by LoadPCB().
|
private |
Definition at line 2406 of file specctra.cpp.
References DSN::PIN::m_padstack_id, DSN::PIN::m_pin_id, DSN::PIN::m_vertex, parseDouble(), DSN::PIN::SetRotation(), T, DSN::POINT::x, and DSN::POINT::y.
Referenced by doIMAGE().
|
private |
Definition at line 1874 of file specctra.cpp.
References doPROPERTIES(), doREGION(), doRULE(), DSN::PLACE::m_component_id, DSN::PLACE::m_lock_type, DSN::PLACE::m_logical_part, DSN::PLACE::m_mirror, DSN::PLACE::m_part_number, DSN::PLACE::m_place_rules, DSN::PLACE::m_properties, DSN::PLACE::m_region, DSN::PLACE::m_rules, DSN::PLACE::m_side, DSN::PLACE::m_status, parseDouble(), REGION, RULE, DSN::PLACE::SetRotation(), DSN::PLACE::SetVertex(), T, DSN::POINT::x, and DSN::POINT::y.
Referenced by doCOMPONENT().
|
private |
Definition at line 2041 of file specctra.cpp.
References COMPONENT, doCOMPONENT(), doRESOLUTION(), doUNIT(), DSN::PLACEMENT::m_components, DSN::PLACEMENT::m_flip_style, DSN::PLACEMENT::m_unit, and T.
Referenced by doPCB(), and doSESSION().
|
private |
|
private |
Definition at line 1194 of file specctra.cpp.
References DSN::QARC::aperture_width, DSN::QARC::layer_id, parseDouble(), DSN::QARC::vertex, DSN::POINT::x, and DSN::POINT::y.
Referenced by doKEEPOUT(), doSHAPE(), doWINDOW(), and doWIRE().
|
private |
Definition at line 1134 of file specctra.cpp.
References DSN::RECTANGLE::layer_id, parseDouble(), DSN::RECTANGLE::point0, DSN::RECTANGLE::point1, DSN::POINT::x, and DSN::POINT::y.
Referenced by doBOUNDARY(), doKEEPOUT(), doREGION(), doSHAPE(), doWINDOW(), and doWIRE().
|
private |
Definition at line 1624 of file specctra.cpp.
References DSN::ELEM_HOLDER::Append(), doCLASS_CLASS(), doPATH(), doRECTANGLE(), doRULE(), doSTRINGPROP(), DSN::REGION::m_polygon, DSN::REGION::m_rectangle, DSN::REGION::m_region_id, DSN::REGION::m_rules, RECTANGLE, RULE, and T.
Referenced by doPLACE(), and doSTRUCTURE().
|
private |
Definition at line 555 of file specctra.cpp.
References T, DSN::UNIT_RES::units, and DSN::UNIT_RES::value.
Referenced by doPCB(), doPLACEMENT(), doROUTE(), doSTRUCTURE(), and doWIRING().
|
private |
Definition at line 3509 of file specctra.cpp.
References doLIBRARY(), doNET_OUT(), doPARSER(), doRESOLUTION(), doSTRUCTURE_OUT(), DSN::ROUTE::library, DSN::ROUTE::net_outs, DSN::ROUTE::parser, DSN::ROUTE::resolution, DSN::ROUTE::structure_out, and T.
Referenced by doSESSION().
|
private |
Definition at line 1486 of file specctra.cpp.
References m_quote_char, DSN::RULE::m_rules, and T.
Referenced by doCLASS(), doCLASS_CLASS(), doFROMTO(), doIMAGE(), doKEEPOUT(), doLAYER(), doLAYER_RULE(), doNET(), doNET_OUT(), doPADSTACK(), doPLACE(), doREGION(), doSTRUCTURE(), and doSTRUCTURE_OUT().
|
private |
Definition at line 3378 of file specctra.cpp.
References DSN::SESSION::base_design, doHISTORY(), doPLACEMENT(), doROUTE(), doSTRUCTURE(), doWAS_IS(), DSN::SESSION::history, DSN::SESSION::placement, DSN::SESSION::route, DSN::SESSION::session_id, DSN::SESSION::structure, T, and DSN::SESSION::was_is.
Referenced by LoadSESSION().
|
private |
Definition at line 2211 of file specctra.cpp.
References CIRCLE, doCIRCLE(), doPATH(), doQARC(), doRECTANGLE(), doWINDOW(), KI_FALLTHROUGH, DSN::SHAPE::m_connect, DSN::SHAPE::m_windows, RECTANGLE, DSN::WINDOW::shape, and T.
Referenced by doIMAGE(), and doPADSTACK().
|
private |
Definition at line 605 of file specctra.cpp.
References DSN::SPECCTRA_LAYER_PAIR::layer_id0, DSN::SPECCTRA_LAYER_PAIR::layer_id1, DSN::SPECCTRA_LAYER_PAIR::layer_weight, and parseDouble().
Referenced by doLAYER_NOISE_WEIGHT().
|
private |
Definition at line 1221 of file specctra.cpp.
References DSN::STRINGPROP::value.
Referenced by doREGION(), and doSTRUCTURE().
|
private |
Definition at line 642 of file specctra.cpp.
References DSN::ELEM_HOLDER::Append(), CONTROL, doBOUNDARY(), doCONTROL(), doGRID(), doKEEPOUT(), doLAYER(), doLAYER_NOISE_WEIGHT(), doREGION(), doRESOLUTION(), doRULE(), doSTRINGPROP(), doUNIT(), doVIA(), GRID, grid, KEEPOUT, LAYER, DSN::STRUCTURE::m_boundary, DSN::STRUCTURE::m_control, DSN::STRUCTURE::m_grids, DSN::STRUCTURE::m_keepouts, DSN::STRUCTURE::m_layer_noise_weight, DSN::STRUCTURE::m_layers, DSN::STRUCTURE::m_place_boundary, DSN::STRUCTURE::m_place_rules, DSN::STRUCTURE::m_planes, DSN::STRUCTURE::m_regions, DSN::STRUCTURE::m_rules, DSN::STRUCTURE::m_unit, DSN::STRUCTURE::m_via, REGION, RULE, T, and VIA.
Referenced by doPCB(), and doSESSION().
|
private |
Definition at line 787 of file specctra.cpp.
References doLAYER(), doRULE(), LAYER, DSN::STRUCTURE_OUT::m_layers, DSN::STRUCTURE_OUT::m_rules, RULE, and T.
Referenced by doROUTE().
|
private |
Definition at line 3687 of file specctra.cpp.
References DSN::PIN_REF::component_id, empty(), DSN::SUPPLY_PIN::net_id, DSN::PIN_REF::pin_id, DSN::SUPPLY_PIN::pin_refs, readCOMPnPIN(), and T.
Referenced by doNET_OUT().
|
private |
Definition at line 1229 of file specctra.cpp.
References T, and DSN::TOKPROP::value.
Referenced by doCONTROL().
|
private |
Definition at line 2661 of file specctra.cpp.
References doCOMP_ORDER(), doFROMTO(), DSN::TOPOLOGY::m_comp_orders, DSN::TOPOLOGY::m_fromtos, and T.
Referenced by doCLASS().
|
private |
Definition at line 584 of file specctra.cpp.
References T, and DSN::UNIT_RES::units.
Referenced by doIMAGE(), doLIBRARY(), doPADSTACK(), doPCB(), doPLACEMENT(), doSTRUCTURE(), and doWIRING().
|
private |
Definition at line 1242 of file specctra.cpp.
References DSN::VIA::m_padstacks, DSN::VIA::m_spares, and T.
Referenced by doSTRUCTURE().
|
private |
Definition at line 3468 of file specctra.cpp.
References DSN::PIN_REF::component_id, empty(), DSN::PIN_PAIR::is, DSN::PIN_REF::pin_id, DSN::WAS_IS::pin_pairs, readCOMPnPIN(), T, and DSN::PIN_PAIR::was.
Referenced by doSESSION().
|
private |
Definition at line 970 of file specctra.cpp.
References CIRCLE, doCIRCLE(), doPATH(), doQARC(), doRECTANGLE(), KI_FALLTHROUGH, RECTANGLE, DSN::WINDOW::shape, and T.
Referenced by doKEEPOUT(), doSHAPE(), and doWIRE().
|
private |
Definition at line 2968 of file specctra.cpp.
References CIRCLE, doCIRCLE(), doCONNECT(), doPATH(), doQARC(), doRECTANGLE(), doWINDOW(), KI_FALLTHROUGH, DSN::WIRE::m_attr, DSN::WIRE::m_connect, DSN::WIRE::m_net_id, DSN::WIRE::m_shape, DSN::WIRE::m_shield, DSN::WIRE::m_supply, DSN::WIRE::m_turret, DSN::WIRE::m_windows, DSN::WIRE::m_wire_type, RECTANGLE, and T.
Referenced by doNET_OUT(), and doWIRING().
|
private |
Definition at line 3106 of file specctra.cpp.
References DSN::WIRE_VIA::m_attr, DSN::WIRE_VIA::m_contact_layers, DSN::WIRE_VIA::m_net_id, DSN::WIRE_VIA::m_padstack_id, DSN::WIRE_VIA::m_supply, DSN::WIRE_VIA::m_vertexes, DSN::WIRE_VIA::m_via_number, DSN::WIRE_VIA::m_via_type, DSN::WIRE_VIA::m_virtual_pin_name, parseDouble(), T, DSN::POINT::x, and DSN::POINT::y.
Referenced by doNET_OUT(), and doWIRING().
|
private |
Definition at line 3221 of file specctra.cpp.
References doRESOLUTION(), doUNIT(), doWIRE(), doWIRE_VIA(), T, DSN::WIRING::unit, WIRE, DSN::WIRING::wire_vias, and DSN::WIRING::wires.
Referenced by doPCB().
Export aNetClass to the DSN file.
Definition at line 1653 of file specctra_export.cpp.
References CLASS, clearance, NETCLASS::Default, NETCLASS::GetClearance(), NETCLASS::GetName(), BOARD::GetNetInfo(), NETCLASS::GetTrackWidth(), NETCLASS::GetViaDiameter(), NETCLASS::GetViaDrill(), m_bot_via_layer, DSN::CLASS::m_circuit, DSN::CLASS::m_class_id, DSN::CLASS::m_net_ids, m_pcb, DSN::CLASS::m_rules, DSN::RULE::m_rules, m_top_via_layer, makeVia(), RULE, scale, text, TO_UTF8, and via.
Referenced by FromBOARD().
| void DSN::SPECCTRA_DB::ExportPCB | ( | const wxString & | aFilename, |
| bool | aNameChange = false ) |
Write the internal PCB instance out as a SPECTRA DSN format file.
| aFilename | The file to save to. |
| aNameChange | If true, causes the pcb's name to change to "aFilename" and also to to be changed in the output file. |
| IO_ERROR,if | an i/o error occurs saving the file. |
Definition at line 3725 of file specctra.cpp.
References FILE_OUTPUTFORMATTER::Finish(), m_pcb, m_quote_char, and TO_UTF8.
Referenced by DSN::ExportBoardToSpecctraFile().
| void DSN::SPECCTRA_DB::ExportSESSION | ( | const wxString & | aFilename | ) |
Write the internal SESSION instance out as a #SPECTRA DSN format file.
| aFilename | The file to save to. |
Definition at line 3740 of file specctra.cpp.
References FILE_OUTPUTFORMATTER::Finish(), m_quote_char, and m_session.
Make the board perimeter for the DSN file by filling the BOUNDARY element in the specctra element tree.
| aBoard | The BOARD to get information from in order to make the BOUNDARY. |
| aBoundary | The empty BOUNDARY to fill in. |
Definition at line 1015 of file specctra_export.cpp.
References DSN::PATH::AppendPoint(), SHAPE_LINE_CHAIN::CPoint(), KEEPOUT, m_brd_outlines, m_pcb, DSN::mapPt(), path, DSN::BOUNDARY::paths, SHAPE_LINE_CHAIN::PointCount(), DSN::PATH::SetLayerId(), DSN::KEEPOUT::SetShape(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by FromBOARD().
|
private |
Return the PCB layer index for a given layer name, within the specctra sessionfile.
Definition at line 96 of file specctra.cpp.
References m_layerIds.
Referenced by makeARC(), makeTRACK(), and makeVIA().
| void DSN::SPECCTRA_DB::FlipFOOTPRINTs | ( | BOARD * | aBoard | ) |
Flip the footprints which are on the back side of the board to the front.
Definition at line 1728 of file specctra_export.cpp.
References B_Cu, BOARD::Footprints(), m_footprintsAreFlipped, and TOP_BOTTOM.
Referenced by DSN::ExportBoardToSpecctraFile().
| void DSN::SPECCTRA_DB::FromBOARD | ( | BOARD * | aBoard | ) |
Add the entire BOARD to the PCB but does not write it out.
Definition at line 1072 of file specctra_export.cpp.
References DSN::KEEPOUT::AddWindow(), DSN::WIRE::AddWindow(), LSET::AllCuMask(), ANGLE_180, DSN::PATH::AppendPoint(), DSN::VIA::AppendVia(), EDA_ANGLE::AsDegrees(), NETINFO_LIST::begin(), SHAPE_POLY_SET::BooleanSubtract(), buildLayerMaps(), clearance, comp, DSN::PIN_REF::component_id, SHAPE_POLY_SET::COutline(), NETCLASS::Default, deleteNETs(), empty(), NETINFO_LIST::end(), exportNETCLASS(), fillBOUNDARY(), BOARD::FindNet(), BOARD::Footprints(), SHAPE_POLY_SET::Fracture(), SHAPE_POLY_SET::FullPointCount(), BOARD::GetCopperLayerCount(), BOARD::GetDesignSettings(), BOARD::GetLayerType(), NETCLASS::GetName(), BOARD::GetNetInfo(), NETINFO_ITEM::GetNetname(), image, SHAPE_POLY_SET::IsEmpty(), SHAPE_POLY_SET::ITERATOR_TEMPLATE< T >::IsEndContour(), KEEPOUT, LAYER, DSN::PATH::layer_id, DSN::LAYER::layer_type, LT_JUMPER, LT_MIXED, LT_POWER, LT_SIGNAL, m_bot_via_layer, DSN::PLACE::m_component_id, m_kicadLayer2pcb, m_layerIds, DSN::NET::m_net_id, DSN::WIRE::m_net_id, DSN::WIRE_VIA::m_net_id, m_nets, BOARD_DESIGN_SETTINGS::m_NetSettings, DSN::WIRE_VIA::m_padstack_id, m_padstackset, DSN::PLACE::m_part_number, m_pcb, m_pcbLayer2kicad, DSN::NET::m_pins, DSN::PLACE::m_side, m_top_via_layer, DSN::WIRE_VIA::m_vertexes, DSN::WIRE_VIA::m_via_type, DSN::WIRE::m_wire_type, makeIMAGE(), MakePCB(), makeVia(), DSN::mapPt(), DSN::LAYER::name, name, NET, EDA_ANGLE::Normalize(), SHAPE_POLY_SET::Outline(), SHAPE_POLY_SET::OutlineCount(), path, PCB_VIA_T, pin, DSN::PIN_REF::pin_id, PLACE, SHAPE_LINE_CHAIN::PointCount(), DSN::LAYER::properties, registered, DSN::sanitizeForDSNString(), scale, DSN::PLACE::SetRotation(), DSN::KEEPOUT::SetShape(), DSN::WINDOW::SetShape(), DSN::WIRE::SetShape(), DSN::PLACE::SetVertex(), TO_UTF8, BOARD::Tracks(), SHAPE_POLY_SET::Unfracture(), via, WIRE, DSN::WIRING::wires, VECTOR2< T >::x, VECTOR2< T >::y, and BOARD::Zones().
Referenced by DSN::ExportBoardToSpecctraFile().
Add the entire SESSION info to a BOARD but does not write it out.
The BOARD given to this function will have all its tracks and via's replaced, and all its components are subject to being moved.
| aBoard | The BOARD to merge the SESSION information into. |
| aCommit | Commit used to stage removals, footprint moves, and new tracks for undo/redo and view updates. The caller is responsible for Push(). |
Definition at line 340 of file specctra_import.cpp.
References _, COMMIT::Add(), B_Cu, buildLayerMaps(), DEGREES_T, BOARD::DeleteMARKERs(), F_Cu, BOARD::FindFootprintByReference(), BOARD::FindNet(), FOOTPRINT::Flip(), From_UTF8(), BOARD::GetDesignSettings(), FOOTPRINT::GetLayer(), NETINFO_ITEM::GetNetCode(), DSN::WIRE_VIA::GetPadstackId(), FOOTPRINT::GetPosition(), DSN::GetTokenText(), DSN::ELEM::GetUnits(), DSN::PLACE::m_component_id, DSN::PLACE::m_hasVertex, DSN::WIRE::m_net_id, BOARD_DESIGN_SETTINGS::m_NetSettings, DSN::PLACE::m_rotation, m_routeResolution, m_session, m_sessionBoard, DSN::WIRE::m_shape, DSN::PLACE::m_side, DSN::PLACE::m_vertex, DSN::WIRE_VIA::m_vertexes, makeARC(), makeTRACK(), makeVIA(), DSN::mapPt(), COMMIT::Modify(), path, COMMIT::Remove(), FOOTPRINT::SetOrientation(), FOOTPRINT::SetPosition(), THROW_IO_ERROR, THROW_IO_ERRORF, TOP_BOTTOM, BOARD::Tracks(), and DSN::ELEM::Type().
Referenced by DSN::ImportSpecctraSession().
|
inline |
|
inline |
| void DSN::SPECCTRA_DB::LoadPCB | ( | const wxString & | aFilename | ) |
A recursive descent parser for a SPECCTRA DSN "design" file.
A design file is nearly a full description of a PCB (seems to be missing only the silkscreen stuff).
| aFilename | The name of the dsn file to load. |
| IO_ERROR | if there is a lexer or parser error. |
Definition at line 246 of file specctra.cpp.
| void DSN::SPECCTRA_DB::LoadSESSION | ( | const wxString & | aFilename | ) |
A recursive descent parser for a SPECCTRA DSN "session" file.
A session file is a file that is fed back from the router to the layout tool (Pcbnew) and should be used to update a BOARD object with the new tracks, vias, and component locations.
| aFilename | The name of the dsn file to load. |
| IO_ERROR | if there is a lexer or parser error. |
Definition at line 265 of file specctra.cpp.
References doSESSION(), m_session, and SetSESSION().
Referenced by DSN::ImportSpecctraSession(), and main().
Create an ARC form the PATH and BOARD info.
Definition at line 158 of file specctra_import.cpp.
References _, DSN::QARC::aperture_width, CalcArcMid(), findLayerName(), From_UTF8(), PCB_TRACK::GetEnd(), PCB_TRACK::GetStart(), DSN::QARC::layer_id, m_pcbLayer2kicad, m_routeResolution, m_sessionBoard, DSN::WIRE::m_wire_type, DSN::mapPt(), scale, PCB_TRACK::SetEnd(), BOARD_CONNECTED_ITEM::SetLayer(), BOARD_ITEM::SetLocked(), PCB_ARC::SetMid(), BOARD_CONNECTED_ITEM::SetNetCode(), PCB_TRACK::SetStart(), PCB_TRACK::SetWidth(), THROW_IO_ERRORF, and DSN::QARC::vertex.
Referenced by FromSESSION().
Allocates an I#MAGE on the heap and creates all the PINs according to the PADs in the FOOTPRINT.
Definition at line 604 of file specctra_export.cpp.
References DSN::KEEPOUT::AddWindow(), LSET::AllCuMask(), ANGLE_0, ANGLE_360, SHAPE_POLY_SET::Append(), DSN::PATH::AppendPoint(), ARC, ARC_HIGH_DEF, EDA_ANGLE::AsDegrees(), B_CrtYd, UTF8::c_str(), chain, CIRCLE, circle(), PCB_TYPE_COLLECTOR::Collect(), ConvertArcToPolyline(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), SHAPE_POLY_SET::CPolygons(), LSET::CuStack(), ERROR_INSIDE, F_CrtYd, LIB_ID::Format(), BOARD::GetCopperLayerCount(), COLLECTOR::GetCount(), FOOTPRINT::GetCourtyard(), BOARD::GetDesignSettings(), EDA_SHAPE::GetEnd(), FOOTPRINT::GetFPID(), PCB_SHAPE::GetLayer(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetShape(), EDA_SHAPE::GetStart(), PCB_SHAPE::GetWidth(), IMAGE, image, SHAPE_POLY_SET::ITERATOR_TEMPLATE< T >::IsEndContour(), PCB_SHAPE::IsOnLayer(), DSN::isRoundKeepout(), ZONE::IterateWithHoles(), KEEPOUT, DSN::PATH::layer_id, BOARD_DESIGN_SETTINGS::m_HoleClearance, m_kicadLayer2pcb, m_layerIds, DSN::PADSTACK::m_padstack_id, m_padstackset, m_pcb, makePADSTACK(), DSN::mapPt(), EDA_ANGLE::Normalize(), pad, path, PCB_PAD_T, PCB_SHAPE_T, PIN, pin, SHAPE_LINE_CHAIN::PointCount(), radius, RECTANGLE, ZONE::Rotate(), scale, SEGMENT, DSN::KEEPOUT::SetShape(), DSN::WINDOW::SetShape(), SHAPE_POLY_SET::Simplify(), TO_UTF8, PCB_SHAPE::TransformShapeToPolygon(), VECTOR2< T >::x, VECTOR2< T >::y, and FOOTPRINT::Zones().
Referenced by FromBOARD().
Create a PADSTACK which matches the given pad.
| aBoard | The owner of the PAD's footprint. |
| aPad | The PAD which needs to be made into a PADSTACK. |
Definition at line 240 of file specctra_export.cpp.
References std::abs(), PADSTACK::ALL_LAYERS, LSET::AllCuMask(), ANGLE_0, DSN::ELEM_HOLDER::Append(), DSN::PATH::AppendPoint(), BuildConvexHull(), CHAMFERED_RECT, CIRCLE, circle(), SHAPE_POLY_SET::COutline(), SHAPE_LINE_CHAIN::CPoint(), CUSTOM, delta, ERROR_INSIDE, PAD::GetBoundingBox(), PAD::GetChamferPositions(), PAD::GetChamferRectRatio(), BOARD::GetCopperLayerCount(), PAD::GetDelta(), SHAPE_POLY_SET::GetHash(), BOX2< Vec >::GetHeight(), PAD::GetLayerSet(), BOARD_ITEM::GetMaxError(), PAD::GetOffset(), PAD::GetRoundRectCornerRadius(), PAD::GetShape(), PAD::GetSize(), BOX2< Vec >::GetWidth(), PAD::IsOnLayer(), DSN::isRoundKeepout(), DSN::IU2um(), KiROUND(), m_layerIds, m_pcbLayer2kicad, M_PI, DSN::makePath(), DSN::mapPt(), PAD::MergePrimitivesAsPolygon(), SHAPE_POLY_SET::Outline(), OVAL, path, SHAPE_LINE_CHAIN::PointCount(), radius, RECTANGLE, ROUNDRECT, DSN::scale(), scale, DSN::RECTANGLE::SetCorners(), DSN::PATH::SetLayerId(), DSN::RECTANGLE::SetLayerId(), DSN::PADSTACK::SetPadstackId(), DSN::WINDOW::SetShape(), HASH_128::ToString(), TransformRoundChamferedRectToPolygon(), TRAPEZOID, DSN::POINT::x, VECTOR2< T >::x, DSN::POINT::y, and VECTOR2< T >::y.
Referenced by makeIMAGE().
|
static |
Make a PCB with all the default ELEMs and parts on the heap.
Definition at line 3752 of file specctra.cpp.
References DSN::STRUCTURE::m_boundary, DSN::PCB::m_library, DSN::PCB::m_network, DSN::PCB::m_parser, DSN::PCB::m_placement, DSN::PCB::m_resolution, DSN::STRUCTURE::m_rules, DSN::PCB::m_structure, DSN::PCB::m_unit, DSN::STRUCTURE::m_via, DSN::PCB::m_wiring, NETWORK, RULE, and VIA.
Referenced by DSN::ExportBoardToSpecctraFile(), and FromBOARD().
|
private |
Create a TRACK form the PATH and BOARD info.
Definition at line 131 of file specctra_import.cpp.
References _, DSN::PATH::aperture_width, findLayerName(), From_UTF8(), DSN::PATH::layer_id, m_pcbLayer2kicad, m_routeResolution, m_sessionBoard, DSN::WIRE::m_wire_type, DSN::mapPt(), DSN::PATH::points, scale, PCB_TRACK::SetEnd(), BOARD_CONNECTED_ITEM::SetLayer(), BOARD_ITEM::SetLocked(), BOARD_CONNECTED_ITEM::SetNetCode(), PCB_TRACK::SetStart(), PCB_TRACK::SetWidth(), and THROW_IO_ERRORF.
Referenced by FromSESSION().
|
private |
Instantiate a KiCad VIA on the heap and initializes it with internal values consistent with the given PADSTACK, POINT, and netcode.
Definition at line 186 of file specctra_import.cpp.
References _, PADSTACK::ALL_LAYERS, B_Cu, BLIND, BURIED, circle(), F_Cu, findLayerName(), From_UTF8(), DSN::ELEM_HOLDER::Length(), DSN::PADSTACK::m_padstack_id, m_pcbLayer2kicad, m_routeResolution, m_sessionBoard, DSN::WIRE_VIA::m_via_type, DSN::mapPt(), MICROVIA, pcbIUScale, scale, DSN::WINDOW::shape, THROUGH, THROW_IO_ERROR, THROW_IO_ERRORF, DSN::ELEM::Type(), UNDEFINED_DRILL_DIAMETER, and via.
Referenced by FromSESSION().
|
private |
Make a round through hole PADSTACK using the given KiCad diameter in deci-mils.
| aCopperDiameter | The diameter of the copper pad. |
| aDrillDiameter | The drill diameter, used on re-import of the session file. |
| aTopLayer | The DSN::PCB top most layer index. |
| aBotLayer | The DSN::PCB bottom most layer index. |
Definition at line 963 of file specctra_export.cpp.
References DSN::ELEM_HOLDER::Append(), CIRCLE, circle(), DSN::IU2um(), m_layerIds, name, scale, DSN::PADSTACK::SetPadstackId(), and DSN::WINDOW::SetShape().
Referenced by exportNETCLASS(), and FromBOARD().
|
private |
Read a <pin_reference> and splits it into the two parts which are on either side of the hyphen.
This function is specialized because pin_reference may or may not be using double quotes. Both of these are legal: U2-14 or "U2"-"14". The lexer treats the first one as a single T_SYMBOL, so in that case we have to split it into two here.
The caller should have already read in the first token comprising the pin_reference and it will be tested through CurTok().
| component_id | Where to put the text preceding the '-' hyphen. |
| pid_id | Where to put the text which trails the '-'. |
| IO_ERROR,if | the next token or two do no make up a pin_reference, or there is an error reading from the input stream. |
Definition at line 108 of file specctra.cpp.
References T.
Referenced by doNET(), doSUPPLY_PIN(), and doWAS_IS().
|
private |
Read a <time_stamp> which consists of 8 lexer tokens: "month date hour : minute : second year".
This function is specialized because time_stamps occur more than once in a session file. The caller should not have already read in the first token comprising the time stamp.
| time_stamp | Where to put the parsed time value. |
| IO_ERROR,if | the next token or 8 do no make up a time stamp, or there is an error reading from the input stream. |
Definition at line 150 of file specctra.cpp.
References T.
Referenced by doANCESTOR(), and doHISTORY().
| void DSN::SPECCTRA_DB::RevertFOOTPRINTs | ( | BOARD * | aBoard | ) |
Flip the footprints which were on the back side of the board back to the back.
Definition at line 1748 of file specctra_export.cpp.
References BOARD::Footprints(), m_footprintsAreFlipped, and TOP_BOTTOM.
Referenced by DSN::ExportBoardToSpecctraFile().
|
inline |
Delete any existing PCB and replaces it with the given one.
Definition at line 3643 of file specctra.h.
References m_pcb.
Referenced by DSN::ExportBoardToSpecctraFile(), and LoadPCB().
|
inline |
Delete any existing SESSION and replaces it with the given one.
Definition at line 3654 of file specctra.h.
References m_session.
Referenced by LoadSESSION().
|
staticprivate |
specctra DSN keywords
Definition at line 3938 of file specctra.h.
|
private |
Definition at line 3970 of file specctra.h.
Referenced by exportNETCLASS(), FromBOARD(), and SPECCTRA_DB().
|
private |
Definition at line 3941 of file specctra.h.
Referenced by BuiltBoardOutlines(), and fillBOUNDARY().
|
private |
Definition at line 3943 of file specctra.h.
|
private |
Definition at line 3946 of file specctra.h.
Referenced by FlipFOOTPRINTs(), RevertFOOTPRINTs(), and SPECCTRA_DB().
|
private |
maps BOARD layer number to PCB layer numbers
Definition at line 3952 of file specctra.h.
Referenced by buildLayerMaps(), FromBOARD(), and makeIMAGE().
|
private |
indexed by PCB layer number
Definition at line 3950 of file specctra.h.
Referenced by buildLayerMaps(), findLayerName(), FromBOARD(), makeIMAGE(), makePADSTACK(), and makeVia().
|
private |
we don't want ownership here permanently, so we don't use boost::ptr_vector
Definition at line 3966 of file specctra.h.
Referenced by deleteNETs(), and FromBOARD().
|
private |
Definition at line 3963 of file specctra.h.
Referenced by FromBOARD(), and makeIMAGE().
|
private |
Definition at line 3940 of file specctra.h.
Referenced by exportNETCLASS(), ExportPCB(), fillBOUNDARY(), FromBOARD(), GetPCB(), LoadPCB(), makeIMAGE(), SetPCB(), SPECCTRA_DB(), and ~SPECCTRA_DB().
|
private |
maps PCB layer number to BOARD layer numbers
Definition at line 3953 of file specctra.h.
Referenced by buildLayerMaps(), FromBOARD(), makeARC(), makePADSTACK(), makeTRACK(), and makeVIA().
|
private |
Definition at line 3944 of file specctra.h.
Referenced by doCLASS(), doPARSER(), doRULE(), ExportPCB(), ExportSESSION(), and SPECCTRA_DB().
|
private |
used during FromSESSION() only, memory for it is not owned here.
Definition at line 3956 of file specctra.h.
Referenced by FromSESSION(), makeARC(), makeTRACK(), makeVIA(), and SPECCTRA_DB().
|
private |
Definition at line 3942 of file specctra.h.
Referenced by ExportSESSION(), FromSESSION(), GetSESSION(), LoadSESSION(), SetSESSION(), SPECCTRA_DB(), and ~SPECCTRA_DB().
|
private |
a copy to avoid passing as an argument, memory for it is not owned here.
Definition at line 3959 of file specctra.h.
Referenced by FromSESSION(), makeARC(), makeTRACK(), makeVIA(), and SPECCTRA_DB().
|
private |
Definition at line 3948 of file specctra.h.
|
private |
specctra cu layers, 0 based index:
Definition at line 3969 of file specctra.h.
Referenced by exportNETCLASS(), FromBOARD(), and SPECCTRA_DB().
|
staticprivate |
Definition at line 3961 of file specctra.h.