MessagePack for C++
|
Classes | |
struct | all_of_imp |
struct | any_of_imp |
struct | bool_pack |
struct | packer_serializer |
class | unpack_user |
struct | unpack_array |
struct | unpack_map |
class | unpack_stack |
struct | value |
struct | value< fix_tag > |
class | context |
struct | fix_tag |
class | create_object_visitor |
struct | parse_helper |
Functions | |
template<std::size_t N> | |
void | check_container_size (std::size_t size) |
template<> | |
void | check_container_size< 4 > (std::size_t) |
template<std::size_t N> | |
void | check_container_size_for_ext (std::size_t size) |
template<> | |
void | check_container_size_for_ext< 4 > (std::size_t size) |
template<std::size_t N> | |
std::size_t | add_ext_type_size (std::size_t size) |
template<> | |
std::size_t | add_ext_type_size< 4 > (std::size_t size) |
void | unpack_uint8 (uint8_t d, msgpack::object &o) |
void | unpack_uint16 (uint16_t d, msgpack::object &o) |
void | unpack_uint32 (uint32_t d, msgpack::object &o) |
void | unpack_uint64 (uint64_t d, msgpack::object &o) |
void | unpack_int8 (int8_t d, msgpack::object &o) |
void | unpack_int16 (int16_t d, msgpack::object &o) |
void | unpack_int32 (int32_t d, msgpack::object &o) |
void | unpack_int64 (int64_t d, msgpack::object &o) |
void | unpack_float (float d, msgpack::object &o) |
void | unpack_double (double d, msgpack::object &o) |
void | unpack_nil (msgpack::object &o) |
void | unpack_true (msgpack::object &o) |
void | unpack_false (msgpack::object &o) |
void | unpack_array_item (msgpack::object &c, msgpack::object const &o) |
void | unpack_map_item (msgpack::object &c, msgpack::object const &k, msgpack::object const &v) |
void | unpack_str (unpack_user &u, const char *p, uint32_t l, msgpack::object &o) |
void | unpack_bin (unpack_user &u, const char *p, uint32_t l, msgpack::object &o) |
void | unpack_ext (unpack_user &u, const char *p, std::size_t l, msgpack::object &o) |
void | init_count (void *buffer) |
void | decr_count (void *buffer) |
void | incr_count (void *buffer) |
std::atomic< unsigned int > const & | get_count (void *buffer) |
template<typename T > | |
msgpack::enable_if< sizeof(T)==sizeof(fix_tag)>::type | load (uint32_t &dst, const char *n) |
template<typename T > | |
msgpack::enable_if< sizeof(T)==1 >::type | load (T &dst, const char *n) |
template<typename T > | |
msgpack::enable_if< sizeof(T)==2 >::type | load (T &dst, const char *n) |
template<typename T > | |
msgpack::enable_if< sizeof(T)==4 >::type | load (T &dst, const char *n) |
template<typename T > | |
msgpack::enable_if< sizeof(T)==8 >::type | load (T &dst, const char *n) |
parse_return | unpack_imp (const char *data, std::size_t len, std::size_t &off, msgpack::zone &result_zone, msgpack::object &result, bool &referenced, unpack_reference_func f=MSGPACK_NULLPTR, void *user_data=MSGPACK_NULLPTR, unpack_limit const &limit=unpack_limit()) |
template<typename Visitor > | |
parse_return | parse_imp (const char *data, size_t len, size_t &off, Visitor &v) |
Variables | |
std::size_t const | packer_max_buffer_size = 9 |
|
inline |
References msgpack::type::size().
|
inline |
References msgpack::type::size().
|
inline |
References msgpack::type::size().
|
inline |
|
inline |
References msgpack::type::size().
|
inline |
References msgpack::type::size().
|
inline |
References _msgpack_sync_decr_and_fetch.
Referenced by msgpack::unpacker::~unpacker().
|
inline |
|
inline |
References _msgpack_sync_incr_and_fetch.
|
inline |
Referenced by msgpack::unpacker::unpacker().
|
inline |
|
inline |
References _msgpack_load16.
|
inline |
References _msgpack_load32.
|
inline |
References _msgpack_load64.
|
inline |
|
inline |
|
inline |
|
inline |
References msgpack::zone::allocate_align(), msgpack::object::union_type::bin, msgpack::type::BIN, msgpack::unpack_limit::bin(), msgpack::detail::unpack_user::limit(), MSGPACK_NULLPTR, MSGPACK_ZONE_ALIGNOF, msgpack::object_bin::ptr, msgpack::detail::unpack_user::reference_func(), msgpack::detail::unpack_user::set_referenced(), msgpack::object_bin::size, msgpack::object::type, msgpack::detail::unpack_user::user_data(), msgpack::object::via, and msgpack::detail::unpack_user::zone().
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::object::union_type::f64, msgpack::type::FLOAT64, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::zone::allocate_align(), msgpack::object::union_type::ext, msgpack::type::EXT, msgpack::unpack_limit::ext(), msgpack::detail::unpack_user::limit(), MSGPACK_ZONE_ALIGNOF, msgpack::object_ext::ptr, msgpack::detail::unpack_user::reference_func(), msgpack::detail::unpack_user::set_referenced(), msgpack::object_ext::size, msgpack::object::type, msgpack::detail::unpack_user::user_data(), msgpack::object::via, and msgpack::detail::unpack_user::zone().
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::object::union_type::boolean, msgpack::type::BOOLEAN, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::object::union_type::f64, msgpack::type::FLOAT32, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::detail::context< VisitorHolder >::data(), msgpack::detail::context< VisitorHolder >::execute(), msgpack::detail::context< VisitorHolder >::init(), msgpack::PARSE_CONTINUE, msgpack::PARSE_EXTRA_BYTES, msgpack::PARSE_PARSE_ERROR, msgpack::PARSE_SUCCESS, msgpack::detail::unpack_user::referenced(), msgpack::detail::unpack_user::set_referenced(), msgpack::detail::unpack_user::set_zone(), and msgpack::detail::context< VisitorHolder >::user().
Referenced by msgpack::unpack().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References msgpack::type::NIL, and msgpack::object::type.
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::zone::allocate_align(), msgpack::detail::unpack_user::limit(), MSGPACK_NULLPTR, MSGPACK_ZONE_ALIGNOF, msgpack::object_str::ptr, msgpack::detail::unpack_user::reference_func(), msgpack::detail::unpack_user::set_referenced(), msgpack::object_str::size, msgpack::object::union_type::str, msgpack::type::STR, msgpack::unpack_limit::str(), msgpack::object::type, msgpack::detail::unpack_user::user_data(), msgpack::object::via, and msgpack::detail::unpack_user::zone().
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::object::union_type::boolean, msgpack::type::BOOLEAN, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::detail::context< VisitorHolder >::execute().
|
inline |
|
inline |
|
inline |
|
inline |
std::size_t const msgpack::detail::packer_max_buffer_size = 9 |