Wludzik, Jozef | e236279 | 2020-10-27 17:23:55 +0100 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include <array> | ||||
4 | #include <string> | ||||
5 | |||||
6 | namespace utils | ||||
7 | { | ||||
Wludzik, Jozef | e236279 | 2020-10-27 17:23:55 +0100 | [diff] [blame] | 8 | namespace tstring |
9 | { | ||||
10 | |||||
Krzysztof Grobelny | d223819 | 2020-12-02 09:27:28 +0000 | [diff] [blame] | 11 | struct Id |
12 | { | ||||
13 | static std::string str() | ||||
14 | { | ||||
15 | return "id"; | ||||
16 | } | ||||
17 | }; | ||||
18 | |||||
Krzysztof Grobelny | e8fc575 | 2021-02-05 14:30:45 +0000 | [diff] [blame] | 19 | struct SensorPath |
Krzysztof Grobelny | d223819 | 2020-12-02 09:27:28 +0000 | [diff] [blame] | 20 | { |
21 | static std::string str() | ||||
22 | { | ||||
Krzysztof Grobelny | e8fc575 | 2021-02-05 14:30:45 +0000 | [diff] [blame] | 23 | return "sensorPath"; |
Krzysztof Grobelny | d223819 | 2020-12-02 09:27:28 +0000 | [diff] [blame] | 24 | } |
25 | }; | ||||
26 | |||||
27 | struct OperationType | ||||
28 | { | ||||
29 | static std::string str() | ||||
30 | { | ||||
31 | return "operationType"; | ||||
32 | } | ||||
33 | }; | ||||
34 | |||||
35 | struct MetricMetadata | ||||
36 | { | ||||
37 | static std::string str() | ||||
38 | { | ||||
39 | return "metricMetadata"; | ||||
40 | } | ||||
41 | }; | ||||
42 | |||||
43 | struct Service | ||||
44 | { | ||||
45 | static std::string str() | ||||
46 | { | ||||
47 | return "service"; | ||||
48 | } | ||||
49 | }; | ||||
50 | |||||
51 | struct Path | ||||
52 | { | ||||
53 | static std::string str() | ||||
54 | { | ||||
55 | return "path"; | ||||
56 | } | ||||
57 | }; | ||||
Wludzik, Jozef | e236279 | 2020-10-27 17:23:55 +0100 | [diff] [blame] | 58 | |
Wludzik, Jozef | e236279 | 2020-10-27 17:23:55 +0100 | [diff] [blame] | 59 | } // namespace tstring |
60 | } // namespace utils |