RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | Protected Member Functions
Json::ValueIteratorBase Class Reference

base class for Value iterators. More...

#include <value.h>

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

List of all members.

Public Types

typedef unsigned int size_t
typedef int difference_type
typedef ValueIteratorBase SelfType
typedef
std::bidirectional_iterator_tag 
iterator_category
typedef Value value_type
typedef Valuereference
typedef const Valueconst_reference

Public Member Functions

 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.
UInt index () const
 Return the index of the referenced Value. -1 if it is not an arrayValue.
const char * memberNameC () const
 Return the member name of the referenced Value. "" if it is not an objectValue.
std::string memberName () const

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)

Detailed Description

base class for Value iterators.

Definition at line 971 of file value.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator