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

ValueIteratorBase Class Reference

Inheritance diagram for ValueIteratorBase:
Collaboration diagram for ValueIteratorBase:

List of all members.


Detailed Description

base class for Value iterators.

Public Types

typedef
std::bidirectional_iterator_tag 
iterator_category
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

 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.
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.
 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.
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)
Valuederef () const
void increment ()
void decrement ()
difference_type computeDistance (const SelfType &other) const
bool isEqual (const SelfType &other) const
void copy (const SelfType &other)

Member Typedef Documentation

typedef std::bidirectional_iterator_tag iterator_category

typedef unsigned int size_t

typedef std::bidirectional_iterator_tag iterator_category

typedef unsigned int size_t


Constructor & Destructor Documentation

ValueIteratorBase ( const Value::ObjectValues::iterator &  current  )  [explicit]

ValueIteratorBase ( const Value::ObjectValues::iterator &  current  )  [explicit]


Member Function Documentation

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

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

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

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.

Value & deref (  )  const [protected]

void increment (  )  [protected]

void decrement (  )  [protected]

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

bool isEqual ( const SelfType other  )  const [protected]

void copy ( const SelfType other  )  [protected]

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

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

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

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.

Value& deref (  )  const [protected]

void increment (  )  [protected]

void decrement (  )  [protected]

difference_type computeDistance ( const SelfType other  )  const [protected]

bool isEqual ( const SelfType other  )  const [protected]

void copy ( const SelfType other  )  [protected]


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