MessagePack for C++
parse_decl.hpp
Go to the documentation of this file.
1 //
2 // MessagePack for C++ deserializing routine
3 //
4 // Copyright (C) 2018-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_PARSE_DECL_HPP
11 #define MSGPACK_V3_PARSE_DECL_HPP
12 
14 
15 namespace msgpack {
16 
20 
21 namespace detail {
22 
23 template <typename VisitorHolder>
24 class context;
25 
26 } // detail
27 
28 using v2::parser;
29 using v2::parse;
30 
31 namespace detail {
32 
33 template <typename Visitor>
34 struct parse_helper;
35 
36 template <typename Visitor>
37 inline parse_return
38 parse_imp(const char* data, size_t len, size_t& off, Visitor& v);
39 
40 } // detail
41 
43 } // MSGPACK_API_VERSION_NAMESPACE(v3)
45 
46 } // namespace msgpack
47 
48 
49 #endif // MSGPACK_V3_PARSE_DECL_HPP
parse_return parse_imp(const char *data, size_t len, size_t &off, Visitor &v)
Definition: adaptor_base.hpp:15
bool parse(const char *data, size_t len, Visitor &v)
Unpack msgpack formatted data via a visitor.
parse_return
Definition: parse_return.hpp:23
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66