21#ifndef SCH_DIFF_UTILS_H
22#define SCH_DIFF_UTILS_H
54 m_sch->CurrentSheet() = *aPath;
97template <
typename SHEET_VISITOR,
typename ITEM_VISITOR>
110 if( !aScope.empty() && sheetPath != aScope )
113 aSheetVisitor(
path );
130 kiidPath = sheetPath;
132 kiidPath.push_back( item->m_Uuid );
134 aItemVisitor( item,
path, kiidPath );
SHEET_SCOPE(const SHEET_SCOPE &)=delete
SHEET_SCOPE(const SCHEMATIC *aSch, const SCH_SHEET_PATH *aPath)
SHEET_SCOPE & operator=(const SHEET_SCOPE &)=delete
Holds all the data relating to one schematic.
SCH_SHEET_LIST BuildSheetListSortedByPageNumbers() const
Base class for any item which can be embedded within the SCHEMATIC container class,...
EE_RTREE & Items()
Get the full RTree, usually for iterating.
A container for handling SCH_SHEET_PATH objects in a flattened hierarchy.
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
void 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.
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.