KiCad PCB EDA Suite
|
A name/value tuple with unique names and optional values. More...
#include <string_utf8_map.h>
Public Member Functions | |
bool | Clear (const std::string &aProperty) |
bool | Exists (const std::string &aProperty) const |
bool | Value (const char *aName, UTF8 *aFetchedValue=nullptr) const |
Fetch a property by aName and returns true if that property was found, else false. More... | |
Public Attributes | |
K | keys |
STL member. More... | |
T | elements |
STL member. More... | |
A name/value tuple with unique names and optional values.
The names may be iterated alphabetically.
Definition at line 33 of file string_utf8_map.h.
|
inline |
Definition at line 36 of file string_utf8_map.h.
|
inline |
Definition at line 41 of file string_utf8_map.h.
Referenced by SCH_SEXPR_PLUGIN::isBuffering(), SCH_LEGACY_PLUGIN::isBuffering(), EASYEDAPRO_PLUGIN::LoadBoard(), and SCH_EASYEDAPRO_PLUGIN::LoadSchematicFile().
bool STRING_UTF8_MAP::Value | ( | const char * | aName, |
UTF8 * | aFetchedValue = nullptr |
||
) | const |
Fetch a property by aName and returns true if that property was found, else false.
If not found, aFetchedValue is not touched.
aName | is the property or option to look for. |
aFetchedValue | is where to put the value of the property if it exists and aFetchedValue is not NULL. |
Definition at line 24 of file string_utf8_map.cpp.
References find.
Referenced by CADSTAR_PCB_ARCHIVE_PLUGIN::LoadBoard(), and DIALOG_PLUGIN_OPTIONS::onListBoxItemSelected().
|
inherited |
STL member.
|
inherited |
STL member.