|
Pico-Arduino
|
A simple key value map collection. More...
#include <Map.h>
Classes | |
| struct | MapEntry |
| Key/Value. More... | |
Public Member Functions | |
| Map (const V &empty) | |
| Construct a new Map object. More... | |
| V & | get (K key) |
| Gets an element by key. | |
| void | put (K key, V value) |
| Adds an element with a key. | |
Protected Member Functions | |
| V & | find_entry (K key) |
Protected Attributes | |
| Vector< MapEntry< K, V > > | data |
| V * | empty_ptr |
A simple key value map collection.
|
inline |
Construct a new Map object.
| empty | Default value which is provided if the key does not exist |