10 #ifndef MSGPACK_V1_TYPE_INT_HPP 
   11 #define MSGPACK_V1_TYPE_INT_HPP 
   31             if(o.
via.
u64 > 
static_cast<uint64_t
>(std::numeric_limits<T>::max()))
 
   33             return static_cast<T
>(o.
via.
u64);
 
   35             if(o.
via.
i64 < 
static_cast<int64_t
>(std::numeric_limits<T>::min()))
 
   37             return static_cast<T
>(o.
via.
i64);
 
   47             if(o.
via.
u64 > 
static_cast<uint64_t
>(std::numeric_limits<T>::max()))
 
   49             return static_cast<T
>(o.
via.
u64);
 
   57     static const bool value = std::numeric_limits<T>::is_signed;
 
   76             o.
via.
u64 = 
static_cast<uint64_t
>(v);
 
  103     { v = type::detail::convert_integer<char>(o); 
return o; }
 
  109     { v = type::detail::convert_integer<wchar_t>(o); 
return o; }
 
  115     { v = type::detail::convert_integer<signed char>(o); 
return o; }
 
  121     { v = type::detail::convert_integer<signed short>(o); 
return o; }
 
  127     { v = type::detail::convert_integer<signed int>(o); 
return o; }
 
  133     { v = type::detail::convert_integer<signed long>(o); 
return o; }
 
  139     { v = type::detail::convert_integer<signed long long>(o); 
return o; }
 
  146     { v = type::detail::convert_integer<unsigned char>(o); 
return o; }
 
  152     { v = type::detail::convert_integer<unsigned short>(o); 
return o; }
 
  158     { v = type::detail::convert_integer<unsigned int>(o); 
return o; }
 
  164     { v = type::detail::convert_integer<unsigned long>(o); 
return o; }
 
  170     { v = type::detail::convert_integer<unsigned long long>(o); 
return o; }
 
  176     template <
typename Stream>
 
  183     template <
typename Stream>
 
  190     template <
typename Stream>
 
  197     template <
typename Stream>
 
  204     template <
typename Stream>
 
  211     template <
typename Stream>
 
  217 struct pack<signed long long> {
 
  218     template <
typename Stream>
 
  226     template <
typename Stream>
 
  233     template <
typename Stream>
 
  240     template <
typename Stream>
 
  247     template <
typename Stream>
 
  253 struct pack<unsigned long long> {
 
  254     template <
typename Stream>
 
  281             o.
via.
u64 = 
static_cast<uint64_t
>(v);
 
  295             o.
via.
u64 = 
static_cast<uint64_t
>(v);
 
  309             o.
via.
u64 = 
static_cast<uint64_t
>(v);
 
  323             o.
via.
u64 = 
static_cast<uint64_t
>(v);
 
  337             o.
via.
u64 = 
static_cast<uint64_t
>(v);
 
The class template that supports continuous packing.
Definition: pack.hpp:33
 
packer< Stream > & pack_short(short d)
Packing short.
Definition: pack.hpp:866
 
packer< Stream > & pack_int(int d)
Packing int.
Definition: pack.hpp:899
 
packer< Stream > & pack_unsigned_short(unsigned short d)
Packing unsigned short.
Definition: pack.hpp:1006
 
packer< Stream > & pack_signed_char(signed char d)
Packing signed char.
Definition: pack.hpp:859
 
packer< Stream > & pack_wchar(wchar_t d)
Packing wchar_t.
Definition: pack.hpp:847
 
packer< Stream > & pack_unsigned_int(unsigned int d)
Packing unsigned int.
Definition: pack.hpp:1039
 
packer< Stream > & pack_unsigned_char(unsigned char d)
Packing unsigned char.
Definition: pack.hpp:999
 
packer< Stream > & pack_long_long(long long d)
Packing long long.
Definition: pack.hpp:965
 
packer< Stream > & pack_char(char d)
Packing char.
Definition: pack.hpp:832
 
packer< Stream > & pack_unsigned_long_long(unsigned long long d)
Packing unsigned long long.
Definition: pack.hpp:1105
 
packer< Stream > & pack_unsigned_long(unsigned long d)
Packing unsigned long.
Definition: pack.hpp:1072
 
packer< Stream > & pack_long(long d)
Packing long.
Definition: pack.hpp:932
 
Definition: object_fwd.hpp:231
 
void object_char(msgpack::object &o, T v)
Definition: int.hpp:91
 
T convert_integer(msgpack::object const &o)
Definition: int.hpp:61
 
@ POSITIVE_INTEGER
Definition: object_fwd_decl.hpp:30
 
@ NEGATIVE_INTEGER
Definition: object_fwd_decl.hpp:31
 
Definition: adaptor_base.hpp:15
 
void convert(T &v, msgpack::object const &o)
Definition: object.hpp:1173
 
msgpack::object const  & operator()(msgpack::object const &o, char &v) const
Definition: int.hpp:102
 
msgpack::object const  & operator()(msgpack::object const &o, signed char &v) const
Definition: int.hpp:114
 
msgpack::object const  & operator()(msgpack::object const &o, signed int &v) const
Definition: int.hpp:126
 
msgpack::object const  & operator()(msgpack::object const &o, signed long &v) const
Definition: int.hpp:132
 
msgpack::object const  & operator()(msgpack::object const &o, signed long long &v) const
Definition: int.hpp:138
 
msgpack::object const  & operator()(msgpack::object const &o, signed short &v) const
Definition: int.hpp:120
 
msgpack::object const  & operator()(msgpack::object const &o, unsigned char &v) const
Definition: int.hpp:145
 
msgpack::object const  & operator()(msgpack::object const &o, unsigned int &v) const
Definition: int.hpp:157
 
msgpack::object const  & operator()(msgpack::object const &o, unsigned long &v) const
Definition: int.hpp:163
 
msgpack::object const  & operator()(msgpack::object const &o, unsigned long long &v) const
Definition: int.hpp:169
 
msgpack::object const  & operator()(msgpack::object const &o, unsigned short &v) const
Definition: int.hpp:151
 
msgpack::object const  & operator()(msgpack::object const &o, wchar_t &v) const
Definition: int.hpp:108
 
Definition: adaptor_base.hpp:27
 
void operator()(msgpack::object &o, char v) const
Definition: int.hpp:262
 
void operator()(msgpack::object &o, signed char v) const
Definition: int.hpp:274
 
void operator()(msgpack::object &o, signed int v) const
Definition: int.hpp:302
 
void operator()(msgpack::object &o, signed long v) const
Definition: int.hpp:316
 
void operator()(msgpack::object &o, signed long long v) const
Definition: int.hpp:330
 
void operator()(msgpack::object &o, signed short v) const
Definition: int.hpp:288
 
void operator()(msgpack::object &o, unsigned char v) const
Definition: int.hpp:344
 
void operator()(msgpack::object &o, unsigned int v) const
Definition: int.hpp:360
 
void operator()(msgpack::object &o, unsigned long v) const
Definition: int.hpp:368
 
void operator()(msgpack::object &o, unsigned long long v) const
Definition: int.hpp:376
 
void operator()(msgpack::object &o, unsigned short v) const
Definition: int.hpp:352
 
void operator()(msgpack::object &o, wchar_t v) const
Definition: int.hpp:268
 
void operator()(msgpack::object::with_zone &o, char v) const
Definition: int.hpp:385
 
void operator()(msgpack::object::with_zone &o, signed char v) const
Definition: int.hpp:399
 
void operator()(msgpack::object::with_zone &o, signed int v) const
Definition: int.hpp:413
 
void operator()(msgpack::object::with_zone &o, signed long v) const
Definition: int.hpp:420
 
void operator()(msgpack::object::with_zone &o, const signed long long &v) const
Definition: int.hpp:427
 
void operator()(msgpack::object::with_zone &o, signed short v) const
Definition: int.hpp:406
 
void operator()(msgpack::object::with_zone &o, unsigned char v) const
Definition: int.hpp:434
 
void operator()(msgpack::object::with_zone &o, unsigned int v) const
Definition: int.hpp:448
 
void operator()(msgpack::object::with_zone &o, unsigned long v) const
Definition: int.hpp:455
 
void operator()(msgpack::object::with_zone &o, const unsigned long long &v) const
Definition: int.hpp:462
 
void operator()(msgpack::object::with_zone &o, unsigned short v) const
Definition: int.hpp:441
 
void operator()(msgpack::object::with_zone &o, wchar_t v) const
Definition: int.hpp:392
 
Definition: adaptor_base.hpp:43
 
Definition: adaptor_base.hpp:38
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, char v) const
Definition: int.hpp:177
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, signed char v) const
Definition: int.hpp:191
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, signed int v) const
Definition: int.hpp:205
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, signed long v) const
Definition: int.hpp:212
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, signed long long v) const
Definition: int.hpp:219
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, signed short v) const
Definition: int.hpp:198
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, unsigned char v) const
Definition: int.hpp:227
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, unsigned int v) const
Definition: int.hpp:241
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, unsigned long v) const
Definition: int.hpp:248
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, unsigned long long v) const
Definition: int.hpp:255
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, unsigned short v) const
Definition: int.hpp:234
 
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, wchar_t v) const
Definition: int.hpp:184
 
Definition: adaptor_base.hpp:32
 
Definition: object.hpp:35
 
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
 
union_type via
Definition: object_fwd.hpp:93
 
msgpack::type::object_type type
Definition: object_fwd.hpp:92
 
static T convert(msgpack::object const &o)
Definition: int.hpp:45
 
static T convert(msgpack::object const &o)
Definition: int.hpp:29
 
Definition: int_decl.hpp:27
 
static const bool value
Definition: int.hpp:57
 
static void make(msgpack::object &o, T v)
Definition: int.hpp:84
 
static void make(msgpack::object &o, T v)
Definition: int.hpp:69
 
Definition: int_decl.hpp:36
 
uint64_t u64
Definition: object_fwd.hpp:78
 
int64_t i64
Definition: object_fwd.hpp:79
 
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66