ifw-daq
3.0.0-pre2
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 class | daq::dpm::detail::Operator : std::uint8_t { daq::dpm::detail::Include , daq::dpm::detail::Exclude } |
Rule operator. More... | |
enum class | daq::dpm::detail::Scope : std::uint8_t { daq::dpm::detail::Any , daq::dpm::detail::Value , daq::dpm::detail::Eso , daq::dpm::detail::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 |