|
ifw-daq
3.0.0-pre2
IFW Data Acquisition modules
|
Classes | |
| struct | Rule |
| Represents a keyword rule expression. More... | |
Enumerations | |
| enum class | Operator : std::uint8_t { Include , Exclude } |
| Rule operator. More... | |
| enum class | Scope : std::uint8_t { Any , Value , Eso , Commentary } |
| Rule scope. More... | |
Functions | |
| Rule | ParseEx (std::string_view ex) |
| Parse expression of the form documented in KeywordEx. More... | |
| bool | KeywordScopeMatch (fits::KeywordType kwtype, Scope scope) |
| std::optional< Operator > | KeywordMatch (fits::KeywordNameView kw, Rule const &rule) |
| Determines if keyword match rule and if yes, whether it matches;. More... | |
| std::string | RegexReplace (std::string_view str, std::regex const &re, char const *fmt) |
| 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 | |
|
strong |
|
strong |
| std::optional<Operator> daq::dpm::detail::KeywordMatch | ( | fits::KeywordNameView | kw, |
| Rule const & | rule | ||
| ) |
Determines if keyword match rule and if yes, whether it matches;.
Definition at line 117 of file keywordEx.cpp.
| bool daq::dpm::detail::KeywordScopeMatch | ( | fits::KeywordType | kwtype, |
| Scope | scope | ||
| ) |
Definition at line 95 of file keywordEx.cpp.
| Rule daq::dpm::detail::ParseEx | ( | std::string_view | ex | ) |
Parse expression of the form documented in KeywordEx.
| std::invalid_argument | if expression ex is not valid. |
Definition at line 17 of file keywordEx.cpp.
| std::string daq::dpm::detail::RegexReplace | ( | std::string_view | str, |
| std::regex const & | re, | ||
| char const * | fmt | ||
| ) |
Definition at line 139 of file keywordEx.cpp.