MessagePack for C++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
v2::object::with_zone Struct Reference

#include <object.hpp>

Inheritance diagram for v2::object::with_zone:
Inheritance graph
[legend]
Collaboration diagram for v2::object::with_zone:
Collaboration graph
[legend]

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 >
objectoperator= (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::zonezone
 
- Public Attributes inherited from msgpack::object
msgpack::type::object_type type
 
union_type via
 

Constructor & Destructor Documentation

◆ with_zone()

v2::object::with_zone::with_zone ( msgpack::zone z)
inline

Member Data Documentation

◆ zone

msgpack::zone& v2::object::with_zone::zone

The documentation for this struct was generated from the following file: