simdjson 4.0.7
Ridiculously Fast JSON
Loading...
Searching...
No Matches
simdjson::dom::array::iterator Class Reference

Public Types

using value_type = element
 
using difference_type = std::ptrdiff_t
 
using pointer = void
 
using reference = value_type
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

reference operator* () const noexcept
 Get the actual value.
 
iteratoroperator++ () noexcept
 Get the next value.
 
iterator operator++ (int) noexcept
 Get the next value.
 
bool operator!= (const iterator &other) const noexcept
 Check if these values come from the same place in the JSON.
 
bool operator== (const iterator &other) const noexcept
 
bool operator< (const iterator &other) const noexcept
 
bool operator<= (const iterator &other) const noexcept
 
bool operator>= (const iterator &other) const noexcept
 
bool operator> (const iterator &other) const noexcept
 
 iterator (const iterator &) noexcept=default
 
iteratoroperator= (const iterator &) noexcept=default
 

Detailed Description

Definition at line 20 of file array.h.

Member Typedef Documentation

◆ difference_type

using simdjson::dom::array::iterator::difference_type = std::ptrdiff_t

Definition at line 23 of file array.h.

◆ iterator_category

using simdjson::dom::array::iterator::iterator_category = std::forward_iterator_tag

Definition at line 26 of file array.h.

◆ pointer

◆ reference

◆ value_type

Member Function Documentation

◆ operator!=()

bool simdjson::dom::array::iterator::operator!= ( const iterator other) const
inlinenoexcept

Check if these values come from the same place in the JSON.

Part of the std::iterator interface.

Definition at line 267 of file array-inl.h.

◆ operator*()

element simdjson::dom::array::iterator::operator* ( ) const
inlinenoexcept

Get the actual value.

Definition at line 255 of file array-inl.h.

◆ operator++() [1/2]

array::iterator & simdjson::dom::array::iterator::operator++ ( )
inlinenoexcept

Get the next value.

Part of the std::iterator interface.

Definition at line 258 of file array-inl.h.

◆ operator++() [2/2]

array::iterator simdjson::dom::array::iterator::operator++ ( int  )
inlinenoexcept

Get the next value.

Part of the std::iterator interface.

Definition at line 262 of file array-inl.h.

◆ operator<()

bool simdjson::dom::array::iterator::operator< ( const iterator other) const
inlinenoexcept

Definition at line 273 of file array-inl.h.

◆ operator<=()

bool simdjson::dom::array::iterator::operator<= ( const iterator other) const
inlinenoexcept

Definition at line 276 of file array-inl.h.

◆ operator==()

bool simdjson::dom::array::iterator::operator== ( const iterator other) const
inlinenoexcept

Definition at line 270 of file array-inl.h.

◆ operator>()

bool simdjson::dom::array::iterator::operator> ( const iterator other) const
inlinenoexcept

Definition at line 282 of file array-inl.h.

◆ operator>=()

bool simdjson::dom::array::iterator::operator>= ( const iterator other) const
inlinenoexcept

Definition at line 279 of file array-inl.h.


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