|
Wire Sysio Wire Sysion 1.0.0
|
(Constant) member iterator for a JSON object value More...
#include <document.h>
Public Types | |
| typedef GenericMemberIterator | Iterator |
| Iterator type itself. | |
| typedef GenericMemberIterator< true, Encoding, Allocator > | ConstIterator |
| Constant iterator type. | |
| typedef GenericMemberIterator< false, Encoding, Allocator > | NonConstIterator |
| Non-constant iterator type. | |
Public Member Functions | |
stepping | |
| Iterator & | operator++ () |
| Iterator & | operator-- () |
| Iterator | operator++ (int) |
| Iterator | operator-- (int) |
increment/decrement | |
| Iterator | operator+ (DifferenceType n) const |
| Iterator | operator- (DifferenceType n) const |
| Iterator & | operator+= (DifferenceType n) |
| Iterator & | operator-= (DifferenceType n) |
relations | |
| bool | operator== (ConstIterator that) const |
| bool | operator!= (ConstIterator that) const |
| bool | operator<= (ConstIterator that) const |
| bool | operator>= (ConstIterator that) const |
| bool | operator< (ConstIterator that) const |
| bool | operator> (ConstIterator that) const |
Friends | |
| class | GenericValue< Encoding, Allocator > |
| template<bool , typename , typename > | |
| class | GenericMemberIterator |
std::iterator_traits support | |
| typedef ValueType | value_type |
| typedef ValueType * | pointer |
| typedef ValueType & | reference |
| typedef std::ptrdiff_t | difference_type |
| typedef std::random_access_iterator_tag | iterator_category |
| typedef pointer | Pointer |
| Pointer to (const) GenericMember. | |
| typedef reference | Reference |
| Reference to (const) GenericMember. | |
| typedef difference_type | DifferenceType |
Signed integer type (e.g. ptrdiff_t) | |
| GenericMemberIterator () | |
| Default constructor (singular value) | |
| GenericMemberIterator (const NonConstIterator &it) | |
| Iterator conversions to more const. | |
| Iterator & | operator= (const NonConstIterator &it) |
dereference | |
| Reference | operator* () const |
| Pointer | operator-> () const |
| Reference | operator[] (DifferenceType n) const |
| DifferenceType | operator- (ConstIterator that) const |
| Distance. | |
| 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. |
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].
NULL, e.g. from GenericValue::FindMember.RAPIDJSON_NOMEMBERITERATORCLASS to fall back to a pointer-based implementation, if your platform doesn't provide the C++ <iterator> header.Definition at line 102 of file document.h.
| GenericMemberIterator<true,Encoding,Allocator> GenericMemberIterator< Const, Encoding, Allocator >::ConstIterator |
Definition at line 114 of file document.h.
| std::ptrdiff_t GenericMemberIterator< Const, Encoding, Allocator >::difference_type |
Definition at line 123 of file document.h.
| difference_type GenericMemberIterator< Const, Encoding, Allocator >::DifferenceType |
Definition at line 132 of file document.h.
| GenericMemberIterator GenericMemberIterator< Const, Encoding, Allocator >::Iterator |
Definition at line 112 of file document.h.
| std::random_access_iterator_tag GenericMemberIterator< Const, Encoding, Allocator >::iterator_category |
Definition at line 124 of file document.h.
| GenericMemberIterator<false,Encoding,Allocator> GenericMemberIterator< Const, Encoding, Allocator >::NonConstIterator |
Definition at line 116 of file document.h.
| pointer GenericMemberIterator< Const, Encoding, Allocator >::Pointer |
Definition at line 128 of file document.h.
| ValueType* GenericMemberIterator< Const, Encoding, Allocator >::pointer |
Definition at line 121 of file document.h.
| reference GenericMemberIterator< Const, Encoding, Allocator >::Reference |
Definition at line 130 of file document.h.
| ValueType& GenericMemberIterator< Const, Encoding, Allocator >::reference |
Definition at line 122 of file document.h.
| ValueType GenericMemberIterator< Const, Encoding, Allocator >::value_type |
Definition at line 120 of file document.h.
|
inline |
Creates an iterator pointing to no element.
Definition at line 138 of file document.h.
|
inline |
| it | (Non-const) iterator to copy from |
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:
Const template parameter is already false, this constructor effectively defines a regular copy-constructor. Otherwise, the copy constructor is implicitly defined. Definition at line 156 of file document.h.
|
inline |
Definition at line 179 of file document.h.
|
inline |
Definition at line 188 of file document.h.
|
inline |
Definition at line 169 of file document.h.
|
inline |
Definition at line 161 of file document.h.
|
inline |
Definition at line 163 of file document.h.
|
inline |
Definition at line 172 of file document.h.
|
inline |
Definition at line 194 of file document.h.
|
inline |
Definition at line 170 of file document.h.
|
inline |
Definition at line 162 of file document.h.
|
inline |
Definition at line 164 of file document.h.
|
inline |
Definition at line 173 of file document.h.
|
inline |
Definition at line 189 of file document.h.
|
inline |
Definition at line 182 of file document.h.
|
inline |
Definition at line 180 of file document.h.
|
inline |
Definition at line 157 of file document.h.
|
inline |
Definition at line 178 of file document.h.
|
inline |
Definition at line 183 of file document.h.
|
inline |
Definition at line 181 of file document.h.
|
inline |
Definition at line 190 of file document.h.
|
friend |
Definition at line 105 of file document.h.
|
friend |
Definition at line 71 of file document.h.