![]() |
simdjson 4.6.4
Ridiculously Fast JSON
|
A forward-only JSON array. More...
#include <array_iterator.h>
Public Types | |
| using | iterator_category = std::input_iterator_tag |
| using | value_type = simdjson_result< value > |
| using | difference_type = std::ptrdiff_t |
| using | pointer = void |
| using | reference = value_type |
Public Member Functions | |
| simdjson_inline | array_iterator () noexcept=default |
| Create a new, invalid array iterator. | |
| simdjson_inline simdjson_result< value > | operator* () noexcept |
| Get the current element. | |
| simdjson_inline bool | operator== (const array_iterator &) const noexcept |
| Check if we are at the end of the JSON. | |
| simdjson_inline bool | operator!= (const array_iterator &) const noexcept |
| Check if there are more elements in the JSON array. | |
| simdjson_inline array_iterator & | operator++ () noexcept |
| Move to the next element. | |
| simdjson_warn_unused simdjson_inline bool | at_end () const noexcept |
| Check if the array is at the end. | |
A forward-only JSON array.
This is an input_iterator, meaning:
Definition at line 24 of file array_iterator.h.
| using simdjson::SIMDJSON_IMPLEMENTATION::ondemand::array_iterator::difference_type = std::ptrdiff_t |
Definition at line 28 of file array_iterator.h.
| using simdjson::SIMDJSON_IMPLEMENTATION::ondemand::array_iterator::iterator_category = std::input_iterator_tag |
Definition at line 26 of file array_iterator.h.
| using simdjson::SIMDJSON_IMPLEMENTATION::ondemand::array_iterator::pointer = void |
Definition at line 29 of file array_iterator.h.
Definition at line 30 of file array_iterator.h.
| using simdjson::SIMDJSON_IMPLEMENTATION::ondemand::array_iterator::value_type = simdjson_result<value> |
Definition at line 27 of file array_iterator.h.
|
noexcept |
Check if the array is at the end.
Definition at line 46 of file array_iterator-inl.h.
|
noexcept |
Check if there are more elements in the JSON array.
Part of the std::iterator interface.
Definition at line 30 of file array_iterator-inl.h.
|
noexcept |
Get the current element.
Part of the std::iterator interface.
Definition at line 19 of file array_iterator-inl.h.
|
noexcept |
Move to the next element.
Part of the std::iterator interface.
Definition at line 33 of file array_iterator-inl.h.
|
noexcept |
Check if we are at the end of the JSON.
Part of the std::iterator interface.
Definition at line 27 of file array_iterator-inl.h.