MessagePack for C++
|
Namespaces | |
detail | |
Classes | |
struct | array_ref |
struct | array_ref< T[N]> |
struct | basic_variant |
struct | define_array<> |
struct | define_map<> |
struct | tuple_type |
struct | tuple_type< T & > |
struct | tuple_type< const T & > |
struct | tuple<> |
struct | tuple_element |
struct | const_tuple_element |
struct | define_array_imp |
struct | define_array_imp< Tuple, 1 > |
struct | define_array |
struct | define_map_imp |
struct | define_map_imp< Tuple, 0 > |
struct | define_map |
class | tuple |
class | ext |
class | ext_ref |
struct | fix_int |
class | assoc_vector |
struct | nil_t |
struct | raw_ref |
struct | size_equal_only |
struct | v4raw_ref |
Typedefs | |
typedef basic_variant< std::string, std::vector< char >, ext > | variant |
typedef basic_variant< std::string, raw_ref, ext_ref > | variant_ref |
typedef fix_int< uint8_t > | fix_uint8 |
typedef fix_int< uint16_t > | fix_uint16 |
typedef fix_int< uint32_t > | fix_uint32 |
typedef fix_int< uint64_t > | fix_uint64 |
typedef fix_int< int8_t > | fix_int8 |
typedef fix_int< int16_t > | fix_int16 |
typedef fix_int< int32_t > | fix_int32 |
typedef fix_int< int64_t > | fix_int64 |
typedef nil_t | nil |
Enumerations | |
enum | object_type { NIL = 0x00 , BOOLEAN = 0x01 , POSITIVE_INTEGER = 0x02 , NEGATIVE_INTEGER = 0x03 , FLOAT32 = 0x0a , FLOAT64 = 0x04 , FLOAT = 0x04 , STR = 0x05 , BIN = 0x06 , ARRAY = 0x07 , MAP = 0x08 , EXT = 0x09 } |
Functions | |
template<typename T > | |
msgpack::enable_if< !msgpack::is_array< T const >::value, array_ref< T const >>::type | make_array_ref (const T &t) |
template<typename T > | |
msgpack::enable_if< !msgpack::is_array< T >::value, array_ref< T >>::type | make_array_ref (T &t) |
template<typename T , std::size_t N> | |
array_ref< const T[N]> | make_array_ref (const T(&t)[N]) |
template<typename T , std::size_t N> | |
array_ref< T[N]> | make_array_ref (T(&t)[N]) |
template<typename STR , typename BIN , typename EXT > | |
bool | operator< (basic_variant< STR, BIN, EXT > const &lhs, basic_variant< STR, BIN, EXT > const &rhs) |
template<typename STR , typename BIN , typename EXT > | |
bool | operator== (basic_variant< STR, BIN, EXT > const &lhs, basic_variant< STR, BIN, EXT > const &rhs) |
template<typename STR , typename BIN , typename EXT > | |
bool | operator!= (basic_variant< STR, BIN, EXT > const &lhs, basic_variant< STR, BIN, EXT > const &rhs) |
define_array | make_define_array () |
define_map | make_define_map () |
tuple | make_tuple () |
template<typename T > | |
std::enable_if< has_as< T >::value >::type | convert_helper (msgpack::object const &o, T &t) |
template<typename T > | |
std::enable_if< !has_as< T >::value >::type | convert_helper (msgpack::object const &o, T &t) |
template<typename... Args> | |
define_array< Args... > | make_define_array (Args &... args) |
template<typename... Args> | |
define_map< Args... > | make_define_map (Args &... args) |
template<class... Args> | |
tuple< Args... > | make_tuple (Args &&... args) |
template<class... Args> | |
tuple< Args &&... > | forward_as_tuple (Args &&... args) noexcept |
template<class... Tuples> | |
auto | tuple_cat (Tuples &&... args) -> decltype(std::tuple_cat(std::forward< typename std::remove_reference< Tuples >::type::base >(args)...)) |
template<class... Args> | |
tuple< Args &... > | tie (Args &... args) |
bool | operator< (nil_t const &lhs, nil_t const &rhs) |
bool | operator== (nil_t const &lhs, nil_t const &rhs) |
template<typename T > | |
std::size_t | size (T const &t) |
template<typename T , std::size_t N> | |
std::size_t | size (const T(&)[N]) |
template<typename... T> | |
std::size_t | size (std::tuple< T... > const &) |
template<typename T > | |
size_equal_only< T > | make_size_equal_only (T &t) |
template<typename T > | |
bool | operator< (size_equal_only< T > const &lhs, size_equal_only< T > const &rhs) |
template<typename T > | |
bool | operator== (size_equal_only< T > const &lhs, size_equal_only< T > const &rhs) |
typedef fix_int<int16_t> msgpack::type::fix_int16 |
typedef fix_int<int32_t> msgpack::type::fix_int32 |
typedef fix_int<int64_t> msgpack::type::fix_int64 |
typedef fix_int<int8_t> msgpack::type::fix_int8 |
typedef fix_int<uint16_t> msgpack::type::fix_uint16 |
typedef fix_int<uint32_t> msgpack::type::fix_uint32 |
typedef fix_int<uint64_t> msgpack::type::fix_uint64 |
typedef fix_int<uint8_t> msgpack::type::fix_uint8 |
typedef nil_t msgpack::type::nil |
typedef basic_variant< std::string, std::vector< char >, msgpack::type::ext > msgpack::type::variant |
typedef basic_variant< std::string, msgpack::type::raw_ref, msgpack::type::ext_ref > msgpack::type::variant_ref |
|
inline |
|
inline |
References msgpack::object::convert().
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by msgpack::StdTupleAsImpl< T, Args >::as(), msgpack::MsgpackTupleAsImpl< T, Args >::as(), and msgpack::adaptor::as< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value &&boost::mpl::fold< T, boost::mpl::bool_< true >, boost::mpl::if_< boost::mpl::or_< boost::mpl::_1, msgpack::has_as< boost::mpl::_2 > >, boost::mpl::bool_< true >, boost::mpl::bool_< false > > >::type::value >::type >::to_tuple().
|
inline |
bool msgpack::type::operator!= | ( | basic_variant< STR, BIN, EXT > const & | lhs, |
basic_variant< STR, BIN, EXT > const & | rhs | ||
) |
|
inline |
|
inline |
References msgpack::type::size_equal_only< T >::m_t.
|
inline |
|
inline |
References msgpack::type::size_equal_only< T >::m_t.
|
inline |
|
inline |
|
inline |
Referenced by msgpack::detail::add_ext_type_size(), msgpack::detail::add_ext_type_size< 4 >(), msgpack::aligned_size(), msgpack::zone::allocate_align(), msgpack::zone::allocate_no_align(), msgpack::unpacker::buffer_consumed(), msgpack::detail::check_container_size(), msgpack::detail::check_container_size_for_ext(), msgpack::detail::check_container_size_for_ext< 4 >(), msgpack::detail::context< VisitorHolder >::check_ext_size(), msgpack::checked_get_container_size(), msgpack::clone(), msgpack::zone::operator new(), msgpack::adaptor::object< const char * >::operator()(), msgpack::adaptor::object< char[N]>::operator()(), msgpack::adaptor::object< const char[N]>::operator()(), msgpack::adaptor::object< msgpack::type::ext_ref >::operator()(), msgpack::adaptor::object< std::array< char, N > >::operator()(), msgpack::adaptor::object< std::array< unsigned char, N > >::operator()(), msgpack::adaptor::object< std::string >::operator()(), msgpack::adaptor::object< std::vector< char, Alloc > >::operator()(), msgpack::adaptor::object< std::vector< unsigned char, Alloc > >::operator()(), msgpack::adaptor::convert< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value >::type >::operator()(), msgpack::adaptor::convert< type::size_equal_only< T > >::operator()(), msgpack::adaptor::object_with_zone< const char * >::operator()(), msgpack::adaptor::object_with_zone< char[N]>::operator()(), msgpack::adaptor::object_with_zone< const char[N]>::operator()(), msgpack::adaptor::object_with_zone< msgpack::type::array_ref< T > >::operator()(), msgpack::adaptor::object_with_zone< msgpack::type::array_ref< T[N]> >::operator()(), msgpack::adaptor::object_with_zone< msgpack::type::ext >::operator()(), msgpack::adaptor::object_with_zone< std::array< char, N > >::operator()(), msgpack::adaptor::object_with_zone< std::array< T, N > >::operator()(), msgpack::adaptor::object_with_zone< std::array< unsigned char, N > >::operator()(), msgpack::adaptor::object_with_zone< std::deque< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::forward_list< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::list< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::map< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::multimap< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::multiset< T, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::set< T, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::string >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_map< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_multimap< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_multiset< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::unordered_set< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< bool, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< char, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< T, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::vector< unsigned char, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< std::wstring >::operator()(), msgpack::adaptor::object_with_zone< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value >::type >::operator()(), msgpack::adaptor::object_with_zone< T[N]>::operator()(), msgpack::adaptor::object_with_zone< type::assoc_vector< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::object_with_zone< unsigned char[N]>::operator()(), msgpack::adaptor::object_with_zone< const unsigned char[N]>::operator()(), msgpack::adaptor::object_with_zone< std::tuple< Args... > >::operator()(), msgpack::adaptor::pack< const char * >::operator()(), msgpack::adaptor::pack< char[N]>::operator()(), msgpack::adaptor::pack< const char[N]>::operator()(), msgpack::adaptor::pack< msgpack::type::array_ref< T > >::operator()(), msgpack::adaptor::pack< msgpack::type::array_ref< T[N]> >::operator()(), msgpack::adaptor::pack< msgpack::type::ext >::operator()(), msgpack::adaptor::pack< msgpack::type::ext_ref >::operator()(), msgpack::adaptor::pack< std::array< char, N > >::operator()(), msgpack::adaptor::pack< std::array< T, N > >::operator()(), msgpack::adaptor::pack< std::array< unsigned char, N > >::operator()(), msgpack::adaptor::pack< std::deque< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::forward_list< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::list< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::map< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::multimap< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::multiset< T, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::set< T, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::string >::operator()(), msgpack::adaptor::pack< std::tuple< Args... > >::operator()(), msgpack::adaptor::pack< std::unordered_map< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::unordered_multimap< K, V, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::unordered_multiset< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::unordered_set< Key, Hash, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< bool, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< char, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< T, Alloc > >::operator()(), msgpack::adaptor::pack< std::vector< unsigned char, Alloc > >::operator()(), msgpack::adaptor::pack< std::wstring >::operator()(), msgpack::adaptor::pack< T, typename msgpack::enable_if< detail::is_seq_no_pair_no_tuple< T >::value >::type >::operator()(), msgpack::adaptor::pack< T[N]>::operator()(), msgpack::adaptor::pack< type::assoc_vector< K, V, Compare, Alloc > >::operator()(), msgpack::adaptor::pack< unsigned char[N]>::operator()(), msgpack::adaptor::pack< const unsigned char[N]>::operator()(), msgpack::detail::unpack_array::operator()(), msgpack::detail::unpack_map::operator()(), msgpack::unpacker::reserve_buffer(), msgpack::unpacker::skip_nonparsed_buffer(), msgpack::detail::create_object_visitor::start_array(), msgpack::detail::create_object_visitor::start_map(), msgpack::type::define_array_imp< Tuple, N >::unpack(), msgpack::type::define_array_imp< Tuple, 1 >::unpack(), msgpack::aligned_zone_size_visitor::visit_bin(), msgpack::object_pack_visitor< Stream >::visit_bin(), msgpack::object_stringize_visitor::visit_bin(), msgpack::object_equal_visitor::visit_bin(), msgpack::detail::create_object_visitor::visit_bin(), msgpack::aligned_zone_size_visitor::visit_ext(), msgpack::object_pack_visitor< Stream >::visit_ext(), msgpack::object_equal_visitor::visit_ext(), msgpack::detail::create_object_visitor::visit_ext(), msgpack::aligned_zone_size_visitor::visit_str(), msgpack::object_pack_visitor< Stream >::visit_str(), msgpack::object_stringize_visitor::visit_str(), msgpack::object_equal_visitor::visit_str(), and msgpack::detail::create_object_visitor::visit_str().
|
inline |
|
inline |
Referenced by msgpack::StdTupleAsImpl< T, Args >::as(), and msgpack::MsgpackTupleAsImpl< T, Args >::as().