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. | |
Public Attributes | |
K | keys |
STL member. | |
T | elements |
STL member. | |
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_IO_KICAD_LEGACY::isBuffering(), SCH_IO_KICAD_SEXPR::isBuffering(), PCB_IO_EASYEDAPRO::LoadBoard(), and SCH_IO_EASYEDAPRO::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 PCB_IO_CADSTAR_ARCHIVE::LoadBoard(), and DIALOG_PLUGIN_OPTIONS::onListBoxItemSelected().
|
inherited |
STL member.
|
inherited |
STL member.