|
rippled
|
base class for Value iterators. More...
#include <json_value.h>


Public Types | |
| using | size_t = unsigned int |
| using | difference_type = int |
| using | SelfType = ValueIteratorBase |
Public Member Functions | |
| ValueIteratorBase () | |
| ValueIteratorBase (Value::ObjectValues::iterator const ¤t) | |
| bool | operator== (SelfType const &other) const |
| bool | operator!= (SelfType const &other) const |
| Value | key () const |
| Return either the index or the member name of the referenced value as a Value. More... | |
| UInt | index () const |
| Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
| char const * | memberName () const |
| Return the member name of the referenced Value. More... | |
Protected Member Functions | |
| Value & | deref () const |
| void | increment () |
| void | decrement () |
| difference_type | computeDistance (SelfType const &other) const |
| bool | isEqual (SelfType const &other) const |
| void | copy (SelfType const &other) |
Private Attributes | |
| Value::ObjectValues::iterator | current_ |
| bool | isNull_ |
base class for Value iterators.
Definition at line 508 of file json_value.h.
| using Json::ValueIteratorBase::size_t = unsigned int |
Definition at line 511 of file json_value.h.
| using Json::ValueIteratorBase::difference_type = int |
Definition at line 512 of file json_value.h.
Definition at line 513 of file json_value.h.
| Json::ValueIteratorBase::ValueIteratorBase | ( | ) |
Definition at line 35 of file json_valueiterator.cpp.
|
explicit |
Definition at line 39 of file json_valueiterator.cpp.
| bool Json::ValueIteratorBase::operator== | ( | SelfType const & | other | ) | const |
Definition at line 520 of file json_value.h.
| bool Json::ValueIteratorBase::operator!= | ( | SelfType const & | other | ) | const |
Definition at line 526 of file json_value.h.
| Value Json::ValueIteratorBase::key | ( | ) | const |
Return either the index or the member name of the referenced value as a Value.
Definition at line 109 of file json_valueiterator.cpp.
| UInt Json::ValueIteratorBase::index | ( | ) | const |
Return the index of the referenced Value. -1 if it is not an arrayValue.
Definition at line 125 of file json_valueiterator.cpp.
| char const * Json::ValueIteratorBase::memberName | ( | ) | const |
Return the member name of the referenced Value.
"" if it is not an objectValue.
Definition at line 136 of file json_valueiterator.cpp.
|
protected |
Definition at line 46 of file json_valueiterator.cpp.
|
protected |
Definition at line 52 of file json_valueiterator.cpp.
|
protected |
Definition at line 58 of file json_valueiterator.cpp.
|
protected |
Definition at line 64 of file json_valueiterator.cpp.
|
protected |
Definition at line 92 of file json_valueiterator.cpp.
|
protected |
Definition at line 103 of file json_valueiterator.cpp.
|
private |
Definition at line 565 of file json_value.h.
|
private |
Definition at line 567 of file json_value.h.