ADTF
3.18.2
property_type_definitions.h
Go to the documentation of this file.
1
7
#pragma once
8
#include "
propertyconvert.h
"
9
10
namespace
adtf
11
{
12
namespace
base
13
{
14
namespace
ant
15
{
26
28
36
template
<
typename
TYPE>
37
struct
property_type_definition
38
{
39
// static constexpr const char* const TYPE_NAME = "";
40
// typedef The Conversion Type con_type;
41
};
42
46
template
< >
47
struct
property_type_definition
<bool>
48
{
49
static
constexpr
const
char
*
const
TYPE_NAME =
"tBool"
;
50
typedef
property_type_default_conversion<bool>
con_type
;
51
};
52
56
template
< >
57
struct
property_type_definition
<int64_t>
58
{
59
static
constexpr
const
char
*
const
TYPE_NAME =
"tInt64"
;
60
typedef
property_type_default_conversion<int64_t>
con_type
;
61
};
62
66
template
< >
67
struct
property_type_definition
<uint64_t>
68
{
69
static
constexpr
const
char
*
const
TYPE_NAME =
"tUInt64"
;
70
typedef
property_type_default_conversion<uint64_t>
con_type
;
71
};
72
76
template
< >
77
struct
property_type_definition
<uint32_t>
78
{
79
static
constexpr
const
char
*
const
TYPE_NAME =
"tUInt32"
;
80
typedef
property_type_default_conversion<uint32_t>
con_type
;
81
};
82
86
template
< >
87
struct
property_type_definition
<int32_t>
88
{
89
static
constexpr
const
char
*
const
TYPE_NAME =
"tInt32"
;
90
typedef
property_type_default_conversion<int32_t>
con_type
;
91
};
92
96
template
< >
97
struct
property_type_definition
<uint16_t>
98
{
99
static
constexpr
const
char
*
const
TYPE_NAME =
"tUInt16"
;
100
typedef
property_type_default_conversion<uint16_t>
con_type
;
101
};
102
106
template
< >
107
struct
property_type_definition
<int16_t>
108
{
109
static
constexpr
const
char
*
const
TYPE_NAME =
"tInt16"
;
110
typedef
property_type_default_conversion<int16_t>
con_type
;
111
};
112
116
template
< >
117
struct
property_type_definition
<uint8_t>
118
{
119
static
constexpr
const
char
*
const
TYPE_NAME =
"tUInt8"
;
120
typedef
property_type_default_conversion<uint8_t>
con_type
;
121
};
122
126
template
< >
127
struct
property_type_definition
<int8_t>
128
{
129
static
constexpr
const
char
*
const
TYPE_NAME =
"tInt8"
;
130
typedef
property_type_default_conversion<int8_t>
con_type
;
131
};
132
136
template
< >
137
struct
property_type_definition
<float>
138
{
139
static
constexpr
const
char
*
const
TYPE_NAME =
"tFloat32"
;
140
typedef
property_type_default_conversion<float>
con_type
;
141
};
142
146
template
< >
147
struct
property_type_definition
<double>
148
{
149
static
constexpr
const
char
*
const
TYPE_NAME =
"tFloat64"
;
150
typedef
property_type_default_conversion<double>
con_type
;
151
};
152
156
template
< >
157
struct
property_type_definition
<
adtf
::
util::cString
>
158
{
159
static
constexpr
const
char
*
const
TYPE_NAME =
"cString"
;
160
typedef
cPropertyStringConversion
con_type
;
161
};
162
166
template
< >
167
struct
property_type_definition
<
adtf
::util::cFilename>
168
{
169
static
constexpr
const
char
*
const
TYPE_NAME =
"cFilename"
;
170
typedef
cFilenameConversion
con_type
;
171
};
172
176
template
< >
177
struct
property_type_definition
<
adtf
::util::cFilenameList>
178
{
179
static
constexpr
const
char
*
const
TYPE_NAME =
"cFilenameList"
;
180
typedef
cFilenameListConversion
con_type
;
181
};
182
186
template
< >
187
struct
property_type_definition
<
adtf
::util::cFilepath>
188
{
189
static
constexpr
const
char
*
const
TYPE_NAME =
"cFilepath"
;
190
typedef
cFilenameConversion
con_type
;
191
};
192
196
template
< >
197
struct
property_type_definition
<
adtf
::util::cFilepathList>
198
{
199
static
constexpr
const
char
*
const
TYPE_NAME =
"cFilepathList"
;
200
typedef
cFilenameListConversion
con_type
;
201
};
202
}
203
204
namespace
elasto
205
{
206
210
struct
tree_node_property_type
211
{
212
};
213
214
}
215
216
// everything following this is available from elasto onwards only.
217
218
namespace
ant
219
{
220
221
template
<>
222
struct
property_type_definition
<elasto::
tree_node_property_type
>
223
{
224
constexpr
static
const
tChar
*
const
TYPE_NAME =
"tree_node_property"
;
225
typedef
ant::property_type_conversion_nothing <elasto::tree_node_property_type>
con_type
;
226
};
227
228
}
229
230
// everything following this is available from flash onwards only.
231
232
namespace
ant
233
{
234
235
template
< >
236
struct
property_type_definition
<flash::
tNanoSeconds
>
237
{
238
static
constexpr
const
tChar
* TYPE_NAME =
"tNanoSeconds"
;
239
typedef
flash::cPropertyNanoSecondsConversion
con_type
;
240
};
241
242
template
< >
243
struct
property_type_definition
<std::string>
244
{
245
static
constexpr
const
tChar
* TYPE_NAME =
"cString"
;
246
typedef
flash::cPropertyStdStringConversion
con_type
;
247
};
248
249
250
}
251
252
}
253
}
tChar
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/a_utils/include/a_utils/base/types.h:54
A_UTILS_NS::cString
string_base< cStackString > cString
cString implementation for a stack string which works on stack if string is lower than A_UTILS_DEFAUL...
Definition:
string.h:2778
adtf
Namespace for entire ADTF SDK.
Definition:
ddl_specification_legacy.dox:2
propertyconvert.h
Copyright © Audi Electronics Venture GmbH.
adtf::base::ant::cFilenameConversion
Conversion type used for adtf::base::ant::property<cFilename> and adtf::base::ant::property<cFilepath...
Definition:
propertyconvert.h:214
adtf::base::ant::cFilenameListConversion
Conversion type used for adtf::base::ant::property<cFilenameList> and adtf::base::ant::property<cFile...
Definition:
propertyconvert.h:227
adtf::base::ant::cPropertyStringConversion
Conversion type used for property<cString>
Definition:
propertyconvert.h:201
adtf::base::ant::property_type_conversion_nothing
Empty conversion type.
Definition:
propertyconvert.h:246
adtf::base::ant::property_type_default_conversion
Default conversion type used for all build in property types of adtf.
Definition:
propertyconvert.h:168
adtf::base::ant::property_type_definition
Concept template to define the Name and the conversion type for the given type TYPE.
Definition:
property_type_definitions.h:38
adtf::base::elasto::tree_node_property_type
Property type that creates a property that functions as a container for subproperties only.
Definition:
property_type_definitions.h:211
adtf::base::flash::cPropertyNanoSecondsConversion
Conversion type used for property<tNanoSeconds>
Definition:
propertyconvert.h:282
adtf::base::flash::cPropertyStdStringConversion
Conversion type used for adtf::base::ant::property<std::string>
Definition:
propertyconvert.h:295
adtf::base::flash::tNanoSeconds
A timestamp with nanosecond precision.
Definition:
builds/digitalwerk/solutions/adtf_content/adtf_base/adtf_core/src/libraries/base/include/adtfbase/chrono.h:22
Copyright © VW Group. All rights reserved. (Generated on Thu Mar 14 2024 by doxygen 1.9.1)