base class for Value iterators. More...
#include <json.h>
Public Types | |
typedef int | difference_type |
typedef int | difference_type |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef ValueIteratorBase | SelfType |
typedef ValueIteratorBase | SelfType |
typedef unsigned int | size_t |
typedef unsigned int | size_t |
Public Member Functions | |
UInt | index () const |
Return the index of the referenced Value, or -1 if it is not an arrayValue. More... | |
UInt | index () const |
Return the index of the referenced Value, or -1 if it is not an arrayValue. More... | |
Value | key () const |
Value | key () const |
char const * | memberName () const |
char const * | memberName () const |
char const * | memberName (char const **end) const |
char const * | memberName (char const **end) const |
std::string | name () const |
std::string | name () const |
bool | operator!= (const SelfType &other) const |
bool | operator!= (const SelfType &other) const |
difference_type | operator- (const SelfType &other) const |
difference_type | operator- (const SelfType &other) const |
bool | operator== (const SelfType &other) const |
bool | operator== (const SelfType &other) const |
ValueIteratorBase () | |
ValueIteratorBase () | |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
Protected Member Functions | |
difference_type | computeDistance (const SelfType &other) const |
difference_type | computeDistance (const SelfType &other) const |
void | copy (const SelfType &other) |
void | copy (const SelfType &other) |
void | decrement () |
void | decrement () |
Value & | deref () const |
Value & | deref () const |
void | increment () |
void | increment () |
bool | isEqual (const SelfType &other) const |
bool | isEqual (const SelfType &other) const |
Private Attributes | |
Value::ObjectValues::iterator | current_ |
bool | isNull_ |
base class for Value iterators.
Definition at line 1056 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Definition at line 1060 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Definition at line 1060 of file third_party/protobuf/conformance/third_party/jsoncpp/json.h.
typedef std::bidirectional_iterator_tag Json::ValueIteratorBase::iterator_category |
Definition at line 1058 of file third_party/protobuf/conformance/third_party/jsoncpp/json.h.
typedef std::bidirectional_iterator_tag Json::ValueIteratorBase::iterator_category |
Definition at line 1058 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Definition at line 1061 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Definition at line 1061 of file third_party/protobuf/conformance/third_party/jsoncpp/json.h.
typedef unsigned int Json::ValueIteratorBase::size_t |
Definition at line 1059 of file third_party/protobuf/conformance/third_party/jsoncpp/json.h.
typedef unsigned int Json::ValueIteratorBase::size_t |
Definition at line 1059 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Json::ValueIteratorBase::ValueIteratorBase | ( | ) |
Definition at line 2251 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
explicit |
Definition at line 2255 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Json::ValueIteratorBase::ValueIteratorBase | ( | ) |
|
explicit |
|
protected |
Definition at line 2272 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
protected |
Definition at line 2306 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
protected |
|
protected |
Definition at line 2267 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
protected |
Definition at line 2259 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
protected |
|
protected |
Definition at line 2263 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
|
protected |
UInt Json::ValueIteratorBase::index | ( | ) | const |
Return the index of the referenced Value, or -1 if it is not an arrayValue.
UInt Json::ValueIteratorBase::index | ( | ) | const |
Return the index of the referenced Value, or -1 if it is not an arrayValue.
Definition at line 2321 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Definition at line 2299 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Value Json::ValueIteratorBase::key | ( | ) | const |
Return either the index or the member name of the referenced value as a Value.
Definition at line 2311 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Value Json::ValueIteratorBase::key | ( | ) | const |
Return either the index or the member name of the referenced value as a Value.
char const* Json::ValueIteratorBase::memberName | ( | ) | const |
Return the member name of the referenced Value. "" if it is not an objectValue.
char const * Json::ValueIteratorBase::memberName | ( | ) | const |
Return the member name of the referenced Value. "" if it is not an objectValue.
Definition at line 2336 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Return the member name of the referenced Value, or NULL if it is not an objectValue.
Definition at line 2341 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Return the member name of the referenced Value, or NULL if it is not an objectValue.
std::string Json::ValueIteratorBase::name | ( | ) | const |
std::string Json::ValueIteratorBase::name | ( | ) | const |
Return the member name of the referenced Value, or "" if it is not an objectValue.
c_str()
on result, as embedded zeroes are possible. Definition at line 2328 of file bloaty/third_party/protobuf/conformance/third_party/jsoncpp/jsoncpp.cpp.
Definition at line 1065 of file third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Definition at line 1065 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
|
inline |
Definition at line 1067 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
|
inline |
Definition at line 1067 of file third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Definition at line 1063 of file third_party/protobuf/conformance/third_party/jsoncpp/json.h.
Definition at line 1063 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
|
private |
Definition at line 1107 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.
|
private |
Definition at line 1109 of file third_party/bloaty/third_party/protobuf/conformance/third_party/jsoncpp/json.h.