MessagePack for C++
Loading...
Searching...
No Matches
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_V1_OBJECT_FWD_DECL_HPP
12#define MSGPACK_V1_OBJECT_FWD_DECL_HPP
13
15#include "msgpack/zone.hpp"
16#include <stdint.h>
17#include <typeinfo>
18
19namespace msgpack {
20
24
25
26namespace type {
28 NIL = 0x00,
29 BOOLEAN = 0x01,
32 FLOAT32 = 0x0a,
33 FLOAT64 = 0x04,
34 FLOAT = 0x04,
35#if defined(MSGPACK_USE_LEGACY_NAME_AS_FLOAT)
36 DOUBLE = MSGPACK_DEPRECATED("please use FLOAT64 instead") FLOAT, // obsolete
37#endif // MSGPACK_USE_LEGACY_NAME_AS_FLOAT
38 STR = 0x05,
39 BIN = 0x06,
40 ARRAY = 0x07,
41 MAP = 0x08,
42 EXT = 0x09
43 };
44}
45
46
47struct object;
48struct object_kv;
49
50struct object_array;
51struct object_map;
52struct object_str;
53struct object_bin;
54struct object_ext;
55
56
57#if !defined(MSGPACK_USE_CPP03)
58
59namespace adaptor {
60template <typename T, typename Enabler = void>
61struct as;
62} // namespace adaptor
63
64template <typename T>
65struct has_as;
66
67#endif // !defined(MSGPACK_USE_CPP03)
68
69class type_error;
70
72} // MSGPACK_API_VERSION_NAMESPACE(v1)
74
75} // namespace msgpack
76
77#endif // MSGPACK_V1_OBJECT_FWD_DECL_HPP
Definition object_fwd.hpp:231
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
Definition object_fwd_decl.hpp:61
Definition object_fwd.hpp:53
#define MSGPACK_DEPRECATED(msg)
Definition cpp_config.hpp:138
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66