Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
ChannelsImporterExporter.hpp
Go to the documentation of this file.
1#ifndef IV_SRC_IOFILE_CHANNELSIMPORTEREXPORTER_HPP_
2#define IV_SRC_IOFILE_CHANNELSIMPORTEREXPORTER_HPP_
3
5#include "iofile/structs.hpp"
7
8#include <string>
9#include <vector>
10
11namespace iv::iofile
12{
13
15{
16public:
17 static bool exportChannels(const std::string &selectedPath,
18 const std::vector<std::weak_ptr<iv::channels::AbstractChannel>> &channels);
19
20 static std::optional<std::vector<iv::iofile::ChannelImporterData>>
21 importChannels(std::string_view importFilePath, const std::optional<std::shared_ptr<AbstractLog>> &logger);
22};
23
24}// namespace iv::iofile
25
26#endif//IV_SRC_IOFILE_CHANNELSIMPORTEREXPORTER_HPP_
Definition ChannelsImporterExporter.hpp:15
static bool exportChannels(const std::string &selectedPath, const std::vector< std::weak_ptr< iv::channels::AbstractChannel > > &channels)
Definition ChannelsImporterExporter.cpp:16
static std::optional< std::vector< iv::iofile::ChannelImporterData > > importChannels(std::string_view importFilePath, const std::optional< std::shared_ptr< AbstractLog > > &logger)
Definition ChannelsImporterExporter.cpp:172
Definition ChannelsImporterExporter.cpp:15