MCPcopy Create free account
hub / github.com/SmingHub/Sming / extract

Method extract

Sming/Core/Data/ObjectMap.h:109–112  ·  view source on GitHub ↗

* @brief Get the value for a given key and remove it from the map, without destroying it * @retval V* * @note The returned object must be freed by the caller when no longer required */

Source from the content-addressed store, hash-verified

107 * @note The returned object must be freed by the caller when no longer required
108 */
109 V* extract()
110 {
111 return map.extract(key);
112 }
113
114 private:
115 ObjectMap<K, V>& map;

Callers

nothing calls this directly

Calls 1

extractMethod · 0.45

Tested by

no test coverage detected