|
cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Class to access constant arrays. More...
#include <msgpack_light/details/array_ref.h>
Public Types | |
| using | const_iterator = const_array_iterator |
| Type of iterators. | |
| using | const_object_ref_type = const_object_ref |
| Type to access constant objects. | |
| using | iterator = const_array_iterator |
| Type of iterators. | |
Public Member Functions | |
| const_array_ref (const details::array_data &data) | |
| Constructor. | |
| const_array_iterator | begin () const noexcept |
| Get an iterator to the first element. | |
| const_array_iterator | cbegin () const noexcept |
| Get an iterator to the first element. | |
| const_array_iterator | cend () const noexcept |
| Get an iterator to the past-the-end element. | |
| const_array_iterator | end () const noexcept |
| Get an iterator to the past-the-end element. | |
| const_object_ref_type | operator[] (std::size_t index) const noexcept |
| Get an object. | |
| std::size_t | size () const noexcept |
| Get the size. | |
Private Attributes | |
| const details::array_data * | data_ |
| Data. | |
Class to access constant arrays.
Definition at line 45 of file array_ref.h.
Type of iterators.
Definition at line 54 of file array_ref.h.
Type to access constant objects.
Definition at line 48 of file array_ref.h.
Type of iterators.
Definition at line 51 of file array_ref.h.
|
inlineexplicit |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
|
inlinenodiscardnoexcept |
Get an iterator to the past-the-end element.
Definition at line 111 of file array_ref.h.
|
inlinenodiscardnoexcept |
Get an iterator to the past-the-end element.
Definition at line 93 of file array_ref.h.
|
inlinenodiscardnoexcept |
Get an object.
| [in] | index | Index of the object. |
Definition at line 51 of file array_ref_impl.h.
|
inlinenodiscardnoexcept |
|
private |
Data.
Definition at line 117 of file array_ref.h.