25#include <unordered_set>
43 std::vector<wxString>
NetNames()
const;
45 std::vector<wxString>
SignalNames(
const wxString& aName )
const;
46 bool HasNet(
const wxString& aName )
const;
47 std::set<KIID_PATH>
NetSheets(
const wxString& aName )
const;
49 bool aIncludeBusMembers =
false )
const;
52 std::unordered_set<SCH_ITEM*>& aItems,
bool aIncludeBusParents =
false,
53 bool aIncludeBusMembers =
false )
const;
55 std::vector<SCH_ITEM*>
WholeNetItems(
const std::vector<SCH_ITEM*>& aSeeds,
59 std::set<const CONNECTION_SUBGRAPH*>
netSubgraphs(
const wxString& aName,
bool aIncludeBusParents,
60 bool aIncludeBusMembers )
const;
A subgraph is a set of items that are electrically connected on a single sheet.
Holds all the data relating to one schematic.
void CollectNetItems(const wxString &aName, const SCH_SHEET_PATH &aSheet, std::unordered_set< SCH_ITEM * > &aItems, bool aIncludeBusParents=false, bool aIncludeBusMembers=false) const
Add the items of a net on one sheet to aItems without building other sheets.
bool HasNet(const wxString &aName) const
std::vector< wxString > SignalNames(const wxString &aName) const
Signal itself or leaf signals of a bus, suitable for PCB cross-probing.
std::set< const CONNECTION_SUBGRAPH * > netSubgraphs(const wxString &aName, bool aIncludeBusParents, bool aIncludeBusMembers) const
NET_ITEMS_BY_SHEET NetItems(const wxString &aName, bool aIncludeBusParents, bool aIncludeBusMembers=false) const
const SCHEMATIC & m_schematic
NAVIGATION_QUERY(const SCHEMATIC &aSchematic)
std::vector< SCH_ITEM * > WholeNetItems(const std::vector< SCH_ITEM * > &aSeeds, const SCH_SHEET_PATH &aSheet) const
Whole nets containing the seeds on this instance; excludes bus parents and members.
std::set< KIID_PATH > NetSheets(const wxString &aName) const
std::vector< wxString > NetNames() const
Base class for any item which can be embedded within the SCHEMATIC container class,...
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
std::map< SCH_SHEET_PATH, std::vector< SCH_ITEM * >, SHEET_PATH_CMP > NET_ITEMS_BY_SHEET
Definition of the SCH_SHEET_PATH and SCH_SHEET_LIST classes for Eeschema.