#include <json.h>
JSON::Iter::Iter |
( |
Value & |
root | ) |
|
Construct from a root Value to iterate over.
JSON::Iter::Iter |
( |
Value & |
root | ) |
|
Construct from a root Value to iterate over.
const std::string & JSON::Iter::key |
( |
| ) |
const |
Return the name of the current indice.
const std::string& JSON::Iter::key |
( |
| ) |
const |
Return the name of the current indice.
unsigned int JSON::Iter::num |
( |
| ) |
const |
Return the number of the current indice.
unsigned int JSON::Iter::num |
( |
| ) |
const |
Return the number of the current indice.
JSON::Iter::operator bool |
( |
| ) |
const |
True if not done iterating.
JSON::Iter::operator bool |
( |
| ) |
const |
True if not done iterating.
Dereferences into a Value reference.
If invalid iterator, returns an empty reference and prints a warning message.
Value& JSON::Iter::operator* |
( |
| ) |
const |
Dereferences into a Value reference.
Iter& JSON::Iter::operator++ |
( |
| ) |
|
Value* JSON::Iter::operator-> |
( |
| ) |
const |
Dereferences into a Value reference.
Dereferences into a Value reference.
If invalid iterator, returns an empty reference and prints a warning message.
std::deque< Value * >::iterator JSON::Iter::aIt |
|
private |
unsigned int JSON::Iter::i |
|
private |
std::map< std::string, Value * >::iterator JSON::Iter::oIt |
|
private |
The documentation for this class was generated from the following files: