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>
38  {
39  // static constexpr const char* const TYPE_NAME = "";
40  // typedef The Conversion Type con_type;
41  };
42 
46  template < >
48  {
49  static constexpr const char* const TYPE_NAME = "tBool";
51  };
52 
56  template < >
57  struct property_type_definition<int64_t>
58  {
59  static constexpr const char* const TYPE_NAME = "tInt64";
61  };
62 
66  template < >
67  struct property_type_definition<uint64_t>
68  {
69  static constexpr const char* const TYPE_NAME = "tUInt64";
71  };
72 
76  template < >
77  struct property_type_definition<uint32_t>
78  {
79  static constexpr const char* const TYPE_NAME = "tUInt32";
81  };
82 
86  template < >
87  struct property_type_definition<int32_t>
88  {
89  static constexpr const char* const TYPE_NAME = "tInt32";
91  };
92 
96  template < >
97  struct property_type_definition<uint16_t>
98  {
99  static constexpr const char* const TYPE_NAME = "tUInt16";
101  };
102 
106  template < >
107  struct property_type_definition<int16_t>
108  {
109  static constexpr const char* const TYPE_NAME = "tInt16";
111  };
112 
116  template < >
117  struct property_type_definition<uint8_t>
118  {
119  static constexpr const char* const TYPE_NAME = "tUInt8";
121  };
122 
126  template < >
128  {
129  static constexpr const char* const TYPE_NAME = "tInt8";
131  };
132 
136  template < >
138  {
139  static constexpr const char* const TYPE_NAME = "tFloat32";
141  };
142 
146  template < >
148  {
149  static constexpr const char* const TYPE_NAME = "tFloat64";
151  };
152 
156  template < >
158  {
159  static constexpr const char* const TYPE_NAME = "cString";
161  };
162 
166  template < >
167  struct property_type_definition<adtf::util::cFilename>
168  {
169  static constexpr const char* const TYPE_NAME = "cFilename";
171  };
172 
176  template < >
177  struct property_type_definition<adtf::util::cFilenameList>
178  {
179  static constexpr const char* const TYPE_NAME = "cFilenameList";
181  };
182 
186  template < >
187  struct property_type_definition<adtf::util::cFilepath>
188  {
189  static constexpr const char* const TYPE_NAME = "cFilepath";
191  };
192 
196  template < >
197  struct property_type_definition<adtf::util::cFilepathList>
198  {
199  static constexpr const char* const TYPE_NAME = "cFilepathList";
201  };
202 }
203 
204 namespace elasto
205 {
206 
211 {
212 };
213 
214 }
215 
216 // everything following this is available from elasto onwards only.
217 
218 namespace ant
219 {
220 
221 template<>
223 {
224  constexpr static const tChar* const TYPE_NAME = "tree_node_property";
226 };
227 
228 }
229 
230 // everything following this is available from flash onwards only.
231 
232 namespace ant
233 {
234 
235 template < >
237 {
238  static constexpr const tChar* TYPE_NAME = "tNanoSeconds";
240 };
241 
242 template < >
243 struct property_type_definition<std::string>
244 {
245  static constexpr const tChar* TYPE_NAME = "cString";
247 };
248 
249 
250 }
251 
252 }
253 }
char tChar
The tChar defines the type for platform character set (platform and compiler dependent type).
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
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.
Conversion type used for adtf::base::ant::property<cFilename> and adtf::base::ant::property<cFilepath...
Conversion type used for adtf::base::ant::property<cFilenameList> and adtf::base::ant::property<cFile...
Conversion type used for property<cString>
Default conversion type used for all build in property types of adtf.
Concept template to define the Name and the conversion type for the given type TYPE.
Property type that creates a property that functions as a container for subproperties only.
Conversion type used for property<tNanoSeconds>
Conversion type used for adtf::base::ant::property<std::string>