KiCad PCB EDA Suite
|
A name/value tuple with unique names and wxAny values. More...
#include <string_any_map.h>
Public Member Functions | |
STRING_ANY_MAP (double aIUScale=1.0) | |
template<typename T > | |
bool | get_to (const std::string &aKey, T &aVar) const |
template<typename T > | |
bool | get_to_iu (const std::string &aKey, T &aVar) const |
template<typename T > | |
void | set (const std::string &aKey, const T &aVar) |
template<typename T > | |
void | set_iu (const std::string &aKey, const T &aVar) |
bool | contains (const std::string &aKey) const |
template<typename T > | |
std::optional< T > | get_opt (const std::string &aKey) const |
Public Attributes | |
K | keys |
STL member. | |
T | elements |
STL member. | |
Private Attributes | |
double | m_iuScale |
A name/value tuple with unique names and wxAny values.
The names may be iterated alphabetically.
Definition at line 35 of file string_any_map.h.
|
inline |
Definition at line 41 of file string_any_map.h.
|
inline |
Definition at line 92 of file string_any_map.h.
References find.
Referenced by get_opt(), get_to(), and get_to_iu().
|
inline |
Definition at line 98 of file string_any_map.h.
References contains().
Referenced by PCB_TUNING_PATTERN::SetProperties().
|
inline |
Definition at line 44 of file string_any_map.h.
References contains().
Referenced by PCB_GENERATOR::SetProperties(), and PCB_TUNING_PATTERN::SetProperties().
|
inline |
Definition at line 53 of file string_any_map.h.
References contains(), and m_iuScale.
Referenced by PCB_TUNING_PATTERN::SetProperties().
|
inline |
Definition at line 81 of file string_any_map.h.
Referenced by PCB_GENERATOR::GetProperties(), and PCB_TUNING_PATTERN::GetProperties().
|
inline |
Definition at line 87 of file string_any_map.h.
References m_iuScale.
Referenced by PCB_TUNING_PATTERN::GetProperties().
|
inherited |
STL member.
|
inherited |
STL member.
|
private |
Definition at line 37 of file string_any_map.h.
Referenced by get_to_iu(), and set_iu().