MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
v2
parse_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_PARSE_DECL_HPP
11
#define MSGPACK_V2_PARSE_DECL_HPP
12
13
#include "
msgpack/parse_return.hpp
"
14
15
namespace
msgpack
{
16
18
MSGPACK_API_VERSION_NAMESPACE
(v2) {
20
21
namespace
detail
{
22
23
template
<
typename
VisitorHolder>
24
class
context
;
25
26
}
// detail
27
28
30
31
template
<
typename
VisitorHolder,
typename
ReferencedBufferHook>
32
class
parser
;
33
34
36
45
template
<
typename
Visitor>
46
bool
parse
(
const
char
* data,
size_t
len,
size_t
& off, Visitor& v);
47
48
50
58
template
<
typename
Visitor>
59
bool
parse
(
const
char
* data,
size_t
len, Visitor& v);
60
61
namespace
detail
{
62
63
template
<
typename
Visitor>
64
struct
parse_helper
;
65
66
template
<
typename
Visitor>
67
inline
parse_return
68
parse_imp
(
const
char
* data,
size_t
len,
size_t
& off, Visitor& v);
69
70
}
// detail
71
73
}
// MSGPACK_API_VERSION_NAMESPACE(v2)
75
76
}
// namespace msgpack
77
78
79
#endif
// MSGPACK_V2_PARSE_DECL_HPP
msgpack::detail::context
Definition
unpack.hpp:318
msgpack::parser
Parsing class for a stream deserialization.
Definition
parse_decl.hpp:32
msgpack::detail
Definition
check_container_size.hpp:31
msgpack::detail::parse_imp
parse_return parse_imp(const char *data, size_t len, size_t &off, Visitor &v)
msgpack
Definition
adaptor_base.hpp:15
msgpack::parse_return
parse_return
Definition
parse_return.hpp:23
msgpack::parse
bool parse(const char *data, size_t len, size_t &off, Visitor &v)
Unpack msgpack formatted data via a visitor.
parse_return.hpp
msgpack::detail::parse_helper
Definition
parse_decl.hpp:64
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition
versioning.hpp:66
Generated by
1.17.0