ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
#include <filesystem>
#include <optional>
#include <string>
#include <string_view>
#include <variant>
#include <vector>
#include <nlohmann/json.hpp>
#include <daq/fits/keyword.hpp>
Go to the source code of this file.
Classes | |
struct | daq::DpSpecError |
struct | daq::DpSpec |
Close representation of the JSON structure but with stronger types. More... | |
struct | daq::DpSpec::Filter |
struct | daq::DpSpec::Transform |
struct | daq::DpSpec::SourceFitsKeywords |
struct | daq::DpSpec::SourceFitsFile |
struct | daq::DpSpec::Target |
struct | daq::Origin |
Describes parsed origin string into its components "host" and "path". More... | |
Namespaces | |
daq | |
Functions | |
DpSpec | daq::ParseDpSpec (nlohmann::json const &spec) |
Parse JSON to construct the DpSpec structure. More... | |
Origin | daq::ParseSourceOrigin (std::string const &origin) |
Parse origin string from DpSpec into component parts. More... | |
Definition in file dpSpec.hpp.
struct daq::DpSpec |
Close representation of the JSON structure but with stronger types.
Definition at line 28 of file dpSpec.hpp.
Class Members | ||
---|---|---|
typedef variant< Filter, Transform > | KeywordRule | |
typedef vector< KeywordRule > | KeywordRules | |
typedef variant< SourceFitsKeywords, SourceFitsFile > | SourceTypes |
Class Members | ||
---|---|---|
string | id | |
vector< SourceTypes > | sources | |
Target | target |
struct daq::DpSpec::Filter |
Definition at line 29 of file dpSpec.hpp.
Class Members | ||
---|---|---|
vector< string > | selection_patterns |
struct daq::DpSpec::Transform |
Definition at line 32 of file dpSpec.hpp.
Class Members | ||
---|---|---|
string | format | |
string | regex | |
vector< string > | selection_patterns |
struct daq::DpSpec::SourceFitsKeywords |
Definition at line 40 of file dpSpec.hpp.
Class Members | ||
---|---|---|
KeywordRules | keyword_rules | |
KeywordVector | keywords | |
string | source_name |
struct daq::DpSpec::SourceFitsFile |
Definition at line 45 of file dpSpec.hpp.
Class Members | ||
---|---|---|
KeywordRules | keyword_rules | |
string | origin | |
string | source_name |
struct daq::DpSpec::Target |
Definition at line 50 of file dpSpec.hpp.
Class Members | ||
---|---|---|
string | file_id | |
string | file_prefix | Optioal user chosen file prefix to make it easier to identify the produced file. |
optional< SourceFitsFile > | source |