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