The C++ framework for developing highly scalable, high performance servers on Windows platforms.

ValueConstIterator Class Reference

Inheritance diagram for ValueConstIterator:
Collaboration diagram for ValueConstIterator:

List of all members.


Detailed Description

const iterator for object and array value.

Public Types

typedef const Value value_type
typedef unsigned int size_t
typedef int difference_type
typedef const Valuereference
typedef const Valuepointer
typedef
ValueConstIterator 
SelfType
typedef
std::bidirectional_iterator_tag 
iterator_category

Public Member Functions

 ValueConstIterator ()
SelfTypeoperator= (const ValueIteratorBase &other)
SelfType operator++ (int)
SelfType operator-- (int)
SelfTypeoperator-- ()
SelfTypeoperator++ ()
reference operator * () const
pointer 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)

Friends

class Value

Member Typedef Documentation

typedef const Value value_type

typedef unsigned int size_t

Reimplemented from ValueIteratorBase.

typedef int difference_type

Reimplemented from ValueIteratorBase.

typedef const Value& reference

typedef const Value* pointer

Reimplemented from ValueIteratorBase.

typedef std::bidirectional_iterator_tag iterator_category [inherited]


Constructor & Destructor Documentation


Member Function Documentation

ValueConstIterator & operator= ( const ValueIteratorBase other  ) 

SelfType operator++ ( int   )  [inline]

SelfType operator-- ( int   )  [inline]

SelfType& operator-- (  )  [inline]

SelfType& operator++ (  )  [inline]

reference operator * (  )  const [inline]

pointer operator-> (  )  const [inline]

bool operator== ( const SelfType other  )  const [inline, inherited]

bool operator!= ( const SelfType other  )  const [inline, inherited]

difference_type operator- ( const SelfType other  )  const [inline, inherited]

Value key (  )  const [inherited]

Return either the index or the member name of the referenced value as a Value.

UInt index (  )  const [inherited]

Return the index of the referenced Value. -1 if it is not an arrayValue.

const char * memberName (  )  const [inherited]

Return the member name of the referenced Value. "" if it is not an objectValue.

Value & deref (  )  const [protected, inherited]

void increment (  )  [protected, inherited]

void decrement (  )  [protected, inherited]

ValueIteratorBase::difference_type computeDistance ( const SelfType other  )  const [protected, inherited]

bool isEqual ( const SelfType other  )  const [protected, inherited]

void copy ( const SelfType other  )  [protected, inherited]


Friends And Related Function Documentation

friend class Value [friend]


Generated on Sun Sep 12 19:08:08 2021 for The Server Framework - v7.4 by doxygen 1.5.3