NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_cpp_wrapper_util::Json::ValueConstIterator类 参考

const iterator for object and array value. 更多...

#include <value.h>

类 nim_cpp_wrapper_util::Json::ValueConstIterator 继承关系图:
nim_cpp_wrapper_util::Json::ValueIteratorBase

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)
 
SelfTypeoperator= (const ValueIteratorBase &other)
 
SelfType operator++ (int)
 
SelfType operator-- (int)
 
SelfTypeoperator-- ()
 
SelfTypeoperator++ ()
 
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 &current)
 

Private 成员函数

 ValueConstIterator (const Value::ObjectValues::iterator &current)
 

友元

class Value
 

额外继承的成员函数

- Protected 成员函数 继承自 nim_cpp_wrapper_util::Json::ValueIteratorBase
const Valuederef () const
 
Valuederef ()
 
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.

成员类型定义说明

◆ pointer

◆ reference

◆ SelfType

◆ value_type

构造及析构函数说明

◆ ValueConstIterator() [1/3]

nim_cpp_wrapper_util::Json::ValueConstIterator::ValueConstIterator ( )
default

◆ ValueConstIterator() [2/3]

nim_cpp_wrapper_util::Json::ValueConstIterator::ValueConstIterator ( ValueIterator const &  other)

◆ ValueConstIterator() [3/3]

nim_cpp_wrapper_util::Json::ValueConstIterator::ValueConstIterator ( const Value::ObjectValues::iterator &  current)
explicitprivate

成员函数说明

◆ operator*()

reference nim_cpp_wrapper_util::Json::ValueConstIterator::operator* ( ) const
inline

◆ operator++() [1/2]

SelfType & nim_cpp_wrapper_util::Json::ValueConstIterator::operator++ ( )
inline

◆ operator++() [2/2]

SelfType nim_cpp_wrapper_util::Json::ValueConstIterator::operator++ ( int  )
inline

◆ operator--() [1/2]

SelfType & nim_cpp_wrapper_util::Json::ValueConstIterator::operator-- ( )
inline

◆ operator--() [2/2]

SelfType nim_cpp_wrapper_util::Json::ValueConstIterator::operator-- ( int  )
inline

◆ operator->()

pointer nim_cpp_wrapper_util::Json::ValueConstIterator::operator-> ( ) const
inline

◆ operator=()

ValueConstIterator & nim_cpp_wrapper_util::Json::ValueConstIterator::operator= ( const ValueIteratorBase other)

友元及相关函数文档

◆ Value

friend class Value
friend

该类的文档由以下文件生成: