KiCad PCB EDA Suite
|
#include "pns_log_file.h"
#include <router/pns_segment.h>
#include <board_design_settings.h>
#include <pcbnew/plugins/kicad/pcb_plugin.h>
#include <pcbnew/drc/drc_engine.h>
#include <project.h>
#include <project/project_local_settings.h>
#include <../../tests/common/console_log.h>
Go to the source code of this file.
Functions | |
static const wxString | readLine (FILE *f) |
std::shared_ptr< SHAPE > | parseShape (SHAPE_TYPE expectedType, wxStringTokenizer &aTokens) |
bool | comparePnsItems (const PNS::ITEM *a, const PNS::ITEM *b) |
const std::set< PNS::ITEM * > | deduplicate (const std::vector< PNS::ITEM * > &items) |
Definition at line 193 of file pns_log_file.cpp.
References PNS::VIA::Diameter(), PNS::VIA::Drill(), PNS::ITEM::Kind(), PNS::ITEM::Layers(), PNS::ITEM::Net(), PNS::VIA::Pos(), PNS::SEGMENT::Seg(), PNS::ITEM::SEGMENT_T, PNS::ITEM::VIA_T, and PNS::SEGMENT::Width().
Referenced by PNS_LOG_FILE::COMMIT_STATE::Compare(), and deduplicate().
Definition at line 235 of file pns_log_file.cpp.
References comparePnsItems().
Referenced by PNS_LOG_FILE::COMMIT_STATE::Compare().
std::shared_ptr< SHAPE > parseShape | ( | SHAPE_TYPE | expectedType, |
wxStringTokenizer & | aTokens | ||
) |
Definition at line 72 of file pns_log_file.cpp.
References SH_CIRCLE, SH_SEGMENT, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by SCH_SEXPR_PARSER::parsePin(), PNS_LOG_FILE::parsePnsSegmentFromString(), and PNS_LOG_FILE::parsePnsViaFromString().
|
static |
Definition at line 58 of file pns_log_file.cpp.
Referenced by PNS_LOG_FILE::Load().