46 static std::optional<JUMPER_GROUP>
Make( std::set<wxString> aNames );
48 bool Contains(
const wxString& aName )
const;
79 void Add( std::set<wxString> aNames );
89 const JUMPER_GROUP* FindContaining(
const wxString& aName )
const;
Represents an (ordered) list of JUMPER_GROUP objects.
void Add(JUMPER_GROUP aGroup)
Add a JUMPER_GROUP to the set.
std::vector< JUMPER_GROUP > m_groups
const std::vector< JUMPER_GROUP > & GetAll() const
bool operator==(const JUMPER_GROUP_SET &aOther) const =default
Represents a group of jumper pins or pads, keyed by name.
static std::optional< JUMPER_GROUP > Make(std::set< wxString > aNames)
Factory method to create a JUMPER_GROUP from a set of names.
bool operator==(const JUMPER_GROUP &aOther) const =default
std::set< wxString > m_names
const std::set< wxString > & GetNames() const
JUMPER_GROUP(std::set< wxString > aNames)
bool Contains(const wxString &aName) const