10 #ifndef MSGPACK_V1_TYPE_RAW_HPP
11 #define MSGPACK_V1_TYPE_RAW_HPP
33 std::string
str()
const {
return std::string(
ptr,
size); }
73 struct pack<type::raw_ref> {
74 template <
typename Stream>
The class template that supports continuous packing.
Definition: pack.hpp:33
packer< Stream > & pack_bin(uint32_t l)
Packing bin header and length.
Definition: pack.hpp:1290
packer< Stream > & pack_bin_body(const char *b, uint32_t l)
Packing bin body.
Definition: pack.hpp:1309
Definition: object_fwd.hpp:231
@ BIN
Definition: object_fwd_decl.hpp:39
Definition: adaptor_base.hpp:15
msgpack::object const & operator()(msgpack::object const &o, type::raw_ref &v) const
Definition: raw.hpp:64
Definition: adaptor_base.hpp:27
void operator()(msgpack::object &o, const type::raw_ref &v) const
Definition: raw.hpp:84
void operator()(msgpack::object::with_zone &o, const type::raw_ref &v) const
Definition: raw.hpp:93
Definition: adaptor_base.hpp:43
Definition: adaptor_base.hpp:38
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, const type::raw_ref &v) const
Definition: raw.hpp:75
Definition: adaptor_base.hpp:32
Definition: object.hpp:35
uint32_t size
Definition: object_fwd.hpp:38
const char * ptr
Definition: object_fwd.hpp:39
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
std::string str() const
Definition: raw.hpp:33
raw_ref()
Definition: raw.hpp:27
uint32_t size
Definition: raw.hpp:30
bool operator==(const raw_ref &x) const
Definition: raw.hpp:35
bool operator>(const raw_ref &x) const
Definition: raw.hpp:51
const char * ptr
Definition: raw.hpp:31
raw_ref(const char *p, uint32_t s)
Definition: raw.hpp:28
bool operator<(const raw_ref &x) const
Definition: raw.hpp:45
bool operator!=(const raw_ref &x) const
Definition: raw.hpp:40
msgpack::object_bin bin
Definition: object_fwd.hpp:88
#define MSGPACK_NULLPTR
Definition: cpp_config_decl.hpp:85
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66