base class for Value iterators. More...
#include <value.h>
Public Types | |
typedef int | difference_type |
typedef ValueIteratorBase | SelfType |
typedef unsigned int | size_t |
Public Member Functions | |
UInt | index () const |
Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
Value | key () const |
Return either the index or the member name of the referenced value as a Value. More... | |
const char * | memberName () const |
Return the member name of the referenced Value. "" if it is not an objectValue. More... | |
bool | operator!= (const SelfType &other) const |
difference_type | operator- (const SelfType &other) const |
bool | operator== (const SelfType &other) const |
ValueIteratorBase () | |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
Protected Member Functions | |
difference_type | computeDistance (const SelfType &other) const |
void | copy (const SelfType &other) |
void | decrement () |
Value & | deref () const |
void | increment () |
bool | isEqual (const SelfType &other) const |
Private Attributes | |
Value::ObjectValues::iterator | current_ |
bool | isNull_ |
typedef int Json::ValueIteratorBase::difference_type |
typedef unsigned int Json::ValueIteratorBase::size_t |
Json::ValueIteratorBase::ValueIteratorBase | ( | ) |
|
explicit |
|
protected |
Referenced by operator-().
|
protected |
|
protected |
Referenced by Json::ValueConstIterator::operator--(), and Json::ValueIterator::operator--().
|
protected |
Referenced by Json::ValueConstIterator::operator*(), and Json::ValueIterator::operator*().
|
protected |
Referenced by Json::ValueConstIterator::operator++(), and Json::ValueIterator::operator++().
UInt Json::ValueIteratorBase::index | ( | ) | const |
Return the index of the referenced Value. -1 if it is not an arrayValue.
Referenced by BeautifulSoup.PageElement::insert().
|
protected |
Referenced by operator!=(), and operator==().
Value Json::ValueIteratorBase::key | ( | ) | const |
Return either the index or the member name of the referenced value as a Value.
const char* Json::ValueIteratorBase::memberName | ( | ) | const |
Return the member name of the referenced Value. "" if it is not an objectValue.
|
inline |
|
inline |
|
inline |
|
private |