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

Method KeyValueNumber

lib/SettingsService/src/KeyValue.h:156–164  ·  view source on GitHub ↗

* Constructs a key value pair. * * @param[in] key Key * @param[in] name User friendly name * @param[in] defValue Default value * @param[in] min Minimum value * @param[in] max Maximum value */

Source from the content-addressed store, hash-verified

154 * @param[in] max Maximum value
155 */
156 KeyValueNumber(const char* key, const char* name, T defValue, T min, T max) :
157 KeyValue(),
158 m_key(key),
159 m_name(name),
160 m_defValue(defValue),
161 m_min(min),
162 m_max(max)
163 {
164 }
165
166 /**
167 * Constructs a key value pair.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected