|
nfx-serialization 0.3.0
Cross-platform C++ JSON serialization library with extensible trait capabilities
|
Forward iterator for path entries. More...
#include <nfx/serialization/json/Document.h>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Iterator category tag for STL compatibility. | |
| using | value_type = Entry |
| Type of value yielded by iterator. | |
| using | difference_type = std::ptrdiff_t |
| Type for iterator difference. | |
| using | pointer = const Entry* |
| Pointer to value type. | |
| using | reference = const Entry& |
| Reference to value type. | |
Public Member Functions | |
| Iterator () | |
| Default constructor - creates end iterator. | |
| Iterator (const std::vector< Entry > *entries, size_t index) | |
| Construct iterator at position. | |
| 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. | |
Forward iterator for path entries.
Definition at line 1256 of file Document.h.
| using nfx::serialization::json::Document::PathView::Iterator::difference_type = std::ptrdiff_t |
Type for iterator difference.
Definition at line 1264 of file Document.h.
| using nfx::serialization::json::Document::PathView::Iterator::iterator_category = std::forward_iterator_tag |
Iterator category tag for STL compatibility.
Definition at line 1260 of file Document.h.
Pointer to value type.
Definition at line 1266 of file Document.h.
Reference to value type.
Definition at line 1268 of file Document.h.
Type of value yielded by iterator.
Definition at line 1262 of file Document.h.
|
inline |
Default constructor - creates end iterator.
Definition at line 1271 of file Document.h.

|
inline |
Construct iterator at position.
| entries | Pointer to entries vector |
| index | Current position |
Definition at line 1282 of file Document.h.
|
inline |
Inequality comparison.
| other | Iterator to compare with |
Definition at line 1348 of file Document.h.

|
inline |
|
inline |
Pre-increment operator.
Definition at line 1304 of file Document.h.

|
inline |
Post-increment operator.
Definition at line 1314 of file Document.h.

|
inline |
|
inline |
Equality comparison.
| other | Iterator to compare with |
Definition at line 1326 of file Document.h.
