|
KiCad PCB EDA Suite
|
Represents a group of jumper pins or pads, keyed by name. More...
#include <jumper_group.h>
Public Member Functions | |
| bool | Contains (const wxString &aName) const |
| const std::set< wxString > & | GetNames () const |
| bool | operator== (const JUMPER_GROUP &aOther) const =default |
Static Public Member Functions | |
| static std::optional< JUMPER_GROUP > | Make (std::set< wxString > aNames) |
| Factory method to create a JUMPER_GROUP from a set of names. | |
Private Member Functions | |
| JUMPER_GROUP (std::set< wxString > aNames) | |
Private Attributes | |
| std::set< wxString > | m_names |
Represents a group of jumper pins or pads, keyed by name.
A jumper group always has at least one non-blank name.
Jumper groups are agnostic to whether they are associated with a symbol or footprint.
Definition at line 38 of file jumper_group.h.
|
explicitprivate |
Definition at line 25 of file jumper_group.cpp.
Referenced by Make(), and operator==().
| bool JUMPER_GROUP::Contains | ( | const wxString & | aName | ) | const |
Definition at line 47 of file jumper_group.cpp.
References m_names.
|
inline |
Definition at line 49 of file jumper_group.h.
References m_names.
|
static |
Factory method to create a JUMPER_GROUP from a set of names.
Blank names are discarded.
Definition at line 31 of file jumper_group.cpp.
References JUMPER_GROUP().
Referenced by JUMPER_GROUP_SET::Add(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), CONNECTION_GRAPH::boost_test_update_symbol_connectivity, KICAD_NETLIST_PARSER::parseComponent(), PCB_IO_KICAD_SEXPR_PARSER::parseFOOTPRINT_unchecked(), SCH_IO_KICAD_SEXPR_PARSER::parseLibSymbol(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::TransferDataFromWindow(), and DIALOG_LIB_SYMBOL_PROPERTIES::TransferDataFromWindow().
|
default |
References JUMPER_GROUP().
|
private |
Definition at line 57 of file jumper_group.h.
Referenced by Contains(), GetNames(), and JUMPER_GROUP().