3 #include <boost/regex.hpp>
14 m_from(from), m_to(to) {}
24 bool in(T value)
const {
25 return value >= m_from && value <= m_to;
28 bool operator<(
const Range<T>& other)
const {
29 return m_from < other.m_from;
33 friend std::ostream& operator<<(std::ostream& stream,
const Range<U>& range);
41 std::ostream& operator<<(std::ostream& stream,
const Range<T>& range)
43 stream <<
"[" << range.from() <<
", " << range.to() <<
"]";
51 using PathName = boost::regex;
52 using PathVector = std::vector<PathName>;
55 m_cachedRange(
nullptr), m_cachedVector(
nullptr) {
60 const PathVector& getPaths(uint64_t run);
63 std::map<Range<uint64_t>, PathVector> m_paths;
66 const PathVector* m_cachedVector;
68 bool parse(
const std::string& filename);
Definition: HLTService.h:48
Definition: HLTService.h:11
Definition: tinyxml2.h:1154