template <bool Const, typename Encoding, typename Allocator>

class GenericMemberIterator

Defined at line 186 of file ../../third_party/rapidjson/include/rapidjson/document.h

(Constant) member iterator for a JSON object value

This class implements a Random Access Iterator for GenericMember elements

of a GenericValue, see ISO/IEC 14882:2003(E) C++ standard, 24.1 [lib.iterator.requirements].

Template Parameters

Const Is this a constant iterator?
Encoding Encoding of the value. (Even non-string values need to have the same encoding in a document)
Allocator Allocator type for allocating memory of object, array and string.

Public Methods

void GenericMemberIterator<Const, Encoding, Allocator> ()

Default constructor (singular value)

Creates an iterator pointing to no element.

Defined at line 222 of file ../../third_party/rapidjson/include/rapidjson/document.h

void GenericMemberIterator<Const, Encoding, Allocator> (const NonConstIterator & it)

Iterator conversions to more const

Allows the creation of an iterator from another GenericMemberIterator

that is "less const". Especially, creating a non-constant iterator

from a constant iterator are disabled:

Parameters

it (Non-const) iterator to copy from

Defined at line 240 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator & operator= (const NonConstIterator & it)

Defined at line 241 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator & operator++ ()

@

{

Defined at line 245 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator & operator-- ()

Defined at line 246 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator operator++ (int )

Defined at line 247 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator operator-- (int )

Defined at line 248 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator operator+ (DifferenceType n)

@

{

Defined at line 253 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator operator- (DifferenceType n)

Defined at line 254 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator & operator+= (DifferenceType n)

Defined at line 256 of file ../../third_party/rapidjson/include/rapidjson/document.h

Iterator & operator-= (DifferenceType n)

Defined at line 257 of file ../../third_party/rapidjson/include/rapidjson/document.h

template <bool Const_>
bool operator== (const GenericMemberIterator<Const_, Encoding, Allocator> & that)

@

{

Defined at line 262 of file ../../third_party/rapidjson/include/rapidjson/document.h

template <bool Const_>
bool operator!= (const GenericMemberIterator<Const_, Encoding, Allocator> & that)

Defined at line 263 of file ../../third_party/rapidjson/include/rapidjson/document.h

template <bool Const_>
bool operator<= (const GenericMemberIterator<Const_, Encoding, Allocator> & that)

Defined at line 264 of file ../../third_party/rapidjson/include/rapidjson/document.h

template <bool Const_>
bool operator>= (const GenericMemberIterator<Const_, Encoding, Allocator> & that)

Defined at line 265 of file ../../third_party/rapidjson/include/rapidjson/document.h

template <bool Const_>
bool operator< (const GenericMemberIterator<Const_, Encoding, Allocator> & that)

Defined at line 266 of file ../../third_party/rapidjson/include/rapidjson/document.h

template <bool Const_>
bool operator> (const GenericMemberIterator<Const_, Encoding, Allocator> & that)

Defined at line 267 of file ../../third_party/rapidjson/include/rapidjson/document.h

template <bool Const_>
std::strong_ordering operator<=> (const GenericMemberIterator<Const_, Encoding, Allocator> & that)

Defined at line 270 of file ../../third_party/rapidjson/include/rapidjson/document.h

Reference operator* ()

@

{

Defined at line 276 of file ../../third_party/rapidjson/include/rapidjson/document.h

Pointer operator-> ()

Defined at line 277 of file ../../third_party/rapidjson/include/rapidjson/document.h

Reference operator[] (DifferenceType n)

Defined at line 278 of file ../../third_party/rapidjson/include/rapidjson/document.h

DifferenceType operator- (ConstIterator that)

Distance

Defined at line 282 of file ../../third_party/rapidjson/include/rapidjson/document.h

Friends

template <booltypenametypename>
class GenericMemberIterator