3#include <xrpl/json/json_forwards.h>
4#include <xrpl/json/json_value.h>
61 for (Value::ObjectValues::iterator it =
current_; it != other.
current_; ++it)
107 if (!czString.
c_str())
108 return czString.
index();
116 char const* name = (*current_).first.
c_str();
117 return name ? name :
"";
Lightweight wrapper to tag static string.
const iterator for object and array value.
SelfType & operator=(ValueIteratorBase const &other)
ValueConstIterator()=default
base class for Value iterators.
void copy(SelfType const &other)
Value key() const
Return either the index or the member name of the referenced value as a Value.
bool isEqual(SelfType const &other) const
char const * memberName() const
Return the member name of the referenced Value.
UInt index() const
Return the index of the referenced Value. -1 if it is not an arrayValue.
difference_type computeDistance(SelfType const &other) const
Value::ObjectValues::iterator current_
Iterator for object and array value.
SelfType & operator=(SelfType const &other)
bool isStaticString() const
char const * c_str() const
JSON (JavaScript Object Notation).