ifw-daq
2.1.0-pre1
IFW Data Acquisition modules
|
#include <algorithm>
#include <regex>
#include <string>
#include <string_view>
#include <vector>
#include <daq/fits/keyword.hpp>
Go to the source code of this file.
Classes | |
struct | daq::dpm::detail::Rule |
Represents a keyword rule expression. More... | |
class | daq::dpm::KeywordEx |
Create keyword expression that memoize the provided string pattern. More... | |
Namespaces | |
daq | |
daq::dpm | |
daq::dpm::detail | |
Enumerations | |
enum | daq::dpm::detail::Operator : std::uint8_t { daq::dpm::detail::Operator::Include, daq::dpm::detail::Operator::Exclude } |
Rule operator. More... | |
enum | daq::dpm::detail::Scope : std::uint8_t { daq::dpm::detail::Scope::Any, daq::dpm::detail::Scope::Value, daq::dpm::detail::Scope::Eso, daq::dpm::detail::Scope::Commentary } |
Rule scope. More... | |
Functions | |
Rule | daq::dpm::detail::ParseEx (std::string_view ex) |
Parse expression of the form documented in KeywordEx. More... | |
bool | daq::dpm::KeywordMatch (fits::KeywordVariant const &keyword, KeywordEx const &ex) |
fits::KeywordVariant | daq::dpm::KeywordTransform (fits::KeywordVariant const &keyword, std::regex const &re, char const *fmt) |
Transforms keyword name using regex. More... | |
fits::ValueKeyword | daq::dpm::KeywordTransform (fits::ValueKeyword const &keyword, std::regex const &re, char const *fmt) |
fits::EsoKeyword | daq::dpm::KeywordTransform (fits::EsoKeyword const &keyword, std::regex const &re, char const *fmt) |
fits::LiteralKeyword | daq::dpm::KeywordTransform (fits::LiteralKeyword const &keyword, std::regex const &re, char const *fmt) |
Definition in file keywordEx.hpp.
struct daq::dpm::detail::Rule |
Represents a keyword rule expression.
Definition at line 32 of file keywordEx.hpp.
Class Members | ||
---|---|---|
Operator | op | |
string | pattern | |
Scope | scope |