![]() |
simdjson 5.0.1
Ridiculously Fast JSON
|
An iterator through a forward-only stream of documents. More...
#include <document_stream.h>
Public Types | |
| using | value_type = simdjson_result< element > |
| using | reference = value_type |
| using | difference_type = std::ptrdiff_t |
| using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
| simdjson_inline | iterator () noexcept |
| Default constructor. | |
| simdjson_inline reference | operator* () noexcept |
| Get the current document (or error). | |
| iterator & | operator++ () noexcept |
| Advance to the next document (prefix). | |
| simdjson_inline bool | operator!= (const iterator &other) const noexcept |
| Check if we're at the end yet. | |
An iterator through a forward-only stream of documents.
Definition at line 132 of file document_stream.h.
| using simdjson::dom::document_stream::iterator::difference_type = std::ptrdiff_t |
Definition at line 137 of file document_stream.h.
| using simdjson::dom::document_stream::iterator::iterator_category = std::input_iterator_tag |
Definition at line 139 of file document_stream.h.
Definition at line 135 of file document_stream.h.
Definition at line 134 of file document_stream.h.
|
noexcept |
Default constructor.
Definition at line 131 of file document_stream-inl.h.
|
noexcept |
Check if we're at the end yet.
| other | the end iterator to compare to. |
Definition at line 186 of file document_stream-inl.h.
|
noexcept |
Get the current document (or error).
Definition at line 149 of file document_stream-inl.h.
|
inlinenoexcept |
Advance to the next document (prefix).
Definition at line 159 of file document_stream-inl.h.