Class MsgPack
Defined in File msgpack11.hpp
Class Documentation
-
class MsgPack
Public Types
-
enum Type
Values:
-
enumerator NUMBER
-
enumerator INT
-
enumerator NUL
-
enumerator FLOAT32
-
enumerator FLOAT64
-
enumerator INT8
-
enumerator INT16
-
enumerator INT32
-
enumerator INT64
-
enumerator UINT8
-
enumerator UINT16
-
enumerator UINT32
-
enumerator UINT64
-
enumerator BOOL
-
enumerator STRING
-
enumerator BINARY
-
enumerator ARRAY
-
enumerator OBJECT
-
enumerator EXTENSION
-
enumerator NUMBER
-
typedef std::vector<uint8_t> binary
Public Functions
-
MsgPack() noexcept
-
MsgPack(std::nullptr_t) noexcept
-
MsgPack(float value)
-
MsgPack(double value)
-
MsgPack(int8_t value)
-
MsgPack(int16_t value)
-
MsgPack(int32_t value)
-
MsgPack(int64_t value)
-
MsgPack(uint8_t value)
-
MsgPack(uint16_t value)
-
MsgPack(uint32_t value)
-
MsgPack(uint64_t value)
-
MsgPack(bool value)
-
MsgPack(const std::string &value)
-
MsgPack(std::string &&value)
-
MsgPack(const char *value)
-
template<class M, typename std::enable_if<std::is_constructible<MsgPack, typename M::key_type>::value && std::is_constructible<MsgPack, typename M::mapped_type>::value, int>::type = 0>
inline MsgPack(const M &m)
-
template<class V, typename std::enable_if<std::is_constructible<MsgPack, typename V::value_type>::value && !std::is_same<typename binary::value_type, typename V::value_type>::value, int>::type = 0>
inline MsgPack(const V &v)
-
template<class V, typename std::enable_if<std::is_constructible<MsgPack, typename V::value_type>::value && std::is_same<typename binary::value_type, typename V::value_type>::value, int>::type = 0>
inline MsgPack(const V &v)
-
MsgPack(void*) = delete
-
inline bool is_null() const
-
inline bool is_bool() const
-
inline bool is_number() const
-
inline bool is_float32() const
-
inline bool is_float64() const
-
inline bool is_int() const
-
inline bool is_int8() const
-
inline bool is_int16() const
-
inline bool is_int32() const
-
inline bool is_int64() const
-
inline bool is_uint8() const
-
inline bool is_uint16() const
-
inline bool is_uint32() const
-
inline bool is_uint64() const
-
inline bool is_string() const
-
inline bool is_array() const
-
inline bool is_binary() const
-
inline bool is_object() const
-
inline bool is_extension() const
-
double number_value() const
-
float float32_value() const
-
double float64_value() const
-
int32_t int_value() const
-
int8_t int8_value() const
-
int16_t int16_value() const
-
int32_t int32_value() const
-
int64_t int64_value() const
-
uint8_t uint8_value() const
-
uint16_t uint16_value() const
-
uint32_t uint32_value() const
-
uint64_t uint64_value() const
-
bool bool_value() const
-
const std::string &string_value() const
-
inline void dump(std::string &out) const
-
inline std::string dump() const
-
enum Type