|
KiCad PCB EDA Suite
|
#include <pads_parser.h>
Public Member Functions | |
| PARSER () | |
| ~PARSER () | |
| void | Parse (const wxString &aFileName) |
| const PARAMETERS & | GetParameters () const |
| const std::vector< PART > & | GetParts () const |
| const std::vector< NET > & | GetNets () const |
| const std::vector< ROUTE > & | GetRoutes () const |
| const std::vector< TEXT > & | GetTexts () const |
| const std::vector< LINE > & | GetLines () const |
| const std::vector< POLYLINE > & | GetBoardOutlines () const |
| const std::vector< POUR > & | GetPours () const |
| const std::map< std::string, VIA_DEF > & | GetViaDefs () const |
| const std::map< std::string, PART_DECAL > & | GetPartDecals () const |
| const std::map< std::string, PART_TYPE > & | GetPartTypes () const |
| const std::map< std::string, std::map< std::string, std::string > > & | GetPartInstanceAttrs () const |
| const std::map< std::string, REUSE_BLOCK > & | GetReuseBlocks () const |
| const std::vector< CLUSTER > & | GetClusters () const |
| const std::vector< TEST_POINT > & | GetTestPoints () const |
| const std::vector< DIMENSION > & | GetDimensions () const |
| const DESIGN_RULES & | GetDesignRules () const |
| const std::vector< NET_CLASS_DEF > & | GetNetClasses () const |
| const std::vector< DIFF_PAIR_DEF > & | GetDiffPairs () const |
| const std::vector< KEEPOUT > & | GetKeepouts () const |
| const std::vector< JUMPER_DEF > & | GetJumperDefs () const |
| const std::vector< COPPER_SHAPE > & | GetCopperShapes () const |
| const std::vector< GRAPHIC_LINE > & | GetGraphicLines () const |
| const FILE_HEADER & | GetFileHeader () const |
| bool | IsBasicUnits () const |
| std::vector< LAYER_INFO > | GetLayerInfos () const |
| Get layer information for the layer mapping dialog. | |
Private Member Functions | |
| void | parseLine (const std::string &aLine) |
| void | parseSectionPCB (std::ifstream &aStream) |
| void | parseSectionPARTS (std::ifstream &aStream) |
| void | parseSectionNETS (std::ifstream &aStream) |
| void | parseSectionROUTES (std::ifstream &aStream) |
| void | parseSectionTEXT (std::ifstream &aStream) |
| void | parseSectionBOARD (std::ifstream &aStream) |
| void | parseSectionLINES (std::ifstream &aStream) |
| void | parseSectionVIA (std::ifstream &aStream) |
| void | parseSectionPOUR (std::ifstream &aStream) |
| void | parseSectionPARTDECAL (std::ifstream &aStream) |
| void | parseSectionPARTTYPE (std::ifstream &aStream) |
| void | parseSectionREUSE (std::ifstream &aStream) |
| void | parseSectionCLUSTER (std::ifstream &aStream) |
| void | parseSectionJUMPER (std::ifstream &aStream) |
| void | parseSectionTESTPOINT (std::ifstream &aStream) |
| void | parseSectionNETCLASS (std::ifstream &aStream) |
| void | parseSectionDIFFPAIR (std::ifstream &aStream) |
| void | parseSectionLAYERDEFS (std::ifstream &aStream) |
| void | parseSectionMISC (std::ifstream &aStream) |
| void | clampDesignRuleSentinels () |
| bool | readLine (std::ifstream &aStream, std::string &aLine) |
| void | pushBackLine (const std::string &aLine) |
| int | parseMajorVersion () const |
| Parse the major version number from the file header version string. | |
Private Attributes | |
| PARAMETERS | m_parameters |
| std::vector< PART > | m_parts |
| std::vector< NET > | m_nets |
| std::vector< ROUTE > | m_routes |
| std::vector< TEXT > | m_texts |
| std::vector< LINE > | m_lines |
| std::vector< POLYLINE > | m_board_outlines |
| std::vector< POUR > | m_pours |
| std::map< std::string, VIA_DEF > | m_via_defs |
| std::map< std::string, PART_DECAL > | m_decals |
| std::map< std::string, PART_TYPE > | m_part_types |
| Per-instance attribute overrides from PART <name> {...} blocks. | |
| std::map< std::string, std::map< std::string, std::string > > | m_part_instance_attrs |
| std::map< std::string, REUSE_BLOCK > | m_reuse_blocks |
| std::vector< CLUSTER > | m_clusters |
| std::vector< TEST_POINT > | m_test_points |
| std::vector< DIMENSION > | m_dimensions |
| DESIGN_RULES | m_design_rules |
| std::vector< NET_CLASS_DEF > | m_net_classes |
| std::vector< DIFF_PAIR_DEF > | m_diff_pairs |
| std::vector< KEEPOUT > | m_keepouts |
| std::vector< JUMPER_DEF > | m_jumper_defs |
| std::vector< COPPER_SHAPE > | m_copper_shapes |
| std::vector< GRAPHIC_LINE > | m_graphic_lines |
| std::map< int, LAYER_INFO > | m_layer_defs |
| Keyed by layer number. | |
| FILE_HEADER | m_file_header |
| bool | m_is_basic_units = false |
| bool | m_has_font_lines = true |
| True if text/label entries include a font line. | |
| std::string | m_current_section |
| std::optional< std::string > | m_pushed_line |
Definition at line 664 of file pads_parser.h.
| PADS_IO::PARSER::PARSER | ( | ) |
Definition at line 126 of file pads_parser.cpp.
| PADS_IO::PARSER::~PARSER | ( | ) |
Definition at line 130 of file pads_parser.cpp.
|
private |
Definition at line 5006 of file pads_parser.cpp.
References PADS_IO::DESIGN_RULES::copper_edge_clearance, PADS_IO::DESIGN_RULES::default_clearance, and m_design_rules.
Referenced by parseSectionMISC().
|
inline |
Definition at line 678 of file pads_parser.h.
References m_board_outlines.
|
inline |
Definition at line 688 of file pads_parser.h.
References m_clusters.
|
inline |
Definition at line 696 of file pads_parser.h.
References m_copper_shapes.
|
inline |
Definition at line 691 of file pads_parser.h.
References m_design_rules.
|
inline |
Definition at line 693 of file pads_parser.h.
References m_diff_pairs.
|
inline |
Definition at line 690 of file pads_parser.h.
References m_dimensions.
|
inline |
Definition at line 698 of file pads_parser.h.
References m_file_header.
|
inline |
Definition at line 697 of file pads_parser.h.
References m_graphic_lines.
|
inline |
Definition at line 695 of file pads_parser.h.
References m_jumper_defs.
|
inline |
Definition at line 694 of file pads_parser.h.
References m_keepouts.
| std::vector< LAYER_INFO > PADS_IO::PARSER::GetLayerInfos | ( | ) | const |
Get layer information for the layer mapping dialog.
Call after Parse().
Definition at line 5018 of file pads_parser.cpp.
References PADS_IO::ASSEMBLY, info, m_layer_defs, m_parameters, PADS_IO::PASTE_MASK, PADS_IO::ROUTING, PADS_IO::SILK_SCREEN, and PADS_IO::SOLDER_MASK.
|
inline |
Definition at line 677 of file pads_parser.h.
References m_lines.
|
inline |
Definition at line 692 of file pads_parser.h.
References m_net_classes.
|
inline |
Definition at line 674 of file pads_parser.h.
References m_nets.
|
inline |
Definition at line 672 of file pads_parser.h.
References m_parameters.
|
inline |
Definition at line 681 of file pads_parser.h.
References m_decals.
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 683 of file pads_parser.h.
References m_part_instance_attrs.
|
inline |
Definition at line 673 of file pads_parser.h.
References m_parts.
|
inline |
Definition at line 682 of file pads_parser.h.
References m_part_types.
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 679 of file pads_parser.h.
References m_pours.
|
inline |
Definition at line 687 of file pads_parser.h.
References m_reuse_blocks.
|
inline |
Definition at line 675 of file pads_parser.h.
References m_routes.
|
inline |
Definition at line 689 of file pads_parser.h.
References m_test_points.
|
inline |
Definition at line 676 of file pads_parser.h.
References m_texts.
|
inline |
Definition at line 680 of file pads_parser.h.
References m_via_defs.
|
inline |
Definition at line 699 of file pads_parser.h.
References m_is_basic_units.
| void PADS_IO::PARSER::Parse | ( | const wxString & | aFileName | ) |
Definition at line 134 of file pads_parser.cpp.
References PADS_IO::INCHES, PADS_IO::LIB_LINE, PADS_IO::LIB_PART_TYPE, PADS_IO::LIB_PCB_DECAL, PADS_IO::LIB_SCH_DECAL, m_file_header, m_has_font_lines, m_is_basic_units, m_parameters, PADS_IO::METRIC, PADS_IO::MILS, parseMajorVersion(), parseSectionBOARD(), parseSectionCLUSTER(), parseSectionDIFFPAIR(), parseSectionJUMPER(), parseSectionLAYERDEFS(), parseSectionLINES(), parseSectionMISC(), parseSectionNETCLASS(), parseSectionNETS(), parseSectionPARTDECAL(), parseSectionPARTS(), parseSectionPARTTYPE(), parseSectionPCB(), parseSectionPOUR(), parseSectionREUSE(), parseSectionROUTES(), parseSectionTESTPOINT(), parseSectionTEXT(), parseSectionVIA(), PADS_IO::PCB, and readLine().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and PCB_IO_PADS::loadBoard().
|
private |
|
private |
Parse the major version number from the file header version string.
PADS version strings take the form "Vn.n" where n is a major version. The sequence is V3..V5, then V2003..V2007, V9, V9.4, V9.5, V10, etc. Returns 0 if parsing fails.
Definition at line 386 of file pads_parser.cpp.
References m_file_header.
Referenced by Parse().
|
private |
Definition at line 2620 of file pads_parser.cpp.
References PADS_IO::POLYLINE::closed, PADS_IO::ARC::cx, PADS_IO::POLYLINE::layer, m_board_outlines, M_PI, name, PADS_IO::POLYLINE::points, pushBackLine(), radius, readLine(), and PADS_IO::POLYLINE::width.
Referenced by Parse().
|
private |
Definition at line 4141 of file pads_parser.cpp.
References PADS_IO::CLUSTER::id, m_clusters, name, PADS_IO::CLUSTER::name, PADS_IO::CLUSTER::net_names, PADS_COMMON::ParseInt(), pushBackLine(), readLine(), and PADS_IO::CLUSTER::segment_refs.
Referenced by Parse().
|
private |
Definition at line 4426 of file pads_parser.cpp.
References PADS_IO::DIFF_PAIR_DEF::gap, m_diff_pairs, PADS_IO::DIFF_PAIR_DEF::name, PADS_IO::DIFF_PAIR_DEF::negative_net, PADS_IO::DIFF_PAIR_DEF::positive_net, pushBackLine(), readLine(), and PADS_IO::DIFF_PAIR_DEF::width.
Referenced by Parse().
|
private |
Definition at line 4214 of file pads_parser.cpp.
References PADS_IO::JUMPER_DEF::display_silk, PADS_IO::JUMPER_DEF::end_padstack, PADS_IO::ATTRIBUTE::font_info, PADS_IO::JUMPER_DEF::glued, PADS_IO::ATTRIBUTE::height, PADS_IO::ATTRIBUTE::hjust, PADS_IO::JUMPER_DEF::labels, PADS_IO::JUMPER_DEF::length_increment, PADS_IO::ATTRIBUTE::level, m_has_font_lines, m_jumper_defs, PADS_IO::JUMPER_DEF::max_length, PADS_IO::JUMPER_DEF::min_length, PADS_IO::ATTRIBUTE::mirrored, name, PADS_IO::JUMPER_DEF::name, PADS_IO::ATTRIBUTE::orientation, PADS_IO::JUMPER_DEF::padstack, pushBackLine(), readLine(), PADS_IO::ATTRIBUTE::right_reading, PADS_IO::JUMPER_DEF::via_enabled, PADS_IO::ATTRIBUTE::visible, PADS_IO::ATTRIBUTE::vjust, PADS_IO::ATTRIBUTE::width, PADS_IO::JUMPER_DEF::wirebond, PADS_IO::ATTRIBUTE::x, and PADS_IO::ATTRIBUTE::y.
Referenced by Parse().
|
private |
Definition at line 4501 of file pads_parser.cpp.
References PADS_IO::ASSEMBLY, PADS_IO::LAYER_INFO::copper_thickness, PADS_IO::LAYER_INFO::dielectric_constant, PADS_IO::DOCUMENTATION, PADS_IO::DRILL, PADS_IO::LAYER_INFO::is_copper, PADS_IO::LAYER_INFO::layer_thickness, PADS_IO::LAYER_INFO::layer_type, m_layer_defs, PADS_IO::MIXED, name, PADS_IO::LAYER_INFO::name, PADS_IO::LAYER_INFO::number, PADS_IO::PASTE_MASK, PADS_IO::PLANE, pushBackLine(), readLine(), PADS_IO::LAYER_INFO::required, PADS_IO::ROUTING, PADS_IO::SILK_SCREEN, PADS_IO::SOLDER_MASK, PADS_IO::UNASSIGNED, and PADS_IO::UNKNOWN.
Referenced by Parse(), and parseSectionMISC().
|
private |
Definition at line 2783 of file pads_parser.cpp.
References std::abs(), PADS_IO::ALL, PADS_IO::GRAPHIC_LINE::closed, PADS_IO::POLYLINE::closed, PADS_IO::DIMENSION::crossbar_pos, PADS_IO::ARC::cx, PADS_IO::COPPER_SHAPE::filled, PADS_IO::KEEPOUT::height_restriction, PADS_IO::COPPER_SHAPE::is_cutout, PADS_IO::DIMENSION::is_horizontal, PADS_IO::COPPER_SHAPE::layer, PADS_IO::DIMENSION::layer, PADS_IO::GRAPHIC_LINE::layer, PADS_IO::POLYLINE::layer, PADS_IO::KEEPOUT::layers, m_board_outlines, m_copper_shapes, m_dimensions, m_graphic_lines, m_has_font_lines, m_keepouts, M_PI, m_texts, PADS_IO::KEEPOUT::max_height, name, PADS_IO::COPPER_SHAPE::name, PADS_IO::DIMENSION::name, PADS_IO::GRAPHIC_LINE::name, PADS_IO::COPPER_SHAPE::net_name, PADS_IO::KEEPOUT::no_accordion, PADS_IO::KEEPOUT::no_components, PADS_IO::KEEPOUT::no_copper, PADS_IO::KEEPOUT::no_test_points, PADS_IO::KEEPOUT::no_traces, PADS_IO::KEEPOUT::no_vias, PADS_IO::normalizeNetName(), PADS_IO::COPPER_SHAPE::outline, PADS_IO::KEEPOUT::outline, PADS_IO::PLACEMENT, PADS_IO::DIMENSION::points, PADS_IO::GRAPHIC_LINE::points, PADS_IO::POLYLINE::points, pushBackLine(), radius, readLine(), PADS_IO::GRAPHIC_LINE::reuse_instance, PADS_IO::DIMENSION::rotation, PADS_IO::ROUTE, text, PADS_IO::DIMENSION::text, PADS_IO::DIMENSION::text_height, PADS_IO::DIMENSION::text_width, PADS_IO::KEEPOUT::type, PADS_IO::VIA, PADS_IO::COPPER_SHAPE::width, PADS_IO::GRAPHIC_LINE::width, PADS_IO::POLYLINE::width, PADS_IO::DIMENSION::x, PADS_IO::POINT::x, and PADS_IO::DIMENSION::y.
Referenced by Parse().
|
private |
Definition at line 4630 of file pads_parser.cpp.
References clampDesignRuleSentinels(), DESIGN_RULES, PADS_IO::DIFF_PAIR_DEF::gap, m_design_rules, m_diff_pairs, m_net_classes, m_part_instance_attrs, PADS_IO::DIFF_PAIR_DEF::name, PADS_IO::NET_CLASS_DEF::name, PADS_IO::DIFF_PAIR_DEF::negative_net, PADS_IO::NET_CLASS_DEF::net_names, parseSectionLAYERDEFS(), PADS_IO::DIFF_PAIR_DEF::positive_net, pushBackLine(), readLine(), and PADS_IO::DIFF_PAIR_DEF::width.
Referenced by Parse().
|
private |
Definition at line 4334 of file pads_parser.cpp.
References PADS_IO::NET_CLASS_DEF::clearance, PADS_IO::NET_CLASS_DEF::diff_pair_gap, PADS_IO::NET_CLASS_DEF::diff_pair_width, m_net_classes, PADS_IO::NET_CLASS_DEF::name, PADS_IO::NET_CLASS_DEF::net_names, pushBackLine(), readLine(), PADS_IO::NET_CLASS_DEF::track_width, PADS_IO::NET_CLASS_DEF::via_drill, and PADS_IO::NET_CLASS_DEF::via_size.
Referenced by Parse().
|
private |
Definition at line 743 of file pads_parser.cpp.
References end, m_nets, PADS_IO::NET::name, PADS_COMMON::ParseInt(), pin, PADS_IO::NET::pins, pushBackLine(), and readLine().
Referenced by Parse().
|
private |
Definition at line 1414 of file pads_parser.cpp.
References PADS_IO::PART_DECAL::attributes, PADS_IO::PAD_STACK_LAYER::chamfered, PADS_IO::PAD_STACK_LAYER::corner_radius, PADS_IO::ARC::cx, PADS_IO::PAD_STACK_LAYER::drill, PADS_IO::PAD_STACK_LAYER::finger_offset, PADS_IO::ATTRIBUTE::font_info, PADS_IO::ATTRIBUTE::height, PADS_IO::ATTRIBUTE::hjust, PADS_IO::PAD_STACK_LAYER::inner_diameter, PADS_IO::DECAL_ITEM::is_tag_close, PADS_IO::DECAL_ITEM::is_tag_open, PADS_IO::PART_DECAL::items, PADS_IO::DECAL_ITEM::layer, PADS_IO::PAD_STACK_LAYER::layer, PADS_IO::ATTRIBUTE::level, m_decals, m_has_font_lines, M_PI, PADS_IO::ATTRIBUTE::mirrored, name, PADS_IO::ATTRIBUTE::name, PADS_IO::PART_DECAL::name, PADS_IO::TERMINAL::name, PADS_IO::ATTRIBUTE::orientation, PADS_IO::PART_DECAL::pad_stacks, PADS_COMMON::ParseDouble(), PADS_IO::DECAL_ITEM::pinnum, PADS_IO::PAD_STACK_LAYER::plated, PADS_IO::DECAL_ITEM::points, pushBackLine(), radius, readLine(), PADS_IO::DECAL_ITEM::restrictions, PADS_IO::ATTRIBUTE::right_reading, PADS_IO::PAD_STACK_LAYER::rotation, PADS_IO::PAD_STACK_LAYER::shape, PADS_IO::PAD_STACK_LAYER::sizeA, PADS_IO::PAD_STACK_LAYER::sizeB, PADS_IO::PAD_STACK_LAYER::slot_length, PADS_IO::PAD_STACK_LAYER::slot_offset, PADS_IO::PAD_STACK_LAYER::slot_orientation, PADS_IO::PART_DECAL::terminals, PADS_IO::PAD_STACK_LAYER::thermal_outer_diameter, PADS_IO::PAD_STACK_LAYER::thermal_spoke_count, PADS_IO::PAD_STACK_LAYER::thermal_spoke_orientation, PADS_IO::PAD_STACK_LAYER::thermal_spoke_width, PADS_IO::DECAL_ITEM::type, PADS_IO::PART_DECAL::units, PADS_IO::ATTRIBUTE::visible, PADS_IO::ATTRIBUTE::vjust, PADS_IO::ATTRIBUTE::width, PADS_IO::DECAL_ITEM::width, PADS_IO::ATTRIBUTE::x, PADS_IO::TERMINAL::x, PADS_IO::ATTRIBUTE::y, and PADS_IO::TERMINAL::y.
Referenced by Parse().
|
private |
Definition at line 531 of file pads_parser.cpp.
References PADS_IO::PART::alt_decal_index, PADS_IO::PART::alternate_decals, PADS_IO::PART::attributes, PADS_IO::PART::bottom_layer, PADS_IO::PART::decal, PADS_IO::expandShortcutPattern(), PADS_IO::PART::explicit_decal, PADS_IO::ATTRIBUTE::font_info, PADS_IO::PART::glued, PADS_IO::ATTRIBUTE::height, PADS_IO::ATTRIBUTE::hjust, PADS_IO::ATTRIBUTE::level, PADS_IO::PART::location, m_has_font_lines, m_parts, PADS_IO::ATTRIBUTE::mirrored, PADS_IO::ATTRIBUTE::name, PADS_IO::PART::name, PADS_IO::ATTRIBUTE::orientation, PADS_COMMON::ParseInt(), PADS_IO::PART::part_type, pushBackLine(), readLine(), PADS_IO::PART::reuse_instance, PADS_IO::PART::reuse_part, PADS_IO::ATTRIBUTE::right_reading, PADS_IO::PART::rotation, PADS_IO::ATTRIBUTE::visible, PADS_IO::ATTRIBUTE::vjust, PADS_IO::ATTRIBUTE::width, PADS_IO::ATTRIBUTE::x, PADS_IO::POINT::x, PADS_IO::ATTRIBUTE::y, and PADS_IO::POINT::y.
Referenced by Parse().
|
private |
Definition at line 3763 of file pads_parser.cpp.
References PADS_IO::PART_TYPE::attributes, PADS_IO::BIDIRECTIONAL, PADS_IO::PART_TYPE::decal_name, PADS_IO::GATE_PIN::elec_type, empty(), PADS_IO::GATE_PIN::func_name, PADS_IO::GATE_DEF::gate_swap_type, PADS_IO::PART_TYPE::gates, PADS_IO::GROUND, PADS_IO::LOAD, m_part_types, PADS_IO::PART_TYPE::name, PADS_IO::OPEN_COLLECTOR, PADS_COMMON::ParseInt(), PADS_IO::GATE_PIN::pin_number, PADS_IO::SIGPIN::pin_number, PADS_IO::PART_TYPE::pin_pad_map, PADS_IO::GATE_DEF::pins, PADS_IO::POWER, pushBackLine(), readLine(), PADS_IO::SIGPIN::signal_name, PADS_IO::PART_TYPE::signal_pins, PADS_IO::SOURCE, PADS_IO::GATE_PIN::swap_type, PADS_IO::TERMINATOR, PADS_IO::TRISTATE, PADS_IO::UNDEFINED, and PADS_IO::SIGPIN::width.
Referenced by Parse().
|
private |
Definition at line 410 of file pads_parser.cpp.
References PADS_IO::INCHES, m_design_rules, m_parameters, PADS_IO::METRIC, PADS_IO::MILS, pushBackLine(), and readLine().
Referenced by Parse().
|
private |
Definition at line 1212 of file pads_parser.cpp.
References PADS_IO::ARC::cx, PADS_IO::POUR::hatch_grid, PADS_IO::POUR::hatch_width, PADS_IO::HATCHED, PADS_IO::POUR::is_cutout, PADS_IO::POUR::layer, m_pours, name, PADS_IO::POUR::name, PADS_IO::POUR::net_name, PADS_IO::normalizeNetName(), PADS_IO::POUR::owner_pour, PADS_IO::PAD, PADS_IO::POUR::points, PADS_IO::POUR::priority, pushBackLine(), radius, readLine(), PADS_IO::POUR::style, PADS_IO::POUR::thermal_type, PADS_IO::VIA, PADS_IO::VOIDOUT, and PADS_IO::POUR::width.
Referenced by Parse().
|
private |
Definition at line 4004 of file pads_parser.cpp.
References PADS_IO::REUSE_INSTANCE::glued, PADS_IO::REUSE_INSTANCE::instance_name, PADS_IO::REUSE_BLOCK::instances, PADS_IO::REUSE_INSTANCE::location, m_reuse_blocks, PADS_IO::REUSE_NET::merge, PADS_IO::REUSE_BLOCK::name, PADS_IO::REUSE_NET::name, PADS_IO::REUSE_BLOCK::net_naming, PADS_IO::REUSE_INSTANCE::net_naming, PADS_IO::REUSE_BLOCK::nets, PADS_IO::REUSE_BLOCK::part_names, PADS_IO::REUSE_BLOCK::part_naming, PADS_IO::REUSE_INSTANCE::part_naming, pushBackLine(), readLine(), PADS_IO::REUSE_INSTANCE::rotation, PADS_IO::REUSE_BLOCK::timestamp, PADS_IO::POINT::x, and PADS_IO::POINT::y.
Referenced by Parse().
|
private |
Definition at line 1900 of file pads_parser.cpp.
References std::abs(), PADS_IO::ARC_POINT::arc, PADS_IO::ARC::cx, PADS_IO::ARC::cy, PADS_IO::ARC::delta_angle, PADS_IO::TEARDROP::has_net_teardrop, PADS_IO::TEARDROP::has_pad_teardrop, PADS_IO::ARC_POINT::is_arc, PADS_IO::JUMPER_MARKER::is_start, PADS_IO::ROUTE::jumpers, PADS_IO::TRACK::layer, PADS_IO::VIA::location, m_parameters, M_PI, m_routes, m_via_defs, PADS_IO::JUMPER_MARKER::name, PADS_IO::VIA::name, PADS_IO::TEARDROP::net_flags, PADS_IO::TEARDROP::net_length, PADS_IO::ROUTE::net_name, PADS_IO::TEARDROP::net_width, PADS_IO::TEARDROP::pad_flags, PADS_IO::TEARDROP::pad_length, PADS_IO::TEARDROP::pad_width, pin, PADS_IO::ROUTE::pins, PADS_IO::TRACK::points, pushBackLine(), PADS_IO::ARC::radius, readLine(), PADS_IO::ROUTE, PADS_IO::ARC::start_angle, PADS_IO::ROUTE::teardrops, PADS_IO::ROUTE::tracks, via, PADS_IO::ROUTE::vias, PADS_IO::TRACK::width, PADS_IO::ARC_POINT::x, PADS_IO::JUMPER_MARKER::x, PADS_IO::ARC_POINT::y, and PADS_IO::JUMPER_MARKER::y.
Referenced by Parse().
|
private |
Definition at line 4300 of file pads_parser.cpp.
References m_test_points, pushBackLine(), readLine(), and tp.
Referenced by Parse().
|
private |
Definition at line 2488 of file pads_parser.cpp.
References m_file_header, m_has_font_lines, m_texts, PADS_COMMON::ParseDouble(), PADS_COMMON::ParseInt(), pushBackLine(), readLine(), and text.
Referenced by Parse().
|
private |
Definition at line 973 of file pads_parser.cpp.
References PADS_IO::BLIND, PADS_IO::BURIED, PADS_IO::PAD_STACK_LAYER::chamfered, PADS_IO::PAD_STACK_LAYER::corner_radius, PADS_IO::VIA_DEF::drill, PADS_IO::VIA_DEF::drill_end, PADS_IO::VIA_DEF::drill_start, PADS_IO::VIA_DEF::end_layer, PADS_IO::PAD_STACK_LAYER::finger_offset, PADS_IO::VIA_DEF::has_mask_back, PADS_IO::VIA_DEF::has_mask_front, PADS_IO::PAD_STACK_LAYER::inner_diameter, PADS_IO::PAD_STACK_LAYER::layer, m_parameters, m_via_defs, PADS_IO::MICROVIA, name, PADS_IO::VIA_DEF::name, PADS_IO::PAD_STACK_LAYER::plated, pushBackLine(), readLine(), PADS_IO::PAD_STACK_LAYER::rotation, PADS_IO::PAD_STACK_LAYER::shape, PADS_IO::VIA_DEF::size, PADS_IO::PAD_STACK_LAYER::sizeA, PADS_IO::PAD_STACK_LAYER::sizeB, PADS_IO::VIA_DEF::stack, PADS_IO::VIA_DEF::start_layer, PADS_IO::PAD_STACK_LAYER::thermal_outer_diameter, PADS_IO::PAD_STACK_LAYER::thermal_spoke_count, PADS_IO::PAD_STACK_LAYER::thermal_spoke_orientation, PADS_IO::PAD_STACK_LAYER::thermal_spoke_width, PADS_IO::THROUGH, and PADS_IO::VIA_DEF::via_type.
Referenced by Parse().
|
private |
Definition at line 380 of file pads_parser.cpp.
References m_pushed_line.
Referenced by parseSectionBOARD(), parseSectionCLUSTER(), parseSectionDIFFPAIR(), parseSectionJUMPER(), parseSectionLAYERDEFS(), parseSectionLINES(), parseSectionMISC(), parseSectionNETCLASS(), parseSectionNETS(), parseSectionPARTDECAL(), parseSectionPARTS(), parseSectionPARTTYPE(), parseSectionPCB(), parseSectionPOUR(), parseSectionREUSE(), parseSectionROUTES(), parseSectionTESTPOINT(), parseSectionTEXT(), and parseSectionVIA().
|
private |
Definition at line 358 of file pads_parser.cpp.
References m_pushed_line.
Referenced by Parse(), parseSectionBOARD(), parseSectionCLUSTER(), parseSectionDIFFPAIR(), parseSectionJUMPER(), parseSectionLAYERDEFS(), parseSectionLINES(), parseSectionMISC(), parseSectionNETCLASS(), parseSectionNETS(), parseSectionPARTDECAL(), parseSectionPARTS(), parseSectionPARTTYPE(), parseSectionPCB(), parseSectionPOUR(), parseSectionREUSE(), parseSectionROUTES(), parseSectionTESTPOINT(), parseSectionTEXT(), and parseSectionVIA().
|
private |
Definition at line 748 of file pads_parser.h.
Referenced by GetBoardOutlines(), parseSectionBOARD(), and parseSectionLINES().
|
private |
Definition at line 757 of file pads_parser.h.
Referenced by GetClusters(), and parseSectionCLUSTER().
|
private |
Definition at line 765 of file pads_parser.h.
Referenced by GetCopperShapes(), and parseSectionLINES().
|
private |
Definition at line 772 of file pads_parser.h.
|
private |
Definition at line 751 of file pads_parser.h.
Referenced by GetPartDecals(), and parseSectionPARTDECAL().
|
private |
Definition at line 760 of file pads_parser.h.
Referenced by clampDesignRuleSentinels(), GetDesignRules(), parseSectionMISC(), and parseSectionPCB().
|
private |
Definition at line 762 of file pads_parser.h.
Referenced by GetDiffPairs(), parseSectionDIFFPAIR(), and parseSectionMISC().
|
private |
Definition at line 759 of file pads_parser.h.
Referenced by GetDimensions(), and parseSectionLINES().
|
private |
Definition at line 768 of file pads_parser.h.
Referenced by GetFileHeader(), Parse(), parseMajorVersion(), and parseSectionTEXT().
|
private |
Definition at line 766 of file pads_parser.h.
Referenced by GetGraphicLines(), and parseSectionLINES().
|
private |
True if text/label entries include a font line.
Definition at line 770 of file pads_parser.h.
Referenced by Parse(), parseSectionJUMPER(), parseSectionLINES(), parseSectionPARTDECAL(), parseSectionPARTS(), and parseSectionTEXT().
|
private |
Definition at line 769 of file pads_parser.h.
Referenced by IsBasicUnits(), and Parse().
|
private |
Definition at line 764 of file pads_parser.h.
Referenced by GetJumperDefs(), and parseSectionJUMPER().
|
private |
Definition at line 763 of file pads_parser.h.
Referenced by GetKeepouts(), and parseSectionLINES().
|
private |
Keyed by layer number.
Definition at line 767 of file pads_parser.h.
Referenced by GetLayerInfos(), and parseSectionLAYERDEFS().
|
private |
Definition at line 747 of file pads_parser.h.
Referenced by GetLines().
|
private |
Definition at line 761 of file pads_parser.h.
Referenced by GetNetClasses(), parseSectionMISC(), and parseSectionNETCLASS().
|
private |
Definition at line 744 of file pads_parser.h.
Referenced by GetNets(), and parseSectionNETS().
|
private |
Definition at line 742 of file pads_parser.h.
Referenced by GetLayerInfos(), GetParameters(), Parse(), parseSectionPCB(), parseSectionROUTES(), and parseSectionVIA().
|
private |
Definition at line 755 of file pads_parser.h.
Referenced by GetPartInstanceAttrs(), and parseSectionMISC().
|
private |
Per-instance attribute overrides from PART <name> {...} blocks.
Definition at line 752 of file pads_parser.h.
Referenced by GetPartTypes(), and parseSectionPARTTYPE().
|
private |
Definition at line 743 of file pads_parser.h.
Referenced by GetParts(), and parseSectionPARTS().
|
private |
Definition at line 749 of file pads_parser.h.
Referenced by GetPours(), and parseSectionPOUR().
|
private |
Definition at line 773 of file pads_parser.h.
Referenced by pushBackLine(), and readLine().
|
private |
Definition at line 756 of file pads_parser.h.
Referenced by GetReuseBlocks(), and parseSectionREUSE().
|
private |
Definition at line 745 of file pads_parser.h.
Referenced by GetRoutes(), and parseSectionROUTES().
|
private |
Definition at line 758 of file pads_parser.h.
Referenced by GetTestPoints(), and parseSectionTESTPOINT().
|
private |
Definition at line 746 of file pads_parser.h.
Referenced by GetTexts(), parseSectionLINES(), and parseSectionTEXT().
|
private |
Definition at line 750 of file pads_parser.h.
Referenced by GetViaDefs(), parseSectionROUTES(), and parseSectionVIA().