Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
HistoryExporter.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_IOFILE_HISTORYEXPORTER_HPP_
2#define IV_SRC_IOFILE_HISTORYEXPORTER_HPP_
3
4#include "alarms/structs.hpp"
5#include <string>
6namespace iv::iofile
7{
9{
10public:
11 static bool exportHistory(const std::string &selectedPath, const std::vector<iv::alarms::Event> &eventsHistory);
12
13private:
15 {
16 static constexpr std::string dateTime {"DateTime"};
17 static constexpr std::string tagChannel {"TagChannel"};
18 static constexpr std::string description {"Description"};
19 static constexpr std::string message {"Message"};
20 static constexpr std::string state {"State"};
21 };
22};
23
24}// namespace iv::iofile
25#endif//IV_SRC_IOFILE_HISTORYEXPORTER_HPP_
Definition HistoryExporter.hpp:9
static bool exportHistory(const std::string &selectedPath, const std::vector< iv::alarms::Event > &eventsHistory)
Definition HistoryExporter.cpp:10
Definition ChannelsImporterExporter.cpp:15
Definition HistoryExporter.hpp:15
static constexpr std::string message
Definition HistoryExporter.hpp:19
static constexpr std::string state
Definition HistoryExporter.hpp:20
static constexpr std::string tagChannel
Definition HistoryExporter.hpp:17
static constexpr std::string dateTime
Definition HistoryExporter.hpp:16
static constexpr std::string description
Definition HistoryExporter.hpp:18