Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
art::EventIDMatcher Class Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/canvas/v3_06_01/source/canvas/Utilities/EventIDMatcher.h"

Classes

class  PatternRangeElement
 

Public Member Functions

 EventIDMatcher (std::string const &pattern)
 
 EventIDMatcher (std::vector< std::string > const &patterns)
 
bool operator() (EventID const &) const
 
bool match (EventID const &) const
 

Private Member Functions

void parse_pattern ()
 

Private Attributes

std::vector< std::stringpattern_
 
std::vector< std::vector< std::vector< PatternRangeElement > > > parsed_patterns_
 

Detailed Description

Definition at line 12 of file EventIDMatcher.h.

Constructor & Destructor Documentation

art::EventIDMatcher::EventIDMatcher ( std::string const &  pattern)
explicit
art::EventIDMatcher::EventIDMatcher ( std::vector< std::string > const &  patterns)
explicit

Member Function Documentation

bool art::EventIDMatcher::match ( EventID const &  ) const
bool art::EventIDMatcher::operator() ( EventID const &  ) const
void art::EventIDMatcher::parse_pattern ( )
private

Member Data Documentation

std::vector<std::vector<std::vector<PatternRangeElement> > > art::EventIDMatcher::parsed_patterns_
private

Definition at line 42 of file EventIDMatcher.h.

std::vector<std::string> art::EventIDMatcher::pattern_
private

Definition at line 41 of file EventIDMatcher.h.


The documentation for this class was generated from the following file: