| 
    rippled
    
   | 
 
Iterator for object and array value. More...
#include <json_value.h>


Public Types | |
| using | size_t = unsigned int | 
| using | difference_type = int | 
| using | reference = Value & | 
| using | pointer = Value * | 
| using | SelfType = ValueIterator | 
Public Member Functions | |
| ValueIterator ()=default | |
| ValueIterator (ValueConstIterator const &other) | |
| ValueIterator (ValueIterator const &other) | |
| SelfType & | operator= (SelfType const &other) | 
| SelfType | operator++ (int) | 
| SelfType | operator-- (int) | 
| SelfType & | operator-- () | 
| SelfType & | operator++ () | 
| reference | operator* () const | 
| 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.   | |
| UInt | index () const | 
| Return the index of the referenced Value. -1 if it is not an arrayValue.   | |
| char const * | memberName () const | 
| Return the member name of the referenced Value.   | |
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 Member Functions | |
| ValueIterator (Value::ObjectValues::iterator const ¤t) | |
Private Attributes | |
| Value::ObjectValues::iterator | current_ | 
| bool | isNull_ | 
Friends | |
| class | Value | 
Iterator for object and array value.
Definition at line 633 of file json_value.h.
| using Json::ValueIterator::size_t = unsigned int | 
Definition at line 638 of file json_value.h.
| using Json::ValueIterator::difference_type = int | 
Definition at line 639 of file json_value.h.
| using Json::ValueIterator::reference = Value& | 
Definition at line 640 of file json_value.h.
| using Json::ValueIterator::pointer = Value* | 
Definition at line 641 of file json_value.h.
Definition at line 642 of file json_value.h.
      
  | 
  default | 
| Json::ValueIterator::ValueIterator | ( | ValueConstIterator const & | other | ) | 
Definition at line 176 of file json_valueiterator.cpp.
| Json::ValueIterator::ValueIterator | ( | ValueIterator const & | other | ) | 
Definition at line 181 of file json_valueiterator.cpp.
      
  | 
  explicitprivate | 
Definition at line 171 of file json_valueiterator.cpp.
| ValueIterator & Json::ValueIterator::operator= | ( | SelfType const & | other | ) | 
Definition at line 187 of file json_valueiterator.cpp.
| SelfType Json::ValueIterator::operator++ | ( | int | ) | 
Definition at line 658 of file json_value.h.
| SelfType Json::ValueIterator::operator-- | ( | int | ) | 
Definition at line 666 of file json_value.h.
| SelfType & Json::ValueIterator::operator-- | ( | ) | 
Definition at line 674 of file json_value.h.
| SelfType & Json::ValueIterator::operator++ | ( | ) | 
Definition at line 681 of file json_value.h.
| reference Json::ValueIterator::operator* | ( | ) | const | 
Definition at line 688 of file json_value.h.
      
  | 
  inherited | 
Definition at line 519 of file json_value.h.
      
  | 
  inherited | 
Definition at line 525 of file json_value.h.
      
  | 
  inherited | 
Return either the index or the member name of the referenced value as a Value.
Definition at line 109 of file json_valueiterator.cpp.
      
  | 
  inherited | 
Return the index of the referenced Value. -1 if it is not an arrayValue.
Definition at line 125 of file json_valueiterator.cpp.
      
  | 
  inherited | 
Return the member name of the referenced Value.
"" if it is not an objectValue.
Definition at line 136 of file json_valueiterator.cpp.
      
  | 
  protectedinherited | 
Definition at line 46 of file json_valueiterator.cpp.
      
  | 
  protectedinherited | 
Definition at line 52 of file json_valueiterator.cpp.
      
  | 
  protectedinherited | 
Definition at line 58 of file json_valueiterator.cpp.
      
  | 
  protectedinherited | 
Definition at line 64 of file json_valueiterator.cpp.
      
  | 
  protectedinherited | 
Definition at line 92 of file json_valueiterator.cpp.
      
  | 
  protectedinherited | 
Definition at line 103 of file json_valueiterator.cpp.
      
  | 
  friend | 
Definition at line 635 of file json_value.h.
      
  | 
  privateinherited | 
Definition at line 564 of file json_value.h.
      
  | 
  privateinherited | 
Definition at line 566 of file json_value.h.