26#include <unordered_set>
45 std::vector<wxString>
NetNames()
const;
47 std::vector<wxString>
SignalNames(
const wxString& aName )
const;
48 bool HasNet(
const wxString& aName )
const;
49 std::set<KIID_PATH>
NetSheets(
const wxString& aName )
const;
51 bool aIncludeBusMembers =
false )
const;
54 std::unordered_set<SCH_ITEM*>& aItems,
bool aIncludeBusParents =
false,
55 bool aIncludeBusMembers =
false )
const;
57 std::vector<SCH_ITEM*>
WholeNetItems(
const std::vector<SCH_ITEM*>& aSeeds,
61 std::set<const CONNECTION_SUBGRAPH*>
netSubgraphs(
const wxString& aName,
bool aIncludeBusParents,
62 bool aIncludeBusMembers )
const;
64 bool aIncludeBusMembers )
const;
70 mutable std::optional<PATH_INDEX>
m_paths;
A subgraph is a set of items that are electrically connected on a single sheet.
Holds all the data relating to one schematic.
std::optional< PATH_INDEX > m_paths
void CollectNetItems(const wxString &aName, const SCH_SHEET_PATH &aSheet, std::unordered_set< SCH_ITEM * > &aItems, bool aIncludeBusParents=false, bool aIncludeBusMembers=false) const
bool HasNet(const wxString &aName) const
std::vector< wxString > SignalNames(const wxString &aName) const
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
std::map< KIID_PATH, SCH_SHEET_PATH > PATH_INDEX
const SCHEMATIC & m_schematic
NAVIGATION_QUERY(const SCHEMATIC &aSchematic)
NET_ITEMS_BY_SHEET netItemsByEngine(const wxString &aName, bool aIncludeBusParents, bool aIncludeBusMembers) const
std::vector< SCH_ITEM * > WholeNetItems(const std::vector< SCH_ITEM * > &aSeeds, const SCH_SHEET_PATH &aSheet) const
const PATH_INDEX & paths() const
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...
Value keys and the key session of the schematic connectivity engine.
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.