MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
v1
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
14
#include "
msgpack/versioning.hpp
"
15
#include "
msgpack/zone.hpp
"
16
#include <stdint.h>
17
#include <typeinfo>
18
19
namespace
msgpack
{
20
22
MSGPACK_API_VERSION_NAMESPACE
(v1) {
24
25
26
namespace
type
{
27
enum
object_type
{
28
NIL
= 0x00,
29
BOOLEAN
= 0x01,
30
POSITIVE_INTEGER
= 0x02,
31
NEGATIVE_INTEGER
= 0x03,
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
47
struct
object;
48
struct
object_kv;
49
50
struct
object_array;
51
struct
object_map;
52
struct
object_str;
53
struct
object_bin;
54
struct
object_ext;
55
56
57
#if !defined(MSGPACK_USE_CPP03)
58
59
namespace
adaptor {
60
template
<
typename
T,
typename
Enabler =
void
>
61
struct
as
;
62
}
// namespace adaptor
63
64
template
<
typename
T>
65
struct
has_as
;
66
67
#endif
// !defined(MSGPACK_USE_CPP03)
68
69
class
type_error
;
70
72
}
// MSGPACK_API_VERSION_NAMESPACE(v1)
74
75
}
// namespace msgpack
76
77
#endif
// MSGPACK_V1_OBJECT_FWD_DECL_HPP
msgpack::type_error
Definition
object_fwd.hpp:234
msgpack::type
Definition
array_ref.hpp:24
msgpack::type::object_type
object_type
Definition
object_fwd_decl.hpp:27
msgpack::type::EXT
@ EXT
Definition
object_fwd_decl.hpp:42
msgpack::type::FLOAT64
@ FLOAT64
Definition
object_fwd_decl.hpp:33
msgpack::type::BOOLEAN
@ BOOLEAN
Definition
object_fwd_decl.hpp:29
msgpack::type::MAP
@ MAP
Definition
object_fwd_decl.hpp:41
msgpack::type::NIL
@ NIL
Definition
object_fwd_decl.hpp:28
msgpack::type::STR
@ STR
Definition
object_fwd_decl.hpp:38
msgpack::type::FLOAT
@ FLOAT
Definition
object_fwd_decl.hpp:34
msgpack::type::ARRAY
@ ARRAY
Definition
object_fwd_decl.hpp:40
msgpack::type::BIN
@ BIN
Definition
object_fwd_decl.hpp:39
msgpack::type::POSITIVE_INTEGER
@ POSITIVE_INTEGER
Definition
object_fwd_decl.hpp:30
msgpack::type::NEGATIVE_INTEGER
@ NEGATIVE_INTEGER
Definition
object_fwd_decl.hpp:31
msgpack::type::FLOAT32
@ FLOAT32
Definition
object_fwd_decl.hpp:32
msgpack
Definition
adaptor_base.hpp:15
msgpack::adaptor::as
Definition
object_fwd_decl.hpp:61
msgpack::has_as
Definition
object_fwd.hpp:53
MSGPACK_DEPRECATED
#define MSGPACK_DEPRECATED(msg)
Definition
cpp_config.hpp:138
MSGPACK_API_VERSION_NAMESPACE
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition
versioning.hpp:66
versioning.hpp
zone.hpp
Generated by
1.17.0