|
nfx-serialization 0.3.0
Cross-platform C++ JSON serialization library with extensible trait capabilities
|
Forward iterator for Array elements. 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 = Document |
| Type of value yielded by iterator. | |
| using | difference_type = std::ptrdiff_t |
| Type for iterator difference. | |
| using | pointer = value_type* |
| Pointer to value type. | |
| using | reference = value_type& |
| Reference to value type. | |
Public Member Functions | |
| Iterator () | |
| Default constructor - creates end iterator. | |
| Iterator (const Array *arr, size_t index) | |
| Construct iterator at specific position. | |
| value_type | operator* () const |
| Dereference 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 Array elements.
Provides STL-compatible iteration over array elements. Yields Document for each element.
Definition at line 996 of file Document.h.
| using nfx::serialization::json::Document::Array::Iterator::difference_type = std::ptrdiff_t |
Type for iterator difference.
Definition at line 1008 of file Document.h.
| using nfx::serialization::json::Document::Array::Iterator::iterator_category = std::forward_iterator_tag |
Iterator category tag for STL compatibility.
Definition at line 1004 of file Document.h.
Pointer to value type.
Definition at line 1010 of file Document.h.
Reference to value type.
Definition at line 1012 of file Document.h.
| using nfx::serialization::json::Document::Array::Iterator::value_type = Document |
Type of value yielded by iterator.
Definition at line 1006 of file Document.h.
| nfx::serialization::json::Document::Array::Iterator::Iterator | ( | const Array * | arr, |
| size_t | index ) |
Construct iterator at specific position.
| arr | Pointer to parent Array |
| index | Current position (0 = begin, size = end) |
| bool nfx::serialization::json::Document::Array::Iterator::operator!= | ( | const Iterator & | other | ) | const |
Inequality comparison.
| other | Iterator to compare with |

| value_type nfx::serialization::json::Document::Array::Iterator::operator* | ( | ) | const |
Dereference operator.
| Iterator & nfx::serialization::json::Document::Array::Iterator::operator++ | ( | ) |
Pre-increment operator.

| Iterator nfx::serialization::json::Document::Array::Iterator::operator++ | ( | int | ) |
Post-increment operator.

| bool nfx::serialization::json::Document::Array::Iterator::operator== | ( | const Iterator & | other | ) | const |
Equality comparison.
| other | Iterator to compare with |
