webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Friends | List of all members
Json::ValueConstIterator Class Reference

const iterator for object and array value. More...

#include <value.h>

Inheritance diagram for Json::ValueConstIterator:
Json::ValueIteratorBase Json::ValueIteratorBase Json::ValueIteratorBase

Public Types

typedef unsigned int size_t
 
typedef int difference_type
 
typedef const Valuereference
 
typedef const Valuepointer
 
typedef ValueConstIterator SelfType
 
typedef unsigned int size_t
 
typedef int difference_type
 
typedef const Valuereference
 
typedef const Valuepointer
 
typedef ValueConstIterator SelfType
 
typedef const Value value_type
 
typedef const Valuereference
 
typedef const Valuepointer
 
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 ()
 
SelfTypeoperator= (const ValueIteratorBase &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
reference operator* () const
 
 ValueConstIterator ()
 
SelfTypeoperator= (const ValueIteratorBase &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
reference operator* () const
 
 ValueConstIterator ()
 
 ValueConstIterator (ValueIterator const &other)
 
SelfTypeoperator= (const ValueIteratorBase &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
reference operator* () const
 
pointer operator-> () const
 
- Public Member Functions inherited from Json::ValueIteratorBase
 ValueIteratorBase ()
 
 ValueIteratorBase (const Value::ObjectValues::iterator &current)
 
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 &current)
 
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 &current)
 

Friends

class Value
 GenericValue with UTF8 encoding. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Json::ValueIteratorBase
Valuederef () const
 
void increment ()
 
void decrement ()
 
difference_type computeDistance (const SelfType &other) const
 
bool isEqual (const SelfType &other) const
 
void copy (const SelfType &other)
 
Valuederef () const
 
void increment ()
 
void decrement ()
 
difference_type computeDistance (const SelfType &other) const
 
bool isEqual (const SelfType &other) const
 
void copy (const SelfType &other)
 
Valuederef () const
 
void increment ()
 
void decrement ()
 
difference_type computeDistance (const SelfType &other) const
 
bool isEqual (const SelfType &other) const
 
void copy (const SelfType &other)
 

Detailed Description

const iterator for object and array value.

Member Typedef Documentation

◆ difference_type [1/2]

◆ difference_type [2/2]

◆ pointer [1/3]

◆ pointer [2/3]

◆ pointer [3/3]

◆ reference [1/3]

◆ reference [2/3]

◆ reference [3/3]

◆ SelfType [1/3]

◆ SelfType [2/3]

◆ SelfType [3/3]

◆ size_t [1/2]

◆ size_t [2/2]

◆ value_type

Constructor & Destructor Documentation

◆ ValueConstIterator() [1/4]

Json::ValueConstIterator::ValueConstIterator ( )

◆ ValueConstIterator() [2/4]

Json::ValueConstIterator::ValueConstIterator ( )

◆ ValueConstIterator() [3/4]

Json::ValueConstIterator::ValueConstIterator ( )

◆ ValueConstIterator() [4/4]

Json::ValueConstIterator::ValueConstIterator ( ValueIterator const &  other)

Member Function Documentation

◆ operator*() [1/3]

reference Json::ValueConstIterator::operator* ( ) const
inline

◆ operator*() [2/3]

reference Json::ValueConstIterator::operator* ( ) const
inline

◆ operator*() [3/3]

reference Json::ValueConstIterator::operator* ( ) const
inline

◆ operator++() [1/6]

SelfType Json::ValueConstIterator::operator++ ( int  )
inline

◆ operator++() [2/6]

SelfType Json::ValueConstIterator::operator++ ( int  )
inline

◆ operator++() [3/6]

SelfType& Json::ValueConstIterator::operator++ ( )
inline

◆ operator++() [4/6]

SelfType& Json::ValueConstIterator::operator++ ( )
inline

◆ operator++() [5/6]

SelfType Json::ValueConstIterator::operator++ ( int  )
inline

◆ operator++() [6/6]

SelfType& Json::ValueConstIterator::operator++ ( )
inline

◆ operator--() [1/6]

SelfType Json::ValueConstIterator::operator-- ( int  )
inline

◆ operator--() [2/6]

SelfType Json::ValueConstIterator::operator-- ( int  )
inline

◆ operator--() [3/6]

SelfType& Json::ValueConstIterator::operator-- ( )
inline

◆ operator--() [4/6]

SelfType& Json::ValueConstIterator::operator-- ( )
inline

◆ operator--() [5/6]

SelfType Json::ValueConstIterator::operator-- ( int  )
inline

◆ operator--() [6/6]

SelfType& Json::ValueConstIterator::operator-- ( )
inline

◆ operator->()

pointer Json::ValueConstIterator::operator-> ( ) const
inline

◆ operator=() [1/3]

SelfType& Json::ValueConstIterator::operator= ( const ValueIteratorBase other)

◆ operator=() [2/3]

ValueConstIterator & Json::ValueConstIterator::operator= ( const ValueIteratorBase other)

◆ operator=() [3/3]

SelfType& Json::ValueConstIterator::operator= ( const ValueIteratorBase other)

Friends And Related Function Documentation

◆ Value

Value
friend

GenericValue with UTF8 encoding.


The documentation for this class was generated from the following files: