ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
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

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

Functions

Rule daq::dpm::detail::ParseEx (std::string_view ex)
 Parse expression of the form documented in KeywordEx. More...
 
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;. More...
 
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. 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)
 

Detailed Description

Definition in file keywordEx.cpp.