NIM 跨平台 C++ SDK
|
const iterator for object and array value. 更多...
#include <value.h>
Public 类型 | |
using | value_type = const Value |
using | reference = const Value & |
using | pointer = const Value * |
using | SelfType = ValueConstIterator |
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 成员函数 | |
ValueConstIterator () | |
ValueConstIterator (ValueIterator const &other) | |
SelfType & | operator= (const ValueIteratorBase &other) |
SelfType | operator++ (int) |
SelfType | operator-- (int) |
SelfType & | operator-- () |
SelfType & | operator++ () |
reference | operator* () const |
pointer | operator-> () const |
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 成员函数 | |
ValueConstIterator (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) |
const iterator for object and array value.
using nim_cpp_wrapper_util::Json::ValueConstIterator::pointer = const Value* |
using nim_cpp_wrapper_util::Json::ValueConstIterator::reference = const Value& |
|
default |
nim_cpp_wrapper_util::Json::ValueConstIterator::ValueConstIterator | ( | ValueIterator const & | other | ) |
|
explicitprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
ValueConstIterator & nim_cpp_wrapper_util::Json::ValueConstIterator::operator= | ( | const ValueIteratorBase & | other | ) |
|
friend |