|
MessagePack for C++
|
#include <object.hpp>


Public Member Functions | |
| with_zone (msgpack::zone &z) | |
Public Member Functions inherited from msgpack::object | |
| bool | is_nil () const |
| Cheking nil. | |
| template<typename T > | |
| std::enable_if< msgpack::has_as< T >::value, T >::type | as () const |
| Get value as T. | |
| template<typename T > | |
| std::enable_if<!msgpack::has_as< T >::value, T >::type | as () const |
| Get value as T. | |
| template<typename T > | |
| msgpack::enable_if<!msgpack::is_array< T >::value &&!msgpack::is_pointer< T >::value, T & >::type | convert (T &v) const |
| Convert the object. | |
| template<typename T , std::size_t N> | |
| T(& | convert (T(&v)[N]) const)[N] |
| template<typename T > | |
| msgpack::enable_if< msgpack::is_pointer< T >::value, T >::type | convert (T v) const |
| Convert the object (obsolete) | |
| template<typename T > | |
| bool | convert_if_not_nil (T &v) const |
| Convert the object if not nil. | |
| object () | |
| Default constructor. The object is set to nil. | |
| template<typename T > | |
| object (const T &v) | |
| Construct object from T. | |
| template<typename T > | |
| object (const T &v, msgpack::zone &z) | |
| Construct object from T. | |
| template<typename T > | |
| object (const T &v, msgpack::zone *z) | |
| Construct object from T (obsolete) | |
| template<typename T > | |
| object & | operator= (const T &v) |
| implicit_type | convert () const |
| object () | |
| object (v1::object const &o) | |
| template<typename T > | |
| object (const T &v) | |
| Construct object from T. | |
| template<typename T > | |
| object (const T &v, msgpack::zone &z) | |
| Construct object from T. | |
| template<typename T > | |
| T & | convert (T &v) const |
| Convert the object. | |
| implicit_type | convert () const |
Public Attributes | |
| msgpack::zone & | zone |
Public Attributes inherited from msgpack::object | |
| msgpack::type::object_type | type |
| union_type | via |
|
inline |
References v2::object::with_zone::zone.
| msgpack::zone& v2::object::with_zone::zone |
Referenced by v2::object::with_zone::with_zone().