Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Generated for CMSSW Reference Manual by
1.8.5