MessagePack for C++
|
Classes | |
struct | all_of_imp |
struct | bool_pack |
class | context |
struct | fix_tag |
struct | packer_serializer |
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()) |
Variables | |
std::size_t const | packer_max_buffer_size = 9 |
|
inline |
Referenced by msgpack::aligned_zone_size().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by msgpack::unpack_limit::depth(), incr_count(), and msgpack::unpacker::reserve_buffer().
|
inline |
References get_count().
Referenced by msgpack::unpack_limit::depth(), and msgpack::unpacker::reset_zone().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References msgpack::object::union_type::array, msgpack::object_array::ptr, msgpack::object_array::size, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::user().
|
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::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::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::execute().
|
inline |
References msgpack::type::BOOLEAN, msgpack::object::union_type::boolean, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::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::execute().
|
inline |
References msgpack::detail::context::data(), msgpack::detail::context::execute(), msgpack::detail::context::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::user().
Referenced by msgpack::unpack().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References msgpack::type::NIL, and msgpack::object::type.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::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::execute().
|
inline |
References msgpack::type::BOOLEAN, msgpack::object::union_type::boolean, msgpack::object::type, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::execute().
|
inline |
References msgpack::type::POSITIVE_INTEGER, msgpack::object::type, msgpack::object::union_type::u64, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::execute().
|
inline |
References msgpack::type::POSITIVE_INTEGER, msgpack::object::type, msgpack::object::union_type::u64, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::execute().
|
inline |
References msgpack::type::POSITIVE_INTEGER, msgpack::object::type, msgpack::object::union_type::u64, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::execute().
|
inline |
References msgpack::type::POSITIVE_INTEGER, msgpack::object::type, msgpack::object::union_type::u64, and msgpack::object::via.
Referenced by msgpack::unpack_limit::depth(), and msgpack::detail::context::execute().
std::size_t const msgpack::detail::packer_max_buffer_size = 9 |