webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
const iterator for object and array value. More...
#include <value.h>
Public Types | |
typedef unsigned int | size_t |
typedef int | difference_type |
typedef const Value & | reference |
typedef const Value * | pointer |
typedef ValueConstIterator | SelfType |
typedef unsigned int | size_t |
typedef int | difference_type |
typedef const Value & | reference |
typedef const Value * | pointer |
typedef ValueConstIterator | SelfType |
typedef const Value | value_type |
typedef const Value & | reference |
typedef const Value * | pointer |
typedef ValueConstIterator | SelfType |
Public Types inherited from Json::ValueIteratorBase | |
typedef unsigned int | size_t |
typedef int | difference_type |
typedef ValueIteratorBase | SelfType |
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 | |
ValueConstIterator () | |
SelfType & | operator= (const ValueIteratorBase &other) |
SelfType | operator++ (int) |
SelfType | operator-- (int) |
SelfType & | operator-- () |
SelfType & | operator++ () |
reference | operator* () const |
ValueConstIterator () | |
SelfType & | operator= (const ValueIteratorBase &other) |
SelfType | operator++ (int) |
SelfType | operator-- (int) |
SelfType & | operator-- () |
SelfType & | operator++ () |
reference | operator* () const |
ValueConstIterator () | |
ValueConstIterator (ValueIterator const &other) | |
SelfType & | operator= (const ValueIteratorBase &other) |
SelfType | operator++ (int) |
SelfType | operator-- (int) |
SelfType & | operator-- () |
SelfType & | operator++ () |
reference | operator* () const |
pointer | operator-> () const |
Public Member Functions inherited from Json::ValueIteratorBase | |
ValueIteratorBase () | |
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 |
Return either the index or the member name of the referenced value as a Value. More... | |
UInt | index () const |
Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
const char * | memberName () const |
Return the member name of the referenced Value. "" if it is not an objectValue. More... | |
ValueIteratorBase () | |
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 |
Return either the index or the member name of the referenced value as a Value. More... | |
UInt | index () const |
Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
const char * | memberName () const |
Return the member name of the referenced Value. "" if it is not an objectValue. More... | |
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. More... | |
std::string | name () const |
char const * | memberName () const |
char const * | memberName (char const **end) const |
ValueIteratorBase () | |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
Friends | |
class | Value |
GenericValue with UTF8 encoding. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Json::ValueIteratorBase | |
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) |
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) |
const iterator for object and array value.
typedef unsigned int Json::ValueConstIterator::size_t |
typedef unsigned int Json::ValueConstIterator::size_t |
Json::ValueConstIterator::ValueConstIterator | ( | ) |
Json::ValueConstIterator::ValueConstIterator | ( | ) |
Json::ValueConstIterator::ValueConstIterator | ( | ) |
Json::ValueConstIterator::ValueConstIterator | ( | ValueIterator const & | other | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
SelfType& Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
ValueConstIterator & Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
SelfType& Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
|
friend |
GenericValue with UTF8 encoding.