MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
v3
x3_unpack_decl.hpp
Go to the documentation of this file.
1
//
2
// MessagePack for C++ deserializing routine
3
//
4
// Copyright (C) 2017 KONDO Takatoshi
5
//
6
// Distributed under the Boost Software License, Version 1.0.
7
// (See accompanying file LICENSE_1_0.txt or copy at
8
// http://www.boost.org/LICENSE_1_0.txt)
9
//
10
#ifndef MSGPACK_V3_X3_UNPACK_DECL_HPP
11
#define MSGPACK_V3_X3_UNPACK_DECL_HPP
12
13
#if defined(MSGPACK_USE_X3_PARSE)
14
15
#include "
msgpack/v2/x3_unpack_decl.hpp
"
16
17
namespace
msgpack
{
18
20
MSGPACK_API_VERSION_NAMESPACE
(v3) {
22
23
namespace
detail
{
24
25
using
v2::detail::unpack_imp;
26
27
}
// detail
28
29
template
<
typename
Iterator>
30
msgpack::object_handle
unpack
(
31
Iterator&&
begin
, Iterator&&
end
,
32
bool
& referenced,
33
unpack_reference_func
f =
MSGPACK_NULLPTR
,
void
* user_data =
MSGPACK_NULLPTR
,
34
unpack_limit
const
& limit =
unpack_limit
());
35
36
template
<
typename
Iterator>
37
msgpack::object_handle
unpack
(
38
Iterator&&
begin
, Iterator&&
end
,
39
unpack_reference_func
f =
MSGPACK_NULLPTR
,
void
* user_data =
MSGPACK_NULLPTR
,
40
unpack_limit
const
& limit =
unpack_limit
());
41
42
template
<
typename
Iterator>
43
msgpack::object
unpack
(
44
msgpack::zone& z,
45
Iterator&&
begin
, Iterator&&
end
,
46
bool
& referenced,
47
unpack_reference_func
f =
MSGPACK_NULLPTR
,
void
* user_data =
MSGPACK_NULLPTR
,
48
unpack_limit
const
& limit =
unpack_limit
());
49
50
template
<
typename
Iterator>
51
msgpack::object
unpack
(
52
msgpack::zone& z,
53
Iterator&&
begin
, Iterator&&
end
,
54
unpack_reference_func
f =
MSGPACK_NULLPTR
,
void
* user_data =
MSGPACK_NULLPTR
,
55
unpack_limit
const
& limit =
unpack_limit
());
56
58
}
// MSGPACK_API_VERSION_NAMESPACE(v3)
60
61
}
// namespace msgpack
62
63
#endif
// defined(MSGPACK_USE_X3_PARSE)
64
65
#endif
// MSGPACK_V3_X3_UNPACK_DECL_HPP
msgpack::unpack_limit
Definition
unpack_decl.hpp:87
msgpack::detail
Definition
check_container_size.hpp:31
msgpack
Definition
adaptor_base.hpp:15
msgpack::unpack_reference_func
bool(* unpack_reference_func)(msgpack::type::object_type type, std::size_t size, void *user_data)
The type of reference or copy judging function.
Definition
unpack_decl.hpp:74
msgpack::end
msgpack::object_kv * end(msgpack::object_map &map)
Definition
iterator.hpp:25
msgpack::begin
msgpack::object_kv * begin(msgpack::object_map &map)
Definition
iterator.hpp:23
msgpack::unpack
msgpack::object_handle unpack(const char *data, std::size_t len, std::size_t &off, bool &referenced, unpack_reference_func f, void *user_data, unpack_limit const &limit)
Unpack msgpack::object from a buffer.
Definition
unpack.hpp:1405
MSGPACK_NULLPTR
#define MSGPACK_NULLPTR
Definition
cpp_config_decl.hpp:85
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition
versioning.hpp:66
x3_unpack_decl.hpp
Generated by
1.17.0