|
LLVM
4.0.0
|
This is an iterator abstraction over YAML collections shared by both sequences and maps. More...
#include <YAMLParser.h>
Public Member Functions | |
| basic_collection_iterator () | |
| basic_collection_iterator (BaseT *B) | |
| ValueT * | operator-> () const |
| ValueT & | operator* () const |
| operator ValueT * () const | |
| bool | operator== (const basic_collection_iterator &Other) const |
| Note on EqualityComparable: More... | |
| bool | operator!= (const basic_collection_iterator &Other) const |
| basic_collection_iterator & | operator++ () |
This is an iterator abstraction over YAML collections shared by both sequences and maps.
BaseT must have a ValueT* member named CurrentEntry and a member function increment() which must set CurrentEntry to 0 to create an end iterator.
Definition at line 309 of file YAMLParser.h.
|
inline |
Definition at line 312 of file YAMLParser.h.
|
inline |
Definition at line 313 of file YAMLParser.h.
|
inline |
Definition at line 326 of file YAMLParser.h.
References assert().
|
inline |
Definition at line 347 of file YAMLParser.h.
|
inline |
Definition at line 320 of file YAMLParser.h.
References assert().
|
inline |
Definition at line 351 of file YAMLParser.h.
References assert().
|
inline |
Definition at line 315 of file YAMLParser.h.
References assert().
|
inline |
Note on EqualityComparable:
The iterator is not re-entrant, it is meant to be used for parsing YAML on-demand Once iteration started - it can point only to one entry at a time hence Base.CurrentEntry and Other.Base.CurrentEntry are equal iff Base and Other.Base are equal.
Definition at line 338 of file YAMLParser.h.
References assert().
1.8.6