MessagePack for C++
Namespaces | Classes | Typedefs | Enumerations | Functions
msgpack::type Namespace Reference

Namespaces

 detail
 

Classes

struct  array_ref
 
class  assoc_vector
 
struct  const_tuple_element
 
struct  define_array
 
struct  define_array<>
 
struct  define_array_imp
 
struct  define_array_imp< Tuple, 1 >
 
struct  define_map
 
struct  define_map<>
 
struct  define_map_imp
 
struct  define_map_imp< Tuple, 0 >
 
class  ext
 
class  ext_ref
 
struct  fix_int
 
struct  nil_t
 
struct  raw_ref
 
class  tuple
 
struct  tuple<>
 
struct  tuple_element
 
struct  tuple_type
 
struct  tuple_type< const T & >
 
struct  tuple_type< T & >
 
struct  v4raw_ref
 

Typedefs

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 = MSGPACK_OBJECT_NIL, BOOLEAN = MSGPACK_OBJECT_BOOLEAN, POSITIVE_INTEGER = MSGPACK_OBJECT_POSITIVE_INTEGER, NEGATIVE_INTEGER = MSGPACK_OBJECT_NEGATIVE_INTEGER,
  FLOAT = MSGPACK_OBJECT_FLOAT, STR = MSGPACK_OBJECT_STR, BIN = MSGPACK_OBJECT_BIN, ARRAY = MSGPACK_OBJECT_ARRAY,
  MAP = MSGPACK_OBJECT_MAP, EXT = MSGPACK_OBJECT_EXT
}
 

Functions

template<typename T >
array_ref< T const > make_array_ref (T const &t)
 
template<typename T >
array_ref< T > make_array_ref (T &t)
 
define_array make_define_array ()
 
define_map make_define_map ()
 
tuple make_tuple ()
 
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)
 

Typedef Documentation

◆ fix_int16

◆ fix_int32

◆ fix_int64

◆ fix_int8

◆ fix_uint16

◆ fix_uint32

◆ fix_uint64

◆ fix_uint8

◆ nil

Enumeration Type Documentation

◆ object_type

Enumerator
NIL 
BOOLEAN 
POSITIVE_INTEGER 
NEGATIVE_INTEGER 
FLOAT 
STR 
BIN 
ARRAY 
MAP 
EXT 

Function Documentation

◆ forward_as_tuple()

template<class... Args>
tuple<Args&&...> msgpack::type::forward_as_tuple ( Args &&...  args)
inlinenoexcept

◆ make_array_ref() [1/2]

template<typename T >
array_ref<T const> msgpack::type::make_array_ref ( T const &  t)
inline

◆ make_array_ref() [2/2]

template<typename T >
array_ref<T> msgpack::type::make_array_ref ( T &  t)
inline

◆ make_define_array() [1/2]

template<typename... Args>
define_array<Args...> msgpack::type::make_define_array ( Args &...  args)
inline

◆ make_define_array() [2/2]

define_array msgpack::type::make_define_array ( )
inline

◆ make_define_map() [1/2]

template<typename... Args>
define_map<Args...> msgpack::type::make_define_map ( Args &...  args)

◆ make_define_map() [2/2]

define_map msgpack::type::make_define_map ( )
inline

◆ make_tuple() [1/2]

template<class... Args>
tuple<Args...> msgpack::type::make_tuple ( Args &&...  args)
inline

◆ make_tuple() [2/2]

tuple msgpack::type::make_tuple ( )
inline

◆ operator<()

bool msgpack::type::operator< ( nil_t const &  lhs,
nil_t const &  rhs 
)
inline

◆ operator==()

bool msgpack::type::operator== ( nil_t const &  lhs,
nil_t const &  rhs 
)
inline

◆ tie()

template<class... Args>
tuple<Args&...> msgpack::type::tie ( Args &...  args)
inline

◆ tuple_cat()

template<class... Tuples>
auto msgpack::type::tuple_cat ( Tuples &&...  args) -> decltype( std::tuple_cat(std::forward<typename std::remove_reference<Tuples>::type::base>(args)...) )
inline