|
rippled
|
const iterator for object and array value. More...


Public Types | |
| using | size_t = unsigned int |
| using | difference_type = int |
| using | reference = const Value & |
| using | pointer = const Value * |
| using | SelfType = ValueConstIterator |
Public Member Functions | |
| ValueConstIterator ()=default | |
| SelfType & | operator= (const ValueIteratorBase &other) |
| SelfType | operator++ (int) |
| SelfType | operator-- (int) |
| SelfType & | operator-- () |
| SelfType & | operator++ () |
| reference | operator* () const |
| bool | operator== (const SelfType &other) const |
| bool | operator!= (const SelfType &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... | |
| const char * | memberName () const |
| Return the member name of the referenced Value. More... | |
Protected Member Functions | |
| Value & | deref () const |
| void | increment () |
| void | decrement () |
| difference_type | computeDistance (const SelfType &other) const |
| bool | isEqual (const SelfType &other) const |
| void | copy (const SelfType &other) |
Private Member Functions | |
| ValueConstIterator (const Value::ObjectValues::iterator ¤t) | |
Private Attributes | |
| Value::ObjectValues::iterator | current_ |
| bool | isNull_ |
Friends | |
| class | Value |
const iterator for object and array value.
Definition at line 559 of file json_value.h.
| using Json::ValueConstIterator::size_t = unsigned int |
Definition at line 564 of file json_value.h.
| using Json::ValueConstIterator::difference_type = int |
Definition at line 565 of file json_value.h.
| using Json::ValueConstIterator::reference = const Value& |
Definition at line 566 of file json_value.h.
| using Json::ValueConstIterator::pointer = const Value* |
Definition at line 567 of file json_value.h.
Definition at line 568 of file json_value.h.
|
default |
|
explicitprivate |
Definition at line 149 of file json_valueiterator.cpp.
| ValueConstIterator & Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
Definition at line 156 of file json_valueiterator.cpp.
| SelfType Json::ValueConstIterator::operator++ | ( | int | ) |
Definition at line 582 of file json_value.h.
| SelfType Json::ValueConstIterator::operator-- | ( | int | ) |
Definition at line 590 of file json_value.h.
| SelfType& Json::ValueConstIterator::operator-- | ( | ) |
Definition at line 598 of file json_value.h.
| SelfType& Json::ValueConstIterator::operator++ | ( | ) |
Definition at line 605 of file json_value.h.
| reference Json::ValueConstIterator::operator* | ( | ) | const |
Definition at line 612 of file json_value.h.
|
inherited |
Definition at line 506 of file json_value.h.
|
inherited |
Definition at line 512 of file json_value.h.
|
inherited |
Return either the index or the member name of the referenced value as a Value.
Definition at line 108 of file json_valueiterator.cpp.
|
inherited |
Return the index of the referenced Value. -1 if it is not an arrayValue.
Definition at line 124 of file json_valueiterator.cpp.
|
inherited |
Return the member name of the referenced Value.
"" if it is not an objectValue.
Definition at line 135 of file json_valueiterator.cpp.
|
protectedinherited |
Definition at line 45 of file json_valueiterator.cpp.
|
protectedinherited |
Definition at line 51 of file json_valueiterator.cpp.
|
protectedinherited |
Definition at line 57 of file json_valueiterator.cpp.
|
protectedinherited |
Definition at line 63 of file json_valueiterator.cpp.
|
protectedinherited |
Definition at line 91 of file json_valueiterator.cpp.
|
protectedinherited |
Definition at line 102 of file json_valueiterator.cpp.
|
friend |
Definition at line 561 of file json_value.h.
|
privateinherited |
Definition at line 551 of file json_value.h.
|
privateinherited |
Definition at line 553 of file json_value.h.
1.8.17