messagepack implementation for embedded systems (mbed / arduino)
Dependents: hello_message_pack
object_handle Class Reference
#include <object.hpp>
Public Member Functions | |
object_handle () | |
Constructor that creates nil object and null zone. | |
object_handle (msgpack::object const &obj, msgpack::unique_ptr< msgpack::zone > z) | |
Constructor that creates an object_handle holding object `obj` and zone `z`. | |
const msgpack::object & | get () const |
Get object reference. | |
msgpack::unique_ptr < msgpack::zone > & | zone () |
Get unique_ptr reference of zone. | |
const msgpack::unique_ptr < msgpack::zone > & | zone () const |
Get unique_ptr const reference of zone. |
Detailed Description
The class holds object and zone
Definition at line 33 of file object.hpp.
Constructor & Destructor Documentation
object_handle | ( | ) |
Constructor that creates nil object and null zone.
Definition at line 36 of file object.hpp.
object_handle | ( | msgpack::object const & | obj, |
msgpack::unique_ptr< msgpack::zone > | z | ||
) |
Constructor that creates an object_handle holding object `obj` and zone `z`.
- Parameters:
-
obj object z zone
Definition at line 43 of file object.hpp.
Member Function Documentation
const msgpack::object& get | ( | ) | const |
msgpack::unique_ptr<msgpack::zone>& zone | ( | ) |
Get unique_ptr reference of zone.
- Returns:
- unique_ptr reference of zone
Definition at line 61 of file object.hpp.
const msgpack::unique_ptr<msgpack::zone>& zone | ( | ) | const |
Get unique_ptr const reference of zone.
- Returns:
- unique_ptr const reference of zone
Definition at line 68 of file object.hpp.
Generated on Tue Jul 12 2022 22:51:46 by 1.7.2