Drizzled Public API Documentation

Json::ValueConstIterator Class Reference

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

#include <value.h>

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

Public Types

typedef unsigned int size_t
 
typedef int difference_type
 
typedef const Valuereference
 
typedef const Valuepointer
 
typedef ValueConstIterator SelfType
 

Public Member Functions

SelfTypeoperator= (const ValueIteratorBase &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
reference operator* () const
 
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.
 
UInt index () const
 Return the index of the referenced Value. -1 if it is not an arrayValue.
 
const char * memberName () const
 Return the member name of the referenced Value. "" if it is not an objectValue.
 

Protected Member Functions

Valuederef () const
 
void increment ()
 
void decrement ()
 
difference_type computeDistance (const SelfType &other) const
 
bool isEqual (const SelfType &other) const
 
void copy (const SelfType &other)
 

Private Member Functions

 ValueConstIterator (const Value::ObjectValues::iterator &current)
 

Friends

class Value
 

Detailed Description

const iterator for object and array value.

Definition at line 988 of file value.h.


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