|
Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
|
Class to provide safe access to mapped value. More...
#include <ObjectMap.h>
Public Member Functions | |
| Value (ObjectMap< K, V > &map, const K &key) | |
| const K & | getKey () const |
| V * | getValue () const |
| Value & | operator= (V *newValue) |
| operator V * () const | |
| V * | operator-> () const |
| bool | remove () |
| Remove this value from the map. More... | |
| V * | extract () |
| Get the value for a given key and remove it from the map, without destroying it. More... | |
Class to provide safe access to mapped value.
operator[] returns one of these, which provides behaviour consistent with V*
|
inline |
Get the value for a given key and remove it from the map, without destroying it.
| V* |
|
inline |
Remove this value from the map.
| bool | true if the value was found and removed |