simdjson  3.11.0
Ridiculously Fast JSON
simdjson::dom::document_stream::iterator Class Reference

An iterator through a forward-only stream of documents. More...

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).
 
iteratoroperator++ () noexcept
 Advance to the next document (prefix).
 
simdjson_inline bool operator!= (const iterator &other) const noexcept
 Check if we're at the end yet. More...
 

Detailed Description

An iterator through a forward-only stream of documents.

Definition at line 115 of file document_stream.h.

Member Function Documentation

◆ operator!=()

simdjson_inline bool simdjson::dom::document_stream::iterator::operator!= ( const iterator other) const
noexcept

Check if we're at the end yet.

Parameters
otherthe end iterator to compare to.

Definition at line 183 of file document_stream-inl.h.


The documentation for this class was generated from the following files: