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-2018 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_V3_OBJECT_FWD_DECL_HPP
12 #define MSGPACK_V3_OBJECT_FWD_DECL_HPP
13 
15 
16 namespace msgpack {
17 
21 
22 namespace type {
24 using v2::type::NIL;
25 using v2::type::BOOLEAN;
28 using v2::type::FLOAT32;
29 using v2::type::FLOAT64;
30 using v2::type::FLOAT;
31 #if defined(MSGPACK_USE_LEGACY_NAME_AS_FLOAT)
32 using v2::type::DOUBLE;
33 #endif // MSGPACK_USE_LEGACY_NAME_AS_FLOAT
34 using v2::type::STR;
35 using v2::type::BIN;
36 using v2::type::ARRAY;
37 using v2::type::MAP;
38 using v2::type::EXT;
39 } // namespace type
40 
41 using v2::object;
42 
43 using v2::object_kv;
44 
45 using v2::object_array;
46 using v2::object_map;
47 
48 using v2::object_str;
49 using v2::object_bin;
50 using v2::object_ext;
51 
52 using v2::type_error;
53 
54 
55 #if !defined(MSGPACK_USE_CPP03)
56 
57 namespace adaptor {
58 
59 template <typename T, typename Enabler = void>
60 struct as;
61 
62 } // namespace adaptor
63 
64 template <typename T>
65 struct has_as;
66 
67 #endif // !defined(MSGPACK_USE_CPP03)
68 
70 } // MSGPACK_API_VERSION_NAMESPACE(v3)
72 
73 } // namespace msgpack
74 
75 #endif // MSGPACK_V3_OBJECT_FWD_DECL_HPP
object_type
Definition: object_fwd_decl.hpp:27
@ EXT
Definition: object_fwd_decl.hpp:42
@ FLOAT64
Definition: object_fwd_decl.hpp:33
@ BOOLEAN
Definition: object_fwd_decl.hpp:29
@ MAP
Definition: object_fwd_decl.hpp:41
@ NIL
Definition: object_fwd_decl.hpp:28
@ STR
Definition: object_fwd_decl.hpp:38
@ FLOAT
Definition: object_fwd_decl.hpp:34
@ ARRAY
Definition: object_fwd_decl.hpp:40
@ BIN
Definition: object_fwd_decl.hpp:39
@ POSITIVE_INTEGER
Definition: object_fwd_decl.hpp:30
@ NEGATIVE_INTEGER
Definition: object_fwd_decl.hpp:31
@ FLOAT32
Definition: object_fwd_decl.hpp:32
Definition: adaptor_base.hpp:15
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66