NIM 跨平台 C++ SDK
|
Iterator for object and array value. 更多...
#include <value.h>
Public 类型 | |
using | value_type = Value |
using | size_t = unsigned int |
using | difference_type = int |
using | reference = Value & |
using | pointer = Value * |
using | SelfType = ValueIterator |
Public 类型 继承自 nim_cpp_wrapper_util::Json::ValueIteratorBase | |
using | iterator_category = std::bidirectional_iterator_tag |
using | size_t = unsigned int |
using | difference_type = int |
using | SelfType = ValueIteratorBase |
Public 成员函数 | |
ValueIterator () | |
ValueIterator (const ValueConstIterator &other) | |
ValueIterator (const ValueIterator &other) | |
SelfType & | operator= (const SelfType &other) |
SelfType | operator++ (int) |
SelfType | operator-- (int) |
SelfType & | operator-- () |
SelfType & | operator++ () |
reference | operator* () |
pointer | operator-> () |
Public 成员函数 继承自 nim_cpp_wrapper_util::Json::ValueIteratorBase | |
bool | operator== (const SelfType &other) const |
bool | operator!= (const SelfType &other) const |
difference_type | operator- (const SelfType &other) const |
Value | key () const |
UInt | index () const |
String | name () const |
char const * | memberName () const |
char const * | memberName (char const **end) const |
ValueIteratorBase () | |
ValueIteratorBase (const Value::ObjectValues::iterator ¤t) | |
Private 成员函数 | |
ValueIterator (const Value::ObjectValues::iterator ¤t) | |
友元 | |
class | Value |
额外继承的成员函数 | |
Protected 成员函数 继承自 nim_cpp_wrapper_util::Json::ValueIteratorBase | |
const Value & | deref () const |
Value & | deref () |
void | increment () |
void | decrement () |
difference_type | computeDistance (const SelfType &other) const |
bool | isEqual (const SelfType &other) const |
void | copy (const SelfType &other) |
Iterator for object and array value.
using nim_cpp_wrapper_util::Json::ValueIterator::size_t = unsigned int |
|
default |
|
explicit |
|
default |
|
explicitprivate |
|
inline |
The return value of non-const iterators can be changed, so the these functions are not const because the returned references/pointers can be used to change state of the base class.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ValueIterator & nim_cpp_wrapper_util::Json::ValueIterator::operator= | ( | const SelfType & | other | ) |
|
friend |