PhoenixSerializer
3.0.0
PhoenixSerializer is a framework to save/load/serialize/deserialize data
Toggle main menu visibility
Loading...
Searching...
No Matches
data_stream_isSimpleType.cpp
Go to the documentation of this file.
1
/***************************************
2
Auteur : Pierre Aubert
3
Mail : pierre.aubert@lapp.in2p3.fr
4
Licence : LGPL-3.0-only
5
****************************************/
6
7
#include "
data_stream_isSimpleType.h
"
8
10
12
template
<>
13
bool
phoenix_serialize_isSimpleType<bool>
() {
14
return
true
;
15
}
16
18
20
template
<>
21
bool
phoenix_serialize_isSimpleType<char>
() {
22
return
true
;
23
}
24
26
28
template
<>
29
bool
phoenix_serialize_isSimpleType<short>
() {
30
return
true
;
31
}
32
34
36
template
<>
37
bool
phoenix_serialize_isSimpleType<int>
() {
38
return
true
;
39
}
40
42
44
template
<>
45
bool
phoenix_serialize_isSimpleType<long int>
() {
46
return
true
;
47
}
48
50
52
template
<>
53
bool
phoenix_serialize_isSimpleType<unsigned char>
() {
54
return
true
;
55
}
56
58
60
template
<>
61
bool
phoenix_serialize_isSimpleType<unsigned short>
() {
62
return
true
;
63
}
64
66
68
template
<>
69
bool
phoenix_serialize_isSimpleType<unsigned int>
() {
70
return
true
;
71
}
72
74
76
template
<>
77
bool
phoenix_serialize_isSimpleType<long unsigned int>
() {
78
return
true
;
79
}
80
82
84
template
<>
85
bool
phoenix_serialize_isSimpleType<float>
() {
86
return
true
;
87
}
88
90
92
template
<>
93
bool
phoenix_serialize_isSimpleType<double>
() {
94
return
true
;
95
}
96
98
100
template
<>
101
bool
phoenix_serialize_isSimpleType<int8_t>
() {
102
return
true
;
103
}
data_stream_isSimpleType.h
phoenix_serialize_isSimpleType
bool phoenix_serialize_isSimpleType()
Say if the given type is simple or not.
Definition
data_stream_isSimpleType.h:16
src
data_stream_isSimpleType.cpp
Generated by
1.18.0