ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
Namespaces | Functions
keywordEx.cpp File Reference
#include <daq/dpm/keywordEx.hpp>
#include <fmt/format.h>
#include <fmt/ostream.h>
#include <fnmatch.h>
#include <daq/fits/keyword.hpp>

Go to the source code of this file.

Namespaces

namespace  daq
 
namespace  daq::dpm
 
namespace  daq::dpm::detail
 

Functions

Rule daq::dpm::detail::ParseEx (std::string_view ex)
 Parse expression of the form documented in KeywordEx.
 
bool daq::dpm::detail::KeywordScopeMatch (fits::KeywordType kwtype, Scope scope)
 
std::optional< Operator > daq::dpm::detail::KeywordMatch (fits::KeywordNameView kw, Rule const &rule)
 Determines if keyword match rule and if yes, whether it matches;.
 
std::string daq::dpm::detail::RegexReplace (std::string_view str, std::regex const &re, char const *fmt)
 
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.
 
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)
 

Detailed Description

Definition in file keywordEx.cpp.