Arduino KVComm
master
Key-Value pair communication library for Arduino
|
Class for iterating over a dictionary generated by the KV_Builder, used for parsing and for checking if a key is already in the entry. More...
#include <KVComm/KV_Iterator.hpp>
Classes | |
class | iterator |
class | KV |
Public Member Functions | |
KV_Iterator (const uint8_t *buffer, size_t length) | |
iterator | begin () const |
Iterator to the first key-value entry of the dictionary. More... | |
iterator | find (const char *key) const |
Find the entry with the given key (iterates over entire dictionary). More... | |
Static Public Member Functions | |
static iterator | end () |
End/sentinel iterator. More... | |
Private Attributes | |
const uint8_t * | buffer |
size_t | bufferSize |
Class for iterating over a dictionary generated by the KV_Builder, used for parsing and for checking if a key is already in the entry.
Definition at line 42 of file KV_Iterator.hpp.
|
inline |
Definition at line 44 of file KV_Iterator.hpp.
|
inline |
Iterator to the first key-value entry of the dictionary.
Definition at line 310 of file KV_Iterator.hpp.
|
inlinestatic |
End/sentinel iterator.
Definition at line 312 of file KV_Iterator.hpp.
KV_Iterator::iterator find | ( | const char * | key | ) | const |
Find the entry with the given key (iterates over entire dictionary).
Definition at line 75 of file KV_Iterator.cpp.
|
private |
Definition at line 318 of file KV_Iterator.hpp.
|
private |
Definition at line 319 of file KV_Iterator.hpp.