27std::map<int, CathodeSegmentationCreator>&
Creators()
29 static std::map<int, CathodeSegmentationCreator> creators;
37 std::cerr <<
"WARNING: there is already a creator registered for segType="
38 << segType <<
". Will override it\n";
constexpr std::array< std::string_view, BasicOp::Conditional+1 > mapping
a map between BasicOp and tokens in string expressions
void registerCathodeSegmentationCreator(int segType, CathodeSegmentationCreator func)
CathodeSegmentationCreator getCathodeSegmentationCreator(int segType)
CathodeSegmentation *(*)(bool) CathodeSegmentationCreator
std::map< int, CathodeSegmentationCreator > & Creators()
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...