6 #ifndef DAQ_DPM_MERGE_SOURCES_HPP
7 #define DAQ_DPM_MERGE_SOURCES_HPP
13 #include <nlohmann/json.hpp>
27 explicit Source(std::string name) noexcept;
28 std::string
const&
GetName() const noexcept {
75 std::filesystem::path m_path;
88 KeywordRules(std::unique_ptr<KeywordRuleProcessor> keyword_rules);
94 std::unique_ptr<KeywordRuleProcessor> m_processor;
114 std::filesystem::path path,
115 std::unique_ptr<KeywordRuleProcessor> keyword_rules);
120 std::filesystem::path path,
121 std::unique_ptr<KeywordRuleProcessor> keyword_rules,
123 using FitsFile::Close;
124 using FitsFile::GetFilePath;
125 using FitsFile::GetFitsFile;
126 using KeywordRules::GetKeywordRuleProcessor;
127 using Source::GetName;
138 std::filesystem::path path,
140 std::unique_ptr<KeywordRuleProcessor> keyword_rules);
142 using FitsFile::Close;
143 using FitsFile::GetFilePath;
144 using FitsFile::GetFitsFile;
145 using KeywordRules::GetKeywordRuleProcessor;
146 using Source::GetName;
152 std::string m_origin;
164 std::unique_ptr<KeywordRuleProcessor> keyword_rules) noexcept;
165 using KeywordRules::GetKeywordRuleProcessor;
166 using Source::GetName;
183 using SourceTypes = std::variant<FitsKeywordsSource, FitsFileSource>;
187 #endif // #ifndef DAQ_DPM_MERGE_SOURCES_HPP