parse_decl.hpp
Go to the documentation of this file.
//
// MessagePack for C++ deserializing routine
//
// Copyright (C) 2018 KONDO Takatoshi
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MSGPACK_V2_PARSE_DECL_HPP
#define MSGPACK_V2_PARSE_DECL_HPP
#include "msgpack/parse_return.hpp"
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(v2) {
namespace detail {
template <typename VisitorHolder>
class context;
} // detail
template <typename VisitorHolder, typename ReferencedBufferHook>
class parser;
template <typename Visitor>
bool parse(const char* data, size_t len, size_t& off, Visitor& v);
template <typename Visitor>
bool parse(const char* data, size_t len, Visitor& v);
namespace detail {
template <typename Visitor>
struct parse_helper;
template <typename Visitor>
inline parse_return
parse_imp(const char* data, size_t len, size_t& off, Visitor& v);
} // detail
} // MSGPACK_API_VERSION_NAMESPACE(v2)
} // namespace msgpack
#endif // MSGPACK_V2_PARSE_DECL_HPP
parse_return.hpp
v2
msgpack::parse_return
parse_return
Definition: parse_return.hpp:23
msgpack
Definition: adaptor_base.hpp:15
msgpack::detail::parse_helper
Definition: parse_decl.hpp:64
msgpack::parse
bool parse(const char *data, size_t len, size_t &off, Visitor &v)
Unpack msgpack formatted data via a visitor.
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
msgpack::detail::parse_imp
parse_return parse_imp(const char *data, size_t len, size_t &off, Visitor &v)
msgpack::parser
Parsing class for a stream deserialization.
Definition: parse_decl.hpp:32