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

ValueIterator Class Reference

Inheritance diagram for ValueIterator:
Collaboration diagram for ValueIterator:

List of all members.


Detailed Description

Iterator for object and array value.

Public Types

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

Public Member Functions

 ValueIterator ()
 ValueIterator (const ValueConstIterator &other)
 ValueIterator (const ValueIterator &other)
SelfTypeoperator= (const SelfType &other)
SelfType operator++ (int)
SelfType operator-- (int)
SelfTypeoperator-- ()
SelfTypeoperator++ ()
reference operator * () const
pointer operator-> () const
 ValueIterator ()
 ValueIterator (const ValueConstIterator &other)
 ValueIterator (const ValueIterator &other)
SelfTypeoperator= (const SelfType &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
bool operator!= (const SelfType &other) const
bool operator!= (const SelfType &other) const
difference_type 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.
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.
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.
const char * memberName () const
 Return the member name of the referenced Value. "" if it is not an objectValue.

Protected Member Functions

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

Friends

class Value

Member Typedef Documentation

typedef Value value_type

typedef unsigned int size_t

Reimplemented from ValueIteratorBase.

typedef int difference_type

Reimplemented from ValueIteratorBase.

typedef Value& reference

typedef Value* pointer

Reimplemented from ValueIteratorBase.

typedef Value value_type

typedef unsigned int size_t

Reimplemented from ValueIteratorBase.

typedef int difference_type

Reimplemented from ValueIteratorBase.

typedef Value& reference

typedef Value* pointer

Reimplemented from ValueIteratorBase.

typedef std::bidirectional_iterator_tag iterator_category [inherited]

typedef std::bidirectional_iterator_tag iterator_category [inherited]


Constructor & Destructor Documentation

ValueIterator (  ) 

ValueIterator ( const ValueConstIterator other  ) 

ValueIterator ( const ValueIterator other  ) 

ValueIterator (  ) 

ValueIterator ( const ValueConstIterator other  ) 

ValueIterator ( const ValueIterator other  ) 


Member Function Documentation

ValueIterator & operator= ( const SelfType other  ) 

SelfType operator++ ( int   )  [inline]

SelfType operator-- ( int   )  [inline]

SelfType& operator-- (  )  [inline]

SelfType& operator++ (  )  [inline]

reference operator * (  )  const [inline]

pointer operator-> (  )  const [inline]

SelfType& operator= ( const SelfType 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]

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]

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.

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.

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.

const char* memberName (  )  const [inherited]

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

Value & deref (  )  const [protected, inherited]

Value& deref (  )  const [protected, inherited]

void increment (  )  [protected, inherited]

void increment (  )  [protected, inherited]

void decrement (  )  [protected, inherited]

void decrement (  )  [protected, inherited]

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

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

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

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

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

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


Friends And Related Function Documentation

Value [friend]


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