Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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