cpp-msgpack-light
0.3.0
A light library to serialize MessagePack.
Loading...
Searching...
No Matches
object_data_type.h
Go to the documentation of this file.
1
/*
2
* Copyright 2024 MusicScience37 (Kenta Kabashima)
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
20
#pragma once
21
22
#include <cstdint>
23
24
namespace
msgpack_light
{
25
29
enum class
object_data_type
: std::uint8_t {
31
nil
,
32
34
unsigned_integer
,
35
37
signed_integer
,
38
40
boolean
,
41
43
float32
,
44
46
float64
,
47
49
string
,
50
52
binary
,
53
55
array
,
56
58
map
,
59
61
extension
62
};
63
64
}
// namespace msgpack_light
msgpack_light::binary
Class of binary data.
Definition
binary.h:129
msgpack_light
Namespace of this project.
Definition
binary.h:33
msgpack_light::object_data_type
object_data_type
Enumeration to specify types of data in objects.
Definition
object_data_type.h:29
msgpack_light::object_data_type::map
@ map
Map.
Definition
object_data_type.h:58
msgpack_light::object_data_type::extension
@ extension
Extension.
Definition
object_data_type.h:61
msgpack_light::object_data_type::unsigned_integer
@ unsigned_integer
Unsigned integer.
Definition
object_data_type.h:34
msgpack_light::object_data_type::boolean
@ boolean
Boolean.
Definition
object_data_type.h:40
msgpack_light::object_data_type::nil
@ nil
Nil.
Definition
object_data_type.h:31
msgpack_light::object_data_type::signed_integer
@ signed_integer
Signed integer.
Definition
object_data_type.h:37
msgpack_light::object_data_type::string
@ string
String.
Definition
object_data_type.h:49
msgpack_light::object_data_type::float32
@ float32
32-bit floating-point numbers.
Definition
object_data_type.h:43
msgpack_light::object_data_type::array
@ array
Array.
Definition
object_data_type.h:55
msgpack_light::object_data_type::float64
@ float64
64-bit floating-point numbers.
Definition
object_data_type.h:46
include
msgpack_light
object_data_type.h
Generated on
for cpp-msgpack-light by
1.14.0