cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Class of iterators of arrays to access non-constant objects. More...
#include <msgpack_light/details/array_iterator.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
Type of differences. | |
using | reference = mutable_object_ref<Allocator> |
Type of references. | |
using | value_type = mutable_object_ref<Allocator> |
Type of values. |
Public Member Functions | |
mutable_array_iterator () noexcept | |
Constructor. | |
mutable_array_iterator (details::object_data *pointer, details::allocator_wrapper< Allocator > *allocator) noexcept | |
Constructor. | |
mutable_object_ref< Allocator > | operator* () const noexcept |
Dereference this iterator. | |
mutable_array_iterator & | operator++ () noexcept |
Increment this iterator. | |
const mutable_array_iterator | operator++ (int) noexcept |
Increment this iterator. |
Private Attributes | |
details::allocator_wrapper< Allocator > * | allocator_ |
Allocator. | |
details::object_data * | pointer_ |
Pointer to the current data. |
Class of iterators of arrays to access non-constant objects.
Allocator | Type of the allocator. |
Definition at line 44 of file array_iterator.h.
using msgpack_light::mutable_array_iterator< Allocator >::difference_type = std::ptrdiff_t |
Type of differences.
Definition at line 47 of file array_iterator.h.
using msgpack_light::mutable_array_iterator< Allocator >::reference = mutable_object_ref<Allocator> |
Type of references.
Definition at line 53 of file array_iterator.h.
using msgpack_light::mutable_array_iterator< Allocator >::value_type = mutable_object_ref<Allocator> |
Type of values.
Definition at line 50 of file array_iterator.h.
|
inlinenoexcept |
Constructor.
Definition at line 58 of file array_iterator.h.
|
inlinenoexcept |
Constructor.
[in] | pointer | Pointer to the current data. |
[in] | allocator | Allocator. |
Definition at line 67 of file array_iterator.h.
|
inlinenoexcept |
Dereference this iterator.
Definition at line 33 of file array_iterator_impl.h.
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
Allocator.
Definition at line 105 of file array_iterator.h.
|
private |
Pointer to the current data.
Definition at line 102 of file array_iterator.h.