|
nfx-json 1.5.2
Modern C++20 JSON library with schema validation and generation
|
Value iterator (mutable). More...
#include <nfx/json/Document.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| iterator category (forward iterator) | |
| using | value_type = Document |
| iterator value type | |
| using | difference_type = std::ptrdiff_t |
| iterator difference type | |
| using | pointer = Document* |
| iterator pointer type | |
| using | reference = Document& |
| iterator reference type | |
Public Member Functions | |
| iterator (Object::iterator it) | |
| Construct iterator from underlying Object iterator. | |
| iterator (const iterator &)=default | |
| Copy constructor. | |
| iterator (iterator &&) noexcept=default | |
| Move constructor. | |
| iterator & | operator= (const iterator &)=default |
| Copy assignment. | |
| iterator & | operator= (iterator &&) noexcept=default |
| Move assignment. | |
| reference | operator* () const |
| Dereference operator. | |
| pointer | operator-> () const |
| Arrow operator. | |
| iterator & | operator++ () |
| Pre-increment operator. | |
| iterator | operator++ (int) |
| Post-increment operator. | |
| bool | operator== (const iterator &other) const |
| Equality comparison. | |
| bool | operator!= (const iterator &other) const |
| Inequality comparison. | |
Value iterator (mutable).
Definition at line 1029 of file Document.h.
| using nfx::json::Document::ValuesView::iterator::difference_type = std::ptrdiff_t |
iterator difference type
Definition at line 1041 of file Document.h.
| using nfx::json::Document::ValuesView::iterator::iterator_category = std::forward_iterator_tag |
iterator category (forward iterator)
Definition at line 1035 of file Document.h.
iterator pointer type
Definition at line 1044 of file Document.h.
iterator reference type
Definition at line 1047 of file Document.h.
iterator value type
Definition at line 1038 of file Document.h.
|
inline |
Construct iterator from underlying Object iterator.
| it | The underlying Object iterator |
|
inline |
Inequality comparison.
| other | The iterator to compare with |
|
inline |
Dereference operator.
|
inline |
Pre-increment operator.
|
inline |
Post-increment operator.
|
inline |
Arrow operator.
Copy assignment.
Move assignment.
|
inline |
Equality comparison.
| other | The iterator to compare with |