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. | |
| Value | key () const |
| Return either the index or the member name of the referenced value as a Value. | |
| const char * | memberName () const |
| Return the member name of the referenced Value. "" if it is not an objectValue. | |
| 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 |
Reimplemented in Json::ValueIterator, and Json::ValueConstIterator.
Reimplemented in Json::ValueIterator, and Json::ValueConstIterator.
| typedef unsigned int Json::ValueIteratorBase::size_t |
Reimplemented in Json::ValueIterator, and Json::ValueConstIterator.
Definition at line 14 of file json_value.cpp.
| Json::ValueIteratorBase::ValueIteratorBase | ( | const Value::ObjectValues::iterator & | current | ) | [explicit] |
Definition at line 30 of file json_value.cpp.
| ValueIteratorBase::difference_type Json::ValueIteratorBase::computeDistance | ( | const SelfType & | other | ) | const [protected] |
Definition at line 90 of file json_value.cpp.
| void Json::ValueIteratorBase::copy | ( | const SelfType & | other | ) | [protected] |
Definition at line 144 of file json_value.cpp.
| void Json::ValueIteratorBase::decrement | ( | ) | [protected] |
Definition at line 77 of file json_value.cpp.
| Value & Json::ValueIteratorBase::deref | ( | ) | const [protected] |
Definition at line 51 of file json_value.cpp.
| void Json::ValueIteratorBase::increment | ( | ) | [protected] |
Definition at line 64 of file json_value.cpp.
| UInt Json::ValueIteratorBase::index | ( | ) | const |
Return the index of the referenced Value. -1 if it is not an arrayValue.
Definition at line 181 of file json_value.cpp.
| bool Json::ValueIteratorBase::isEqual | ( | const SelfType & | other | ) | const [protected] |
Definition at line 127 of file json_value.cpp.
| Value Json::ValueIteratorBase::key | ( | ) | const |
Return either the index or the member name of the referenced value as a Value.
Definition at line 157 of file json_value.cpp.
| const char * Json::ValueIteratorBase::memberName | ( | ) | const |
Return the member name of the referenced Value. "" if it is not an objectValue.
Definition at line 197 of file json_value.cpp.
| bool Json::ValueIteratorBase::operator!= | ( | const SelfType & | other | ) | const [inline] |
| difference_type Json::ValueIteratorBase::operator- | ( | const SelfType & | other | ) | const [inline] |
| bool Json::ValueIteratorBase::operator== | ( | const SelfType & | other | ) | const [inline] |
Value::ObjectValues::iterator Json::ValueIteratorBase::current_ [private] |
bool Json::ValueIteratorBase::isNull_ [private] |