Class of serialized message data.
More...
#include <msgpack_rpc/messages/serialized_message.h>
Class of serialized message data.
- Note
- Objects of this class shares internal buffers for the same data.
Definition at line 34 of file serialized_message.h.
◆ SerializedMessage() [1/4]
msgpack_rpc::messages::SerializedMessage::SerializedMessage |
( |
const char * | data, |
|
|
std::size_t | size ) |
Constructor.
- Parameters
-
[in] | data | Pointer to the data. |
[in] | size | Size of the data. |
Definition at line 30 of file serialized_message.cpp.
◆ SerializedMessage() [2/4]
Constructor.
- Parameters
-
- Warning
- Users must not use this constructor.
Definition at line 37 of file serialized_message.cpp.
◆ SerializedMessage() [3/4]
msgpack_rpc::messages::SerializedMessage::SerializedMessage |
( |
const SerializedMessage & | other | ) |
|
|
noexcept |
◆ SerializedMessage() [4/4]
msgpack_rpc::messages::SerializedMessage::SerializedMessage |
( |
SerializedMessage && | other | ) |
|
|
noexcept |
◆ ~SerializedMessage()
msgpack_rpc::messages::SerializedMessage::~SerializedMessage |
( |
| ) |
|
|
noexcept |
◆ data()
const char * msgpack_rpc::messages::SerializedMessage::data |
( |
| ) |
const |
|
nodiscardnoexcept |
◆ operator=() [1/2]
Copy assignment operator.
- Parameters
-
[in] | other | Object to copy from. |
- Returns
- This object after copy.
Definition at line 48 of file serialized_message.cpp.
◆ operator=() [2/2]
Move assignment operator.
- Parameters
-
[in,out] | other | Object to move from. |
- Returns
- This object after move.
Definition at line 61 of file serialized_message.cpp.
◆ size()
std::size_t msgpack_rpc::messages::SerializedMessage::size |
( |
| ) |
const |
|
nodiscardnoexcept |
◆ buffer_
The documentation for this class was generated from the following files: