MessagePack for C++
|
Classes | |
struct | all_of_imp |
struct | bool_pack |
class | context |
class | create_object_visitor |
struct | fix_tag |
struct | packer_serializer |
struct | parse_helper |
struct | unpack_array |
struct | unpack_map |
class | unpack_stack |
class | unpack_user |
struct | value |
struct | value< fix_tag > |
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) |
unpack_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=nullptr, void *user_data=nullptr, unpack_limit const &limit=unpack_limit()) |
template<std::size_t N> | |
void | check_ext_size (std::size_t) |
template<> | |
void | check_ext_size< 4 > (std::size_t size) |
template<typename Visitor > | |
unpack_return | parse_imp (const char *data, size_t len, size_t &off, Visitor &v) |
template<typename UnpackVisitor > | |
unpack_return | parse_imp (const char *data, size_t len, size_t &off, UnpackVisitor &v) |
Variables | |
std::size_t const | packer_max_buffer_size = 9 |
|
inline |
Referenced by msgpack::aligned_zone_size().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by msgpack::detail::context< unpacker >::user().
|
inline |
References msgpack::UNPACK_CONTINUE, msgpack::UNPACK_PARSE_ERROR, and msgpack::UNPACK_STOP_VISITOR.
|
inline |
Referenced by msgpack::unpack_limit::depth(), msgpack::zone_push_finalizer::operator()(), msgpack::parser< VisitorHolder, ReferencedBufferHook >::reserve_buffer(), msgpack::unpacker::reserve_buffer(), msgpack::unpacker::reset_zone(), msgpack::unpacker::visitor(), msgpack::parser< VisitorHolder, ReferencedBufferHook >::~parser(), and msgpack::unpacker::~unpacker().
|
inline |
|
inline |
References get_count().
Referenced by msgpack::unpack_limit::depth(), msgpack::unpacker::reset_zone(), and msgpack::unpacker::visitor().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
unpack_return msgpack::detail::parse_imp | ( | const char * | data, |
size_t | len, | ||
size_t & | off, | ||
UnpackVisitor & | v | ||
) |
|
inline |
References msgpack::detail::create_object_visitor::data(), msgpack::detail::parse_helper< Visitor >::execute(), msgpack::detail::create_object_visitor::referenced(), msgpack::detail::create_object_visitor::set_referenced(), msgpack::detail::create_object_visitor::set_zone(), msgpack::UNPACK_CONTINUE, msgpack::UNPACK_EXTRA_BYTES, unpack_imp(), and msgpack::UNPACK_SUCCESS.
Referenced by msgpack::parse().
|
inline |
|
inline |
References msgpack::zone::allocate_align(), msgpack::type::BIN, msgpack::object::union_type::bin, msgpack::unpack_limit::bin(), msgpack::detail::unpack_user::limit(), 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::unpack_limit::depth(), and msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::object::union_type::f64, msgpack::type::FLOAT, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::zone::allocate_align(), msgpack::type::EXT, msgpack::object::union_type::ext, msgpack::unpack_limit::ext(), msgpack::detail::unpack_user::limit(), 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::unpack_limit::depth(), and msgpack::detail::context< VisitorHolder >::execute().
|
inline |
|
inline |
References msgpack::object::union_type::f64, msgpack::type::FLOAT, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::detail::context< VisitorHolder >::data(), msgpack::detail::context< VisitorHolder >::execute(), msgpack::detail::context< VisitorHolder >::init(), msgpack::detail::unpack_user::referenced(), msgpack::detail::unpack_user::set_referenced(), msgpack::detail::unpack_user::set_zone(), msgpack::UNPACK_CONTINUE, msgpack::UNPACK_EXTRA_BYTES, msgpack::UNPACK_PARSE_ERROR, msgpack::UNPACK_SUCCESS, and msgpack::detail::context< VisitorHolder >::user().
Referenced by parse_imp(), msgpack::unpack(), and msgpack::unpacker::visitor().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References msgpack::type::NIL, and msgpack::object::type.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context< VisitorHolder >::execute().
|
inline |
References msgpack::zone::allocate_align(), msgpack::detail::unpack_user::limit(), msgpack::object_str::ptr, msgpack::detail::unpack_user::reference_func(), msgpack::detail::unpack_user::set_referenced(), msgpack::object_str::size, msgpack::type::STR, msgpack::object::union_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::unpack_limit::depth(), and msgpack::detail::context< VisitorHolder >::execute().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::size_t const msgpack::detail::packer_max_buffer_size = 9 |