Main Page
Namespaces
Classes
Package Documentation
Alignment
Geners
src
SearchSpecifier.cc
Go to the documentation of this file.
1
#include "Alignment/Geners/interface/SearchSpecifier.hh"
2
3
namespace
gs
{
4
bool
SearchSpecifier::matches
(
const
std::string
&sentence)
const
{
5
if
(useRegex_)
6
#ifdef CPP11_STD_AVAILABLE
7
return
std::regex_match(sentence.begin(), sentence.end(), regex_);
8
#else
9
return
regex_.matches(sentence);
10
#endif
11
else
12
return
sentence == tag_;
13
}
14
}
// namespace gs
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
patRefSel_triggerMatching_cfi.matches
matches
Definition:
patRefSel_triggerMatching_cfi.py:17
gs
Definition:
AbsArchive.cc:45
Generated for CMSSW Reference Manual by
1.8.11