LoveBrains
1.0.0
|
base class for Value iterators. More...
#include <json.h>
Public Types | |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef unsigned int | size_t |
typedef int | difference_type |
typedef ValueIteratorBase | SelfType |
typedef std::bidirectional_iterator_tag | iterator_category |
typedef unsigned int | size_t |
typedef int | difference_type |
typedef ValueIteratorBase | SelfType |
Public Member Functions | |
bool | operator== (const SelfType &other) const |
bool | operator!= (const SelfType &other) const |
difference_type | operator- (const SelfType &other) const |
Value | key () const |
UInt | index () const |
Return the index of the referenced Value, or -1 if it is not an arrayValue. | |
std::string | name () const |
char const * | memberName () const |
char const * | memberName (char const **end) const |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
bool | operator== (const SelfType &other) const |
bool | operator!= (const SelfType &other) const |
difference_type | operator- (const SelfType &other) const |
Value | key () const |
UInt | index () const |
Return the index of the referenced Value, or -1 if it is not an arrayValue. | |
std::string | name () const |
char const * | memberName () const |
char const * | memberName (char const **end) const |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
Protected Member Functions | |
Value & | deref () const |
void | increment () |
void | decrement () |
difference_type | computeDistance (const SelfType &other) const |
bool | isEqual (const SelfType &other) const |
void | copy (const SelfType &other) |
Value & | deref () const |
void | increment () |
void | decrement () |
difference_type | computeDistance (const SelfType &other) const |
bool | isEqual (const SelfType &other) const |
void | copy (const SelfType &other) |
base class for Value iterators.
Value Json::ValueIteratorBase::key | ( | ) | const |
Return either the index or the member name of the referenced value as a Value.
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.
char const * Json::ValueIteratorBase::memberName | ( | char const ** | end | ) | const |
Return the member name of the referenced Value, or NULL if it is not an objectValue.
char const* Json::ValueIteratorBase::memberName | ( | char const ** | end | ) | const |
Return the member name of the referenced Value, or NULL if it is not an objectValue.
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. 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.