MessagePack for C++
Loading...
Searching...
No Matches
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
14
15namespace msgpack {
16
20
21namespace detail {
22
23template <typename VisitorHolder>
24class context;
25
26} // detail
27
28
30
31template <typename VisitorHolder, typename ReferencedBufferHook>
32class parser;
33
34
36
45template <typename Visitor>
46bool parse(const char* data, size_t len, size_t& off, Visitor& v);
47
48
50
58template <typename Visitor>
59bool parse(const char* data, size_t len, Visitor& v);
60
61namespace detail {
62
63template <typename Visitor>
65
66template <typename Visitor>
67inline parse_return
68parse_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
Parsing class for a stream deserialization.
Definition parse_decl.hpp:32
parse_return parse_imp(const char *data, size_t len, size_t &off, Visitor &v)
Definition adaptor_base.hpp:15
parse_return
Definition parse_return.hpp:23
bool parse(const char *data, size_t len, size_t &off, Visitor &v)
Unpack msgpack formatted data via a visitor.
Definition parse_decl.hpp:64
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66