Open Lighting Architecture
0.9.2
|
An iterator for traversing a JsonPointer.
The iterator allows forward iteration only. Iterators don't allow modifications to the underlying JsonPointer.
Public Member Functions | |
Iterator (const JsonPointer *pointer) | |
bool | IsValid () const |
Check if this iterator is valid. | |
bool | AtEnd () const |
Check if the iterator is pointing to the last token. | |
Iterator & | operator++ () |
Move the iterator to the next token in the pointer. | |
Iterator & | operator++ (int) |
Move the iterator to the next token in the pointer. | |
std::string | operator* () const |
Return the current token. |
|
inline |
Check if this iterator is valid.
An iterator is invalid if it refers to a token path the end of the pointer.