57 for (Value::ObjectValues::iterator it =
current_; it != other.
current_; ++it) {
77 if (czstring.
data()) {
88 return czstring.
index();
102 const char* cname = (*current_).first.data();
103 return cname ? cname :
"";
107 const char* cname = (*current_).first.data();
112 *end = cname + (*current_).first.length();
Lightweight wrapper to tag static string.
Definition value.h:149
ArrayIndex index() const
Definition json_value.cpp:330
bool isStaticString() const
Definition json_value.cpp:341
char const * data() const
Definition json_value.cpp:335
unsigned length() const
Definition json_value.cpp:338
const iterator for object and array value.
Definition value.h:869
SelfType & operator=(const ValueIteratorBase &other)
Definition json_valueiterator.inl:132
Represents a JSON value.
Definition value.h:196
nim_cpp_wrapper_util::Json::UInt UInt
Definition value.h:203
base class for Value iterators.
Definition value.h:798
ValueIteratorBase()
Definition json_valueiterator.inl:19
bool isNull_
Definition value.h:857
void decrement()
Definition json_valueiterator.inl:37
Value::ObjectValues::iterator current_
Definition value.h:855
void increment()
Definition json_valueiterator.inl:33
bool isEqual(const SelfType &other) const
Definition json_valueiterator.inl:63
Value key() const
Definition json_valueiterator.inl:75
char const * memberName() const
Definition json_valueiterator.inl:101
String name() const
Definition json_valueiterator.inl:92
int difference_type
Definition value.h:802
const Value & deref() const
Definition json_valueiterator.inl:29
UInt index() const
Definition json_valueiterator.inl:85
void copy(const SelfType &other)
Definition json_valueiterator.inl:70
difference_type computeDistance(const SelfType &other) const
Definition json_valueiterator.inl:41
Iterator for object and array value.
Definition value.h:920
SelfType & operator=(const SelfType &other)
Definition json_valueiterator.inl:157
JSONCPP_NORETURN void throwRuntimeError(String const &msg)
used internally
Definition json_value.cpp:223
unsigned int UInt
Definition config.h:89
std::basic_string< char, std::char_traits< char >, Allocator< char > > String
Definition config.h:110
JSON (JavaScript Object Notation).
Definition allocator.h:14
#define false
Definition stdbool.h:33