cpp-msgpack-light 0.3.0
A light library to serialize MessagePack.
|
Namespace of this project. More...
Namespaces | |
namespace | details |
Namespace of internal implementations. | |
namespace | type_support |
Namespace of classes to support serialization of types. |
Classes | |
class | binary |
Class of binary data. More... | |
class | binary_view |
Class to refer binary data. More... | |
class | const_array_iterator |
Class of iterators of arrays to access constant objects. More... | |
class | const_array_ref |
Class to access constant arrays. More... | |
class | const_extension_ref |
Class to access constant extension value. More... | |
class | const_map_iterator |
Class of iterators of maps to access constant objects. More... | |
class | const_map_ref |
Class to access constant maps. More... | |
class | const_object_ref |
Class to access constant objects. More... | |
class | file_output_stream |
Class of streams to write data to files. More... | |
class | memory_output_stream |
Class of streams to write data to memory. More... | |
class | monotonic_allocator |
Class of an allocator which releases memory only when the allocator is destroyed. More... | |
class | mutable_array_iterator |
Class of iterators of arrays to access non-constant objects. More... | |
class | mutable_array_ref |
Class to access non-constant arrays. More... | |
class | mutable_map_iterator |
Class of iterators of maps to access non-constant objects. More... | |
class | mutable_map_ref |
Class to access non-constant maps. More... | |
class | mutable_object_ref |
Class to access non-constant objects. More... | |
class | object |
Class of objects in MessagePack. More... | |
class | output_stream |
Interface of streams to write data. More... | |
class | serialization_buffer |
Class of buffers to serialize data. More... | |
class | standard_allocator |
Class of standard allocators to allocate and deallocate memory. More... |
Enumerations | |
enum class | object_data_type : std::uint8_t { nil , unsigned_integer , signed_integer , boolean , float32 , float64 , string , binary , array , map , extension } |
Enumeration to specify types of data in objects. More... |
Functions | |
bool | operator!= (binary_view lhs, binary_view rhs) |
Compare two binary data. | |
bool | operator!= (const_array_iterator lhs, const_array_iterator rhs) noexcept |
Compare two iterators. | |
bool | operator!= (const_map_iterator lhs, const_map_iterator rhs) noexcept |
Compare two iterators. | |
template<typename Allocator> | |
bool | operator!= (mutable_array_iterator< Allocator > lhs, mutable_array_iterator< Allocator > rhs) noexcept |
Compare two iterators. | |
template<typename Allocator> | |
bool | operator!= (mutable_map_iterator< Allocator > lhs, mutable_map_iterator< Allocator > rhs) noexcept |
Compare two iterators. | |
binary | operator+ (const binary &lhs, const binary &rhs) |
Connect two binary data. | |
std::ostream & | operator<< (std::ostream &stream, const binary &value) |
Format a value to a stream. | |
bool | operator== (binary_view lhs, binary_view rhs) |
Compare two binary data. | |
bool | operator== (const_array_iterator lhs, const_array_iterator rhs) noexcept |
Compare two iterators. | |
bool | operator== (const_map_iterator lhs, const_map_iterator rhs) noexcept |
Compare two iterators. | |
template<typename Allocator> | |
bool | operator== (mutable_array_iterator< Allocator > lhs, mutable_array_iterator< Allocator > rhs) noexcept |
Compare two iterators. | |
template<typename Allocator> | |
bool | operator== (mutable_map_iterator< Allocator > lhs, mutable_map_iterator< Allocator > rhs) noexcept |
Compare two iterators. | |
template<typename T> | |
binary | serialize (const T &data) |
Serialize data to an output stream. | |
template<typename T> | |
void | serialize_to (output_stream &stream, const T &data) |
Serialize data in memory and return the resulting binary data. | |
void | swap (msgpack_light::monotonic_allocator &instance1, msgpack_light::monotonic_allocator &instance2) noexcept |
Swap two instances. |
Namespace of this project.
|
strong |
Enumeration to specify types of data in objects.
Definition at line 29 of file object_data_type.h.
|
inlinenodiscard |
|
inlinenodiscardnoexcept |
Compare two iterators.
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are not equal. |
false | Two instances are equal. |
Definition at line 96 of file array_iterator_impl.h.
|
inlinenodiscardnoexcept |
Compare two iterators.
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are not equal. |
false | Two instances are equal. |
Definition at line 101 of file map_iterator_impl.h.
|
inlinenodiscardnoexcept |
Compare two iterators.
Allocator | Type of the allocator. |
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are not equal. |
false | Two instances are equal. |
Definition at line 62 of file array_iterator_impl.h.
|
inlinenodiscardnoexcept |
Compare two iterators.
Allocator | Type of the allocator. |
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are not equal. |
false | Two instances are equal. |
Definition at line 66 of file map_iterator_impl.h.
|
inline |
|
inlinenodiscard |
|
inlinenodiscardnoexcept |
Compare two iterators.
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are equal. |
false | Two instances are not equal. |
Definition at line 83 of file array_iterator_impl.h.
|
inlinenodiscardnoexcept |
Compare two iterators.
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are equal. |
false | Two instances are not equal. |
Definition at line 88 of file map_iterator_impl.h.
|
inlinenodiscardnoexcept |
Compare two iterators.
Allocator | Type of the allocator. |
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are equal. |
false | Two instances are not equal. |
Definition at line 47 of file array_iterator_impl.h.
|
inlinenodiscardnoexcept |
Compare two iterators.
Allocator | Type of the allocator. |
[in] | lhs | Light-hand-side instance. |
[in] | rhs | Right-hand-side instance. |
true | Two instances are equal. |
false | Two instances are not equal. |
Definition at line 51 of file map_iterator_impl.h.
|
inlinenodiscard |
Serialize data to an output stream.
T | Type of data to serialize. |
[in] | data | Data to serialize. |
Definition at line 52 of file serialize.h.
|
inline |
Serialize data in memory and return the resulting binary data.
T | Type of data. |
[out] | stream | Stream to write serialized data. |
[in] | data | Data. |
Definition at line 38 of file serialize.h.
|
inlinenoexcept |
Swap two instances.
[in,out] | instance1 | Instances. |
[in,out] | instance2 | Instances. |
Definition at line 268 of file monotonic_allocator.h.