libcluon
0.0.148
MsgPackConstants.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2017-2018 Christian Berger
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
8
9
#ifndef CLUON_MSGPACKCONSTANTS_HPP
10
#define CLUON_MSGPACKCONSTANTS_HPP
11
12
#include <cstdint>
13
14
// clang-format off
15
namespace
cluon
{
16
enum class
MsgPackConstants
: uint16_t {
17
IS_FALSE
= 0xC2,
18
IS_TRUE
= 0xC3,
19
FLOAT
= 0xCA,
20
DOUBLE
= 0xCB,
21
UINT8
= 0xCC,
22
UINT16
= 0xCD,
23
UINT32
= 0xCE,
24
UINT64
= 0xCF,
25
NEGFIXINT
= 0xE0,
26
INT8
= 0xD0,
27
INT16
= 0xD1,
28
INT32
= 0xD2,
29
INT64
= 0xD3,
30
FIXSTR
= 0xA0,
31
FIXSTR_END
= 0xBF,
32
STR8
= 0xD9,
33
STR16
= 0xDA,
34
STR32
= 0xDB,
35
FIXMAP
= 0x80,
36
FIXMAP_END
= 0x8F,
37
MAP16
= 0xDE,
38
MAP32
= 0xDF,
39
UNKNOWN_FORMAT
= 0xFF00,
40
BOOL_FORMAT
= 0xFF01,
41
UINT_FORMAT
= 0xFF02,
42
INT_FORMAT
= 0xFF03,
43
FLOAT_FORMAT
= 0xFF04,
44
STR_FORMAT
= 0xFF05,
45
MAP_FORMAT
= 0xFF06,
// Indicating also nested types.
46
};
47
}
48
// clang-format on
49
50
#endif
cluon::MsgPackConstants::FIXMAP_END
cluon::MsgPackConstants::INT16
cluon::MsgPackConstants::STR8
cluon
Definition:
cluon.hpp:65
cluon::MsgPackConstants::UINT16
cluon::MsgPackConstants::NEGFIXINT
cluon::MsgPackConstants::FLOAT
cluon::MsgPackConstants::UINT_FORMAT
cluon::JSONConstants::IS_FALSE
cluon::MsgPackConstants::INT_FORMAT
cluon::MsgPackConstants::INT64
cluon::MsgPackConstants::STR_FORMAT
cluon::MsgPackConstants::UNKNOWN_FORMAT
cluon::MsgPackConstants::INT8
cluon::MsgPackConstants::MAP16
cluon::JSONConstants::IS_TRUE
cluon::MsgPackConstants::INT32
cluon::MsgPackConstants::MAP32
cluon::MsgPackConstants::DOUBLE
cluon::MsgPackConstants::MAP_FORMAT
cluon::MsgPackConstants::FLOAT_FORMAT
cluon::MsgPackConstants::STR32
cluon::MsgPackConstants::FIXMAP
cluon::MsgPackConstants::UINT32
cluon::MsgPackConstants::UINT64
cluon::MsgPackConstants
MsgPackConstants
Definition:
MsgPackConstants.hpp:16
cluon::MsgPackConstants::FIXSTR
cluon::MsgPackConstants::BOOL_FORMAT
cluon::MsgPackConstants::FIXSTR_END
cluon::MsgPackConstants::UINT8
cluon::MsgPackConstants::STR16
libcluon
include
cluon
MsgPackConstants.hpp
Generated on Fri Mar 22 2024 10:44:38 for libcluon by
1.8.13