MessagePack for C++
Loading...
Searching...
No Matches
x3_unpack_decl.hpp
Go to the documentation of this file.
1//
2// MessagePack for C++ deserializing routine
3//
4// Copyright (C) 2018 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_V2_X3_UNPACK_DECL_HPP
11#define MSGPACK_V2_X3_UNPACK_DECL_HPP
12
13#if defined(MSGPACK_USE_X3_PARSE)
14
16
17namespace msgpack {
18
22
23namespace detail {
24
25template <typename Iterator>
26void
27unpack_imp(Iterator&& begin, Iterator&& end,
28 msgpack::zone& result_zone, msgpack::object& result, bool& referenced,
30 unpack_limit const& limit = unpack_limit());
31
32} // namespace detail
33
34template <typename Iterator>
36 Iterator&& begin, Iterator&& end,
37 bool& referenced,
39 unpack_limit const& limit = unpack_limit());
40
41template <typename Iterator>
43 Iterator&& begin, Iterator&& end,
45 unpack_limit const& limit = unpack_limit());
46
47template <typename Iterator>
50 Iterator&& begin, Iterator&& end,
51 bool& referenced,
53 unpack_limit const& limit = unpack_limit());
54
55template <typename Iterator>
58 Iterator&& begin, Iterator&& end,
60 unpack_limit const& limit = unpack_limit());
61
63} // MSGPACK_API_VERSION_NAMESPACE(v2)
65
66} // namespace msgpack
67
68
69#endif // defined(MSGPACK_USE_X3_PARSE)
70
71#endif // MSGPACK_V2_X3_UNPACK_DECL_HPP
The class holds object and zone.
Definition object.hpp:44
Definition cpp03_zone.hpp:30
Definition adaptor_base.hpp:15
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::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:1396
Object class that corresponding to MessagePack format object.
Definition object_fwd.hpp:75
#define MSGPACK_NULLPTR
Definition cpp_config_decl.hpp:85
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66