MessagePack for C++
object_fwd_decl.hpp
Go to the documentation of this file.
1 //
2 // MessagePack for C++ static resolution routine
3 //
4 // Copyright (C) 2008-2016 FURUHASHI Sadayuki and 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 
11 #ifndef MSGPACK_V2_OBJECT_FWD_DECL_HPP
12 #define MSGPACK_V2_OBJECT_FWD_DECL_HPP
13 
15 
16 namespace msgpack {
17 
21 
22 namespace type {
24 using v1::type::NIL;
25 using v1::type::BOOLEAN;
28 using v1::type::FLOAT;
29 #if defined(MSGPACK_USE_LEGACY_NAME_AS_FLOAT)
30 using v1::type::DOUBLE;
31 #endif // MSGPACK_USE_LEGACY_NAME_AS_FLOAT
32 using v1::type::STR;
33 using v1::type::BIN;
34 using v1::type::ARRAY;
35 using v1::type::MAP;
36 using v1::type::EXT;
37 } // namespace type
38 
39 struct object;
40 
41 using v1::object_kv;
42 
43 using v1::object_array;
44 using v1::object_map;
45 
46 using v1::object_str;
47 using v1::object_bin;
48 using v1::object_ext;
49 
50 using v1::type_error;
51 
52 
53 #if !defined(MSGPACK_USE_CPP03)
54 
55 namespace adaptor {
56 
57 template <typename T, typename Enabler = void>
58 struct as;
59 
60 } // namespace adaptor
61 
62 template <typename T>
63 struct has_as;
64 
65 #endif // !defined(MSGPACK_USE_CPP03)
66 
68 } // MSGPACK_API_VERSION_NAMESPACE(v2)
70 
71 } // namespace msgpack
72 
73 #endif // MSGPACK_V2_OBJECT_FWD_DECL_HPP
Definition: object_fwd_decl.hpp:37
Definition: object_fwd_decl.hpp:30
Definition: object_fwd_decl.hpp:38
Definition: adaptor_base.hpp:15
Definition: object_fwd_decl.hpp:33
object_type
Definition: object_fwd_decl.hpp:28
Definition: object_fwd_decl.hpp:29
Definition: object_fwd_decl.hpp:32
Definition: object_fwd_decl.hpp:41
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
Definition: object_fwd_decl.hpp:39
Definition: object_fwd_decl.hpp:40
Definition: object_fwd_decl.hpp:31