|
MessagePack for C++
|
The class holds object and zone. More...
#include <object.hpp>
Public Member Functions | |
| object_handle () | |
| Constructor that creates nil object and null zone. More... | |
| object_handle (msgpack::object const &obj, msgpack::unique_ptr< msgpack::zone > &&z) | |
Constructor that creates an object_handle holding object obj and zone z. More... | |
| void | set (msgpack::object const &obj) |
| const msgpack::object & | get () const |
| Get object reference. More... | |
| const msgpack::object & | operator* () const |
| const msgpack::object * | operator-> () const |
| msgpack::unique_ptr< msgpack::zone > & | zone () |
| Get unique_ptr reference of zone. More... | |
| const msgpack::unique_ptr< msgpack::zone > & | zone () const |
| Get unique_ptr const reference of zone. More... | |
The class holds object and zone.
|
inline |
Constructor that creates nil object and null zone.
|
inline |
Constructor that creates an object_handle holding object obj and zone z.
| obj | object |
| z | zone |
|
inline |
|
inline |
References get().
|
inline |
References get().
|
inline |
Referenced by msgpack::unpacker::next(), and msgpack::unpack().
|
inline |
Get unique_ptr reference of zone.
Referenced by msgpack::unpacker::next(), and msgpack::unpack().
|
inline |
Get unique_ptr const reference of zone.