MessagePack for C++
Classes | Namespaces | Macros | Functions
cpp03_define_array.hpp File Reference
#include "msgpack/versioning.hpp"
#include "msgpack/adaptor/msgpack_tuple.hpp"
#include "msgpack/adaptor/adaptor_base.hpp"
#include "msgpack/object_fwd.hpp"

Go to the source code of this file.

Classes

struct  msgpack::type::define_array<>
 

Namespaces

 msgpack
 
 msgpack::type
 

Macros

#define MSGPACK_DEFINE_ARRAY(...)
 
#define MSGPACK_BASE_ARRAY(base)   (*const_cast<base *>(static_cast<base const*>(this)))
 
#define MSGPACK_ADD_ENUM(enum_name)
 

Functions

define_array msgpack::type::make_define_array ()
 

Macro Definition Documentation

◆ MSGPACK_ADD_ENUM

#define MSGPACK_ADD_ENUM (   enum_name)

◆ MSGPACK_BASE_ARRAY

#define MSGPACK_BASE_ARRAY (   base)    (*const_cast<base *>(static_cast<base const*>(this)))

◆ MSGPACK_DEFINE_ARRAY

#define MSGPACK_DEFINE_ARRAY (   ...)
Value:
template <typename Packer> \
void msgpack_pack(Packer& pk) const \
{ \
} \
void msgpack_unpack(msgpack::object const& o) \
{ \
}\
template <typename MSGPACK_OBJECT> \
void msgpack_object(MSGPACK_OBJECT* o, msgpack::zone& z) const \
{ \
}
define_array make_define_array()
Definition: cpp03_define_array.hpp:3282
void msgpack_pack(Packer &pk) const
Definition: cpp11_define_array.hpp:131
Definition: cpp03_zone.hpp:34
void msgpack_unpack(msgpack::object const &o)
Definition: cpp11_define_array.hpp:137
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:106
void msgpack_object(msgpack::object *o, msgpack::zone &z) const
Definition: cpp11_define_array.hpp:143