#include <genesis/utils/formats/json/iterator.hpp>
an iterator for primitive JSON types
This class models an iterator for primitive JSON types (boolean, number, string). It's only purpose is to allow the iterator/const_iterator classes to "iterate" over primitive values. Internally, the iterator is modeled by a difference_type
variable. Value begin_value (0
) models the begin, end_value (1
) models past the end.
Definition at line 150 of file formats/json/iterator.hpp.
Public Member Functions | |
constexpr bool | is_begin () const noexcept |
constexpr bool | is_end () const noexcept |
constexpr | operator difference_type () const noexcept |
operator difference_type & () noexcept | |
void | set_begin () noexcept |
void | set_end () noexcept |
|
inlineconstexprnoexcept |
Definition at line 167 of file formats/json/iterator.hpp.
|
inlineconstexprnoexcept |
Definition at line 173 of file formats/json/iterator.hpp.
|
inlineconstexprnoexcept |
Definition at line 185 of file formats/json/iterator.hpp.
|
inlinenoexcept |
Definition at line 179 of file formats/json/iterator.hpp.
|
inlinenoexcept |
Definition at line 155 of file formats/json/iterator.hpp.
|
inlinenoexcept |
Definition at line 161 of file formats/json/iterator.hpp.