Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
base class for Value iterators. More...
#include <jsoncpp.h>
Public Types | |
typedef unsigned int | vcl_size_t |
typedef int | difference_type |
typedef ValueIteratorBase | SelfType |
Public Member Functions | |
ValueIteratorBase () | |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
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. More... | |
UInt | index () const |
Return the index of the referenced Value. -1 if it is not an arrayValue. More... | |
const char * | memberName () const |
Return the member name of the referenced Value. "" if it is not an objectValue. More... | |
Protected Member Functions | |
Value & | deref () const |
void | increment () |
void | decrement () |
difference_type | computeDistance (const SelfType &other) const |
bool | isEqual (const SelfType &other) const |
void | copy (const SelfType &other) |
typedef int Json::ValueIteratorBase::difference_type |
typedef unsigned int Json::ValueIteratorBase::vcl_size_t |
Json::ValueIteratorBase::ValueIteratorBase | ( | ) |
Definition at line 1245 of file jsoncpp.cpp.
|
explicit |
Definition at line 1261 of file jsoncpp.cpp.
|
protected |
Definition at line 1321 of file jsoncpp.cpp.
Referenced by operator-().
|
protected |
Definition at line 1375 of file jsoncpp.cpp.
Referenced by Json::ValueConstIterator::operator=(), and Json::ValueIterator::operator=().
|
protected |
Definition at line 1308 of file jsoncpp.cpp.
Referenced by Json::ValueConstIterator::operator--(), and Json::ValueIterator::operator--().
|
protected |
Definition at line 1282 of file jsoncpp.cpp.
Referenced by Json::ValueConstIterator::operator*(), and Json::ValueIterator::operator*().
|
protected |
Definition at line 1295 of file jsoncpp.cpp.
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.
Definition at line 1412 of file jsoncpp.cpp.
|
protected |
Definition at line 1358 of file jsoncpp.cpp.
References equals().
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.
Definition at line 1388 of file jsoncpp.cpp.
References memberName().
const char * Json::ValueIteratorBase::memberName | ( | ) | const |
Return the member name of the referenced Value. "" if it is not an objectValue.
Definition at line 1428 of file jsoncpp.cpp.
Referenced by key().
|
inline |
|
inline |
Definition at line 1253 of file jsoncpp.h.
References computeDistance().
|
inline |