22 #include <ripple/json/json_value.h>
39 const Value::ObjectValues::iterator& current)
40 : current_(current), isNull_(false)
112 if (czstring.
c_str())
128 if (!czstring.
c_str())
129 return czstring.
index();
137 const char* name = (*current_).first.
c_str();
138 return name ? name :
"";
150 const Value::ObjectValues::iterator& current)
Iterator for object and array value.
void copy(const SelfType &other)
SelfType & operator=(const ValueIteratorBase &other)
const char * c_str() const
UInt index() const
Return the index of the referenced Value. -1 if it is not an arrayValue.
bool isEqual(const SelfType &other) const
Value key() const
Return either the index or the member name of the referenced value as a Value.
Value::ObjectValues::iterator current_
JSON (JavaScript Object Notation).
const iterator for object and array value.
base class for Value iterators.
difference_type computeDistance(const SelfType &other) const
SelfType & operator=(const SelfType &other)
Lightweight wrapper to tag static string.
bool isStaticString() const
ValueConstIterator()=default
const char * memberName() const
Return the member name of the referenced Value.