KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_diff_utils.h File Reference
#include <schematic.h>
#include <sch_item.h>
#include <sch_screen.h>
#include <sch_sheet_path.h>

Go to the source code of this file.

Classes

class  KICAD_DIFF::SHEET_SCOPE
 RAII guard that temporarily swaps SCHEMATIC::CurrentSheet to a given path for the duration of a scope, restoring it on exit. More...
 

Namespaces

namespace  KICAD_DIFF
 

Functions

template<typename SHEET_VISITOR, typename ITEM_VISITOR>
void KICAD_DIFF::WalkSchematic (const SCHEMATIC *aSchematic, SHEET_VISITOR &&aSheetVisitor, ITEM_VISITOR &&aItemVisitor, const KIID_PATH &aScope={})
 Visit every SCH_ITEM in every sheet of aSchematic in page-number order.