MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / KeyValueString

Method KeyValueString

lib/SettingsService/src/KeyValueString.h:74–83  ·  view source on GitHub ↗

* Constructs a key value pair. * * @param[in] key The key of the key value pair. * @param[in] name The name of the key value pair. * @param[in] defValue The default value of the key value pair. * @param[in] min The min. length of the value. * @param[in] max The max. length of the value. * @param[in] isSecret Is the

Source from the content-addressed store, hash-verified

72 * @param[in] isSecret Is the value secret?
73 */
74 KeyValueString(const char* key, const char* name, const char* defValue, size_t min, size_t max, bool isSecret = false) :
75 KeyValue(),
76 m_key(key),
77 m_name(name),
78 m_defValue(defValue),
79 m_min(min),
80 m_max(max),
81 m_isSecret(isSecret)
82 {
83 }
84
85 /**
86 * Constructs a key value pair.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected