Classes | Namespaces | Typedefs | Functions
TagRules.h File Reference
#include "WireCellUtil/Configuration.h"
#include <unordered_set>
#include <unordered_map>
#include <string>
#include <vector>
#include <regex>

Go to the source code of this file.

Classes

class  WireCell::tagrules::Context
 

Namespaces

 WireCell
 
 WireCell::tagrules
 

Typedefs

typedef std::string WireCell::tagrules::tag_t
 
typedef std::string WireCell::tagrules::match_t
 
typedef std::unordered_set< tag_t > WireCell::tagrules::tagset_t
 
typedef std::pair< std::regex, tagset_t > WireCell::tagrules::rule_t
 
typedef std::vector< rule_t > WireCell::tagrules::ruleset_t
 

Functions

tagset_t WireCell::tagrules::match (const tag_t &tag, const rule_t &rs)
 
bool WireCell::tagrules::match (const tag_t &tag, const ruleset_t &rs, tagset_t &ret, bool all_rules=true)
 
tagset_t WireCell::tagrules::transform (const tagset_t &ts, const ruleset_t &rs, bool all_rules=true)
 
template<>
tagrules::tagset_t WireCell::convert< tagrules::tagset_t > (const Configuration &cfg, const tagrules::tagset_t &def)
 
template<>
tagrules::ruleset_t WireCell::convert< tagrules::ruleset_t > (const Configuration &cfg, const tagrules::ruleset_t &def)