Classes | |
class | Context |
Typedefs | |
typedef std::string | tag_t |
typedef std::string | match_t |
typedef std::unordered_set< tag_t > | tagset_t |
typedef std::pair< std::regex, tagset_t > | rule_t |
typedef std::vector< rule_t > | ruleset_t |
Functions | |
tagset_t | match (const tag_t &tag, const rule_t &rs) |
bool | match (const tag_t &tag, const ruleset_t &rs, tagset_t &ret, bool all_rules=true) |
tagset_t | transform (const tagset_t &ts, const ruleset_t &rs, bool all_rules=true) |
Definition at line 47 of file TagRules.h.
typedef std::pair<std::regex, tagset_t> WireCell::tagrules::rule_t |
Definition at line 49 of file TagRules.h.
Definition at line 50 of file TagRules.h.
typedef std::string WireCell::tagrules::tag_t |
Definition at line 46 of file TagRules.h.
typedef std::unordered_set<tag_t> WireCell::tagrules::tagset_t |
Definition at line 48 of file TagRules.h.
tagrules::tagset_t WireCell::tagrules::match | ( | const tag_t & | tag, |
const rule_t & | rs | ||
) |
Definition at line 16 of file TagRules.cxx.
bool WireCell::tagrules::match | ( | const tag_t & | tag, |
const ruleset_t & | rs, | ||
tagrules::tagset_t & | ret, | ||
bool | all_rules = true |
||
) |
Definition at line 24 of file TagRules.cxx.
tagrules::tagset_t WireCell::tagrules::transform | ( | const tagset_t & | ts, |
const ruleset_t & | rs, | ||
bool | all_rules = true |
||
) |
Definition at line 43 of file TagRules.cxx.