Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
structs.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_MODEL_STRUCTS_HPP_
2#define IV_SRC_MODEL_STRUCTS_HPP_
3
4#include "core/Timestamp.hpp"
6#include "model/enums.hpp"
7
8#include <map>
9#include <optional>
10
11namespace iv::model
12{
13
27
29{
32 LocalizedText(LocalizedText &&other) noexcept;
34
36 LocalizedText &operator=(LocalizedText &&other) noexcept;
37
38 bool load(const iv::file::xml::node &nodeLocalizedTexts);
39 bool save(iv::file::xml::node &nodeLocalizedText, std::string_view localizedTextNodeName) const;
40
41 [[nodiscard]] std::string_view getText(iv::eLanguage language = iv::eLanguage::English) const;
42 [[nodiscard]] std::string &getRefString(iv::eLanguage language = iv::eLanguage::English);
43 bool empty() const;
44 void clear();
45
46 std::map<iv::eLanguage, std::string> localizedText;
47
48private:
49 struct Keys
50 {
51 static constexpr std::string_view language {"Language"};
52 static constexpr std::string_view text {"Text"};
53 };
54
56 {
57 static constexpr std::string string {};
58 };
59};
60
62{
64 PasswordRequirements(uint64_t minLength, bool requiresUpperCase, bool requiresLowerCase, bool requiresNumbers);
68
71
72 bool load(const iv::file::xml::node &nodePasswordRequirements);
73 bool save(iv::file::xml::node &nodePasswordRequirements) const;
74
75 uint64_t _minLength;
79
80private:
81 struct Keys
82 {
83 static constexpr std::string_view minLength {"MinLength"};
84 static constexpr std::string_view requiresUpperCase {"RequiresUpperCase"};
85 static constexpr std::string_view requiresLowerCase {"RequiresLowerCase"};
86 static constexpr std::string_view requiresNumbers {"RequiresNumbers"};
87 };
88
90 {
91 static constexpr int32_t minLength {4};
92 static constexpr bool requiresUpperCase {false};
93 static constexpr bool requiresLowerCase {false};
94 static constexpr bool requiresNumbers {true};
95 };
96};
97
99{
101 PasswordLifecycle(iv::types::milliseconds expirationTime, iv::types::milliseconds minTimeBetweenChanges,
102 iv::types::milliseconds notificationTimeBeforeExpiration);
104 PasswordLifecycle(PasswordLifecycle &&other) noexcept;
106
109
110 bool load(const iv::file::xml::node &nodePasswordLifecycle);
111 bool save(iv::file::xml::node &nodePasswordLifecycle) const;
112
113 iv::types::milliseconds _expirationTime; // Time after which password expires and needs renewal
114 iv::types::milliseconds _minTimeBetweenChanges; // Minimum time required between password changes
116
117private:
118 struct Keys
119 {
120 static constexpr std::string_view expirationTime {"ExpirationTime"};
121 static constexpr std::string_view minTimeBetweenChanges {"MinTimeBetweenChanges"};
122 static constexpr std::string_view notificationTimeBeforeExpiration {"NotificationTimeBeforeExpiration"};
123 };
124
126 {
127 static constexpr iv::types::milliseconds expirationTime {1ULL * 365 * 24 * 60 * 60 * 1000}; // 1 year
128 static constexpr iv::types::milliseconds minTimeBetweenChanges {1 * 24 * 60 * 60 * 1000}; // 1 day
129 static constexpr iv::types::milliseconds notificationTimeBeforeExpiration {1 * 24 * 60 * 60 * 1000};// 1 day
130 };
131};
132
134{
135 LoginLockout();
136 LoginLockout(uint8_t maxFailedAttempts, iv::types::milliseconds lockoutDuration, bool automaticUnlock);
138 LoginLockout(LoginLockout &&other) noexcept;
140
141 LoginLockout &operator=(const LoginLockout &other);
142 LoginLockout &operator=(LoginLockout &&other) noexcept;
143
144 bool load(const iv::file::xml::node &nodeLoginLockout);
145 bool save(iv::file::xml::node &nodeLoginLockout) const;
146
147 uint8_t _maxFailedAttempts; // Maximum number of failed login attempts before lockout
148 iv::types::milliseconds _lockoutDuration;// Duration of lockout (5 minutes)
149 bool _automaticUnlock; // Flag indicating whether automatic unlock is enabled
150
151private:
152 struct Keys
153 {
154 static constexpr std::string_view maxFailedAttempts {"MaxFailedAttempts"};
155 static constexpr std::string_view lockoutDuration {"LockoutDuration"};
156 static constexpr std::string_view automaticUnlock {"AutomaticUnlock"};
157 };
158
160 {
161 static constexpr uint8_t maxFailedAttempts {5};
162 static constexpr iv::types::milliseconds lockoutDuration {5 * 60 * 1000};
163 static constexpr bool automaticUnlock {true};
164 };
165};
166
168{
171 CloudSettings(CloudSettings &&other) noexcept;
173
175 CloudSettings &operator=(CloudSettings &&other) noexcept;
176
177 bool load(const iv::file::xml::node &nodeCloudSettings);
178 bool save(iv::file::xml::node &nodeCloudSettings) const;
179
188
189private:
190 struct Keys
191 {
192 static constexpr std::string_view enabled {"Enabled"};
193 static constexpr std::string_view isSedniServer {"IsSedniServer"};
194 static constexpr std::string_view networkId {"NetworkId"};
195 static constexpr std::string_view username {"Username"};
196 static constexpr std::string_view password {"Password"};
197 static constexpr std::string_view databaseHost {"DatabaseHost"};
198 static constexpr std::string_view databasePort {"DatabasePort"};
199 static constexpr std::string_view databaseName {"DatabaseName"};
200 };
201
203 {
204 static constexpr bool enabled {false};
205 static constexpr bool isSedniServer {true};
206 static constexpr iv::types::networkId networkId {};
207 static constexpr std::string username {"admin"};
208 static constexpr std::string password {"admin"};
209 static constexpr std::string databaseHost {"localhost"};
210 static constexpr iv::types::ipPort databasePort {27017};
211 static constexpr std::string databaseName {};
212 };
213};
214
216{
217 PosixTimeFormat() = default;
218 PosixTimeFormat(const PosixTimeFormat &other) = default;
219 PosixTimeFormat(PosixTimeFormat &&other) noexcept = default;
220 ~PosixTimeFormat() = default;
221
222 PosixTimeFormat &operator=(const PosixTimeFormat &other) = default;
223 PosixTimeFormat &operator=(PosixTimeFormat &&other) noexcept = default;
224
225 bool load(const iv::file::xml::node &nodePosixTimeFormat);
226 bool save(iv::file::xml::node &nodePosixTimeFormat) const;
227
228 std::optional<iv::types::timestamp> getTimestamp() const;
230
231private:
232 struct Keys
233 {
234 static constexpr std::string_view channelId {"ChannelId"};
235 };
237 {
238 static constexpr std::string string {};
239 };
240};
241
243{
244 RMCLikeFormat() = default;
245 RMCLikeFormat(const RMCLikeFormat &other) = default;
246 RMCLikeFormat(RMCLikeFormat &&other) noexcept = default;
247 ~RMCLikeFormat() = default;
248
249 RMCLikeFormat &operator=(const RMCLikeFormat &other) = default;
250 RMCLikeFormat &operator=(RMCLikeFormat &&other) noexcept = default;
251
252 bool load(const iv::file::xml::node &nodeRMCLikeFormat);
253 bool save(iv::file::xml::node &nodeRMCLikeFormat) const;
254
255 std::optional<iv::types::timestamp> getTimestamp() const;
258private:
259 struct Keys
260 {
261 static constexpr std::string_view utcTimeChannelId {"UtcTimeChannelId"};
262 static constexpr std::string_view dateChannelId {"DateChannelId"};
263 };
265 {
266 static constexpr std::string string {};
267 };
268};
269
271{
272 ZDALikeFormat() = default;
273 ZDALikeFormat(const ZDALikeFormat &other) = default;
274 ZDALikeFormat(ZDALikeFormat &&other) noexcept = default;
275 ~ZDALikeFormat() = default;
276
277 ZDALikeFormat &operator=(const ZDALikeFormat &other) = default;
278 ZDALikeFormat &operator=(ZDALikeFormat &&other) noexcept = default;
279
280 bool load(const iv::file::xml::node &nodeZDALikeFormat);
281 bool save(iv::file::xml::node &nodeZDALikeFormat) const;
282
283 std::optional<iv::types::timestamp> getTimestamp() const;
284
289
290private:
291 struct Keys
292 {
293 static constexpr std::string_view utcTimeChannelId {"UtcTimeChannelId"};
294 static constexpr std::string_view monthChannelId {"MonthChannelId"};
295 static constexpr std::string_view dayChannelId {"DayChannelId"};
296 static constexpr std::string_view yearChannelId {"YearChannelId"};
297 };
299 {
300 static constexpr std::string string {};
301 };
302};
303
305{
307 TimeSyncSettings(const TimeSyncSettings &other) = default;
308 TimeSyncSettings(TimeSyncSettings &&other) noexcept = default;
309 ~TimeSyncSettings() = default;
310
312 TimeSyncSettings &operator=(TimeSyncSettings &&other) noexcept = default;
313
314 std::optional<iv::types::timestamp> getTimestamp() const;
315 std::optional<int32_t> getTimeZoneOffset() const;
316
317 bool load(const iv::file::xml::node &nodeTimeSyncSettings);
318 bool save(iv::file::xml::node &nodeTimeSyncSettings) const;
319
322
325
327
331
332private:
333 struct Keys
334 {
335 static constexpr std::string_view hasTimeSync {"HasTimeSync"};
336 static constexpr std::string_view hasTimeZoneSync {"HasTimeZoneSync"};
337 static constexpr std::string_view timeZoneChannelId {"TimeZoneChannelId"};
338 static constexpr std::string_view maxTimeDifference {"MaxTimeDifference"};
339 static constexpr std::string_view timeSyncFormat {"TimeSyncFormat"};
340 };
341 struct Sections
342 {
343 static constexpr std::string_view posixTimeFormat {"PosixTimeFormat"};
344 static constexpr std::string_view rmcLikeFormat {"RMCLikeFormat"};
345 static constexpr std::string_view zdaLikeFormat {"ZDALikeFormat"};
346 };
348 {
349 static constexpr std::string string {};
350 static constexpr bool hasTimeSync {false};
351 static constexpr bool hasTimeZoneSync {false};
354 };
355};
356
358{
359 DeadManSettings() = default;
360 DeadManSettings(const DeadManSettings &other) = default;
361 DeadManSettings(DeadManSettings &&other) noexcept = default;
362 ~DeadManSettings() = default;
363
364 DeadManSettings &operator=(const DeadManSettings &other) = default;
365 DeadManSettings &operator=(DeadManSettings &&other) noexcept = default;
366
367 bool load(const iv::file::xml::node &nodeDeadManSettings);
368 bool save(iv::file::xml::node &nodeDeadManSettings) const;
369
370 std::optional<iv::types::channelId> deadManOn;
371 std::optional<iv::types::channelId> deadManWarning;
372 std::optional<iv::types::channelId> deadManAlarm;
373 std::optional<iv::types::channelId> deadManCommandOn;
374 std::optional<iv::types::channelId> deadManCommandOff;
375 std::optional<iv::types::channelId> deadManCommandReset;
376 std::optional<iv::types::channelId> deadManTime;
377
378 // Redundant information
379 bool isDeadManEnabled {false};
380
381 struct Keys
382 {
383 static constexpr std::string_view deadManOn {"DeadManOn"};
384 static constexpr std::string_view deadManWarning {"DeadManWarning"};
385 static constexpr std::string_view deadManAlarm {"DeadManAlarm"};
386 static constexpr std::string_view deadManCommandOn {"DeadManCommandOn"};
387 static constexpr std::string_view deadManCommandOff {"DeadManCommandOff"};
388 static constexpr std::string_view deadManCommandReset {"DeadManCommandReset"};
389 static constexpr std::string_view deadManTime {"DeadManTime"};
390 };
391
393 {
394 static constexpr std::string string {};
395 };
396};
397}// namespace iv::model
398
399#endif//IV_SRC_MODEL_STRUCTS_HPP_
Definition xmlFile.hpp:15
Definition Timestamp.hpp:17
Definition DiamarModel.cpp:14
eTimeSyncFormat
Definition enums.hpp:23
uint64_t timestamp
Definition types.hpp:21
uint16_t ipPort
Definition types.hpp:41
uint64_t milliseconds
Definition types.hpp:22
std::string networkId
Definition types.hpp:43
std::string channelId
Definition types.hpp:66
eLanguage
Definition enums.hpp:37
Definition structs.hpp:203
static constexpr bool enabled
Definition structs.hpp:204
static constexpr std::string databaseName
Definition structs.hpp:211
static constexpr iv::types::ipPort databasePort
Definition structs.hpp:210
static constexpr std::string username
Definition structs.hpp:207
static constexpr std::string databaseHost
Definition structs.hpp:209
static constexpr std::string password
Definition structs.hpp:208
static constexpr iv::types::networkId networkId
Definition structs.hpp:206
static constexpr bool isSedniServer
Definition structs.hpp:205
Definition structs.hpp:191
static constexpr std::string_view networkId
Definition structs.hpp:194
static constexpr std::string_view password
Definition structs.hpp:196
static constexpr std::string_view isSedniServer
Definition structs.hpp:193
static constexpr std::string_view databaseName
Definition structs.hpp:199
static constexpr std::string_view databasePort
Definition structs.hpp:198
static constexpr std::string_view enabled
Definition structs.hpp:192
static constexpr std::string_view databaseHost
Definition structs.hpp:197
static constexpr std::string_view username
Definition structs.hpp:195
Definition structs.hpp:168
std::string username
Definition structs.hpp:183
bool save(iv::file::xml::node &nodeCloudSettings) const
Definition structs.cpp:395
std::string databaseName
Definition structs.hpp:187
bool isSedniServer
Definition structs.hpp:181
CloudSettings(const CloudSettings &other)
CloudSettings()
Definition structs.cpp:333
bool enabled
Definition structs.hpp:180
iv::types::ipPort databasePort
Definition structs.hpp:186
iv::types::networkId networkId
Definition structs.hpp:182
CloudSettings & operator=(const CloudSettings &other)
Definition structs.cpp:351
std::string databaseHost
Definition structs.hpp:185
bool load(const iv::file::xml::node &nodeCloudSettings)
Definition structs.cpp:381
std::string password
Definition structs.hpp:184
Definition structs.hpp:382
static constexpr std::string_view deadManCommandOff
Definition structs.hpp:387
static constexpr std::string_view deadManCommandReset
Definition structs.hpp:388
static constexpr std::string_view deadManOn
Definition structs.hpp:383
static constexpr std::string_view deadManAlarm
Definition structs.hpp:385
static constexpr std::string_view deadManWarning
Definition structs.hpp:384
static constexpr std::string_view deadManTime
Definition structs.hpp:389
static constexpr std::string_view deadManCommandOn
Definition structs.hpp:386
Definition structs.hpp:358
bool isDeadManEnabled
Definition structs.hpp:379
std::optional< iv::types::channelId > deadManCommandOn
Definition structs.hpp:373
std::optional< iv::types::channelId > deadManCommandOff
Definition structs.hpp:374
bool save(iv::file::xml::node &nodeDeadManSettings) const
Definition structs.cpp:824
std::optional< iv::types::channelId > deadManTime
Definition structs.hpp:376
DeadManSettings(DeadManSettings &&other) noexcept=default
std::optional< iv::types::channelId > deadManCommandReset
Definition structs.hpp:375
std::optional< iv::types::channelId > deadManOn
Definition structs.hpp:370
std::optional< iv::types::channelId > deadManWarning
Definition structs.hpp:371
bool load(const iv::file::xml::node &nodeDeadManSettings)
Definition structs.cpp:798
std::optional< iv::types::channelId > deadManAlarm
Definition structs.hpp:372
DeadManSettings & operator=(const DeadManSettings &other)=default
DeadManSettings(const DeadManSettings &other)=default
DeadManSettings & operator=(DeadManSettings &&other) noexcept=default
Definition structs.hpp:15
EntryRegister & operator=(const EntryRegister &other)
EntryRegister()
Definition structs.cpp:10
iv::time::Timestamp timestamp
Definition structs.hpp:25
std::string name
Definition structs.hpp:24
EntryRegister(const EntryRegister &other)
Definition structs.hpp:50
static constexpr std::string_view language
Definition structs.hpp:51
static constexpr std::string_view text
Definition structs.hpp:52
Definition structs.hpp:29
void clear()
Definition structs.cpp:123
bool save(iv::file::xml::node &nodeLocalizedText, std::string_view localizedTextNodeName) const
Definition structs.cpp:88
LocalizedText & operator=(const LocalizedText &other)
Definition structs.cpp:43
LocalizedText(const LocalizedText &other)
bool empty() const
Definition structs.cpp:118
bool load(const iv::file::xml::node &nodeLocalizedTexts)
Definition structs.cpp:63
std::string_view getText(iv::eLanguage language=iv::eLanguage::English) const
Definition structs.cpp:101
std::string & getRefString(iv::eLanguage language=iv::eLanguage::English)
Definition structs.cpp:108
std::map< iv::eLanguage, std::string > localizedText
Definition structs.hpp:46
Definition structs.hpp:160
static constexpr iv::types::milliseconds lockoutDuration
Definition structs.hpp:162
static constexpr bool automaticUnlock
Definition structs.hpp:163
static constexpr uint8_t maxFailedAttempts
Definition structs.hpp:161
Definition structs.hpp:153
static constexpr std::string_view lockoutDuration
Definition structs.hpp:155
static constexpr std::string_view maxFailedAttempts
Definition structs.hpp:154
static constexpr std::string_view automaticUnlock
Definition structs.hpp:156
Definition structs.hpp:134
LoginLockout & operator=(const LoginLockout &other)
Definition structs.cpp:291
iv::types::milliseconds _lockoutDuration
Definition structs.hpp:148
LoginLockout()
Definition structs.cpp:270
bool load(const iv::file::xml::node &nodeLoginLockout)
Definition structs.cpp:315
bool save(iv::file::xml::node &nodeLoginLockout) const
Definition structs.cpp:324
bool _automaticUnlock
Definition structs.hpp:149
uint8_t _maxFailedAttempts
Definition structs.hpp:147
LoginLockout(const LoginLockout &other)
static constexpr iv::types::milliseconds minTimeBetweenChanges
Definition structs.hpp:128
static constexpr iv::types::milliseconds notificationTimeBeforeExpiration
Definition structs.hpp:129
static constexpr iv::types::milliseconds expirationTime
Definition structs.hpp:127
Definition structs.hpp:119
static constexpr std::string_view minTimeBetweenChanges
Definition structs.hpp:121
static constexpr std::string_view expirationTime
Definition structs.hpp:120
static constexpr std::string_view notificationTimeBeforeExpiration
Definition structs.hpp:122
Definition structs.hpp:99
PasswordLifecycle & operator=(const PasswordLifecycle &other)
Definition structs.cpp:226
iv::types::milliseconds _expirationTime
Definition structs.hpp:113
PasswordLifecycle(const PasswordLifecycle &other)
bool save(iv::file::xml::node &nodePasswordLifecycle) const
Definition structs.cpp:261
bool load(const iv::file::xml::node &nodePasswordLifecycle)
Definition structs.cpp:250
iv::types::milliseconds _notificationTimeBeforeExpiration
Definition structs.hpp:115
iv::types::milliseconds _minTimeBetweenChanges
Definition structs.hpp:114
PasswordLifecycle()
Definition structs.cpp:202
static constexpr int32_t minLength
Definition structs.hpp:91
static constexpr bool requiresUpperCase
Definition structs.hpp:92
static constexpr bool requiresNumbers
Definition structs.hpp:94
static constexpr bool requiresLowerCase
Definition structs.hpp:93
Definition structs.hpp:82
static constexpr std::string_view requiresNumbers
Definition structs.hpp:86
static constexpr std::string_view minLength
Definition structs.hpp:83
static constexpr std::string_view requiresUpperCase
Definition structs.hpp:84
static constexpr std::string_view requiresLowerCase
Definition structs.hpp:85
Definition structs.hpp:62
uint64_t _minLength
Definition structs.hpp:75
bool _requiresLowerCase
Definition structs.hpp:77
bool _requiresUpperCase
Definition structs.hpp:76
bool _requiresNumbers
Definition structs.hpp:78
bool save(iv::file::xml::node &nodePasswordRequirements) const
Definition structs.cpp:188
PasswordRequirements()
Definition structs.cpp:128
PasswordRequirements(const PasswordRequirements &other)
bool load(const iv::file::xml::node &nodePasswordRequirements)
Definition structs.cpp:175
PasswordRequirements & operator=(const PasswordRequirements &other)
Definition structs.cpp:150
Definition structs.hpp:233
static constexpr std::string_view channelId
Definition structs.hpp:234
Definition structs.hpp:216
bool save(iv::file::xml::node &nodePosixTimeFormat) const
Definition structs.cpp:523
std::optional< iv::types::timestamp > getTimestamp() const
Definition structs.cpp:528
PosixTimeFormat & operator=(const PosixTimeFormat &other)=default
iv::types::channelId channelId
Definition structs.hpp:229
bool load(const iv::file::xml::node &nodePosixTimeFormat)
Definition structs.cpp:518
PosixTimeFormat(const PosixTimeFormat &other)=default
PosixTimeFormat & operator=(PosixTimeFormat &&other) noexcept=default
PosixTimeFormat(PosixTimeFormat &&other) noexcept=default
Definition structs.hpp:265
Definition structs.hpp:260
static constexpr std::string_view dateChannelId
Definition structs.hpp:262
static constexpr std::string_view utcTimeChannelId
Definition structs.hpp:261
Definition structs.hpp:243
bool load(const iv::file::xml::node &nodeRMCLikeFormat)
Definition structs.cpp:561
RMCLikeFormat & operator=(RMCLikeFormat &&other) noexcept=default
RMCLikeFormat(RMCLikeFormat &&other) noexcept=default
RMCLikeFormat & operator=(const RMCLikeFormat &other)=default
iv::types::channelId dateChannelId
Definition structs.hpp:257
RMCLikeFormat(const RMCLikeFormat &other)=default
iv::types::channelId utcTimeChannelId
Definition structs.hpp:256
bool save(iv::file::xml::node &nodeRMCLikeFormat) const
Definition structs.cpp:567
std::optional< iv::types::timestamp > getTimestamp() const
Definition structs.cpp:573
static constexpr iv::types::timestamp maxTimeDifference
Definition structs.hpp:352
static constexpr bool hasTimeZoneSync
Definition structs.hpp:351
static constexpr bool hasTimeSync
Definition structs.hpp:350
static constexpr auto timeSyncFormat
Definition structs.hpp:353
Definition structs.hpp:334
static constexpr std::string_view hasTimeZoneSync
Definition structs.hpp:336
static constexpr std::string_view timeSyncFormat
Definition structs.hpp:339
static constexpr std::string_view timeZoneChannelId
Definition structs.hpp:337
static constexpr std::string_view hasTimeSync
Definition structs.hpp:335
static constexpr std::string_view maxTimeDifference
Definition structs.hpp:338
Definition structs.hpp:342
static constexpr std::string_view zdaLikeFormat
Definition structs.hpp:345
static constexpr std::string_view rmcLikeFormat
Definition structs.hpp:344
static constexpr std::string_view posixTimeFormat
Definition structs.hpp:343
Definition structs.hpp:305
TimeSyncSettings & operator=(const TimeSyncSettings &other)=default
TimeSyncSettings()
Definition structs.cpp:409
ZDALikeFormat zdaLikeFormat
Definition structs.hpp:330
bool hasTimeSync
Definition structs.hpp:323
iv::model::eTimeSyncFormat timeSyncFormat
Definition structs.hpp:326
iv::types::channelId timeZoneChannelId
Definition structs.hpp:321
TimeSyncSettings & operator=(TimeSyncSettings &&other) noexcept=default
PosixTimeFormat posixTimeFormat
Definition structs.hpp:328
bool hasTimeZoneSync
Definition structs.hpp:320
iv::types::milliseconds maxTimeDifference
Definition structs.hpp:324
TimeSyncSettings(const TimeSyncSettings &other)=default
bool save(iv::file::xml::node &nodeTimeSyncSettings) const
Definition structs.cpp:444
std::optional< int32_t > getTimeZoneOffset() const
Definition structs.cpp:484
bool load(const iv::file::xml::node &nodeTimeSyncSettings)
Definition structs.cpp:417
std::optional< iv::types::timestamp > getTimestamp() const
Definition structs.cpp:470
RMCLikeFormat rmcLikeFormat
Definition structs.hpp:329
TimeSyncSettings(TimeSyncSettings &&other) noexcept=default
Definition structs.hpp:299
Definition structs.hpp:292
static constexpr std::string_view dayChannelId
Definition structs.hpp:295
static constexpr std::string_view yearChannelId
Definition structs.hpp:296
static constexpr std::string_view utcTimeChannelId
Definition structs.hpp:293
static constexpr std::string_view monthChannelId
Definition structs.hpp:294
Definition structs.hpp:271
bool save(iv::file::xml::node &nodeZDALikeFormat) const
Definition structs.cpp:668
iv::types::channelId yearChannelId
Definition structs.hpp:286
ZDALikeFormat & operator=(ZDALikeFormat &&other) noexcept=default
bool load(const iv::file::xml::node &nodeZDALikeFormat)
Definition structs.cpp:659
ZDALikeFormat & operator=(const ZDALikeFormat &other)=default
std::optional< iv::types::timestamp > getTimestamp() const
Definition structs.cpp:676
ZDALikeFormat(ZDALikeFormat &&other) noexcept=default
iv::types::channelId monthChannelId
Definition structs.hpp:287
iv::types::channelId utcTimeChannelId
Definition structs.hpp:285
iv::types::channelId dayChannelId
Definition structs.hpp:288
ZDALikeFormat(const ZDALikeFormat &other)=default