|
| GenericMemberIterator () |
| Default constructor (singular value)
|
|
| GenericMemberIterator (const NonConstIterator &it) |
| Iterator conversions to more const
|
|
Iterator & | operator= (const NonConstIterator &it) |
|
|
Iterator & | operator++ () |
|
Iterator & | operator-- () |
|
Iterator | operator++ (int) |
|
Iterator | operator-- (int) |
|
|
Iterator | operator+ (DifferenceType n) const |
|
Iterator | operator- (DifferenceType n) const |
|
Iterator & | operator+= (DifferenceType n) |
|
Iterator & | operator-= (DifferenceType n) |
|
|
template<bool Const_> |
bool | operator== (const GenericMemberIterator< Const_, Encoding, Allocator > &that) const |
|
template<bool Const_> |
bool | operator!= (const GenericMemberIterator< Const_, Encoding, Allocator > &that) const |
|
template<bool Const_> |
bool | operator<= (const GenericMemberIterator< Const_, Encoding, Allocator > &that) const |
|
template<bool Const_> |
bool | operator>= (const GenericMemberIterator< Const_, Encoding, Allocator > &that) const |
|
template<bool Const_> |
bool | operator< (const GenericMemberIterator< Const_, Encoding, Allocator > &that) const |
|
template<bool Const_> |
bool | operator> (const GenericMemberIterator< Const_, Encoding, Allocator > &that) const |
|
template<bool Const, typename
Encoding, typename
Allocator>
class rapidjson::GenericMemberIterator< Const, Encoding, Allocator >
(Constant) member iterator for a JSON object value
- 模板参数
-
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].
- 注解
- This iterator implementation is mainly intended to avoid implicit conversions from iterator values to
NULL
, e.g. from GenericValue::FindMember.
-
Define
RAPIDJSON_NOMEMBERITERATORCLASS
to fall back to a pointer-based implementation, if your platform doesn't provide the C++ <iterator> header.
- 参见
- GenericMember, GenericValue::MemberIterator, GenericValue::ConstMemberIterator