15#ifndef O2_MCH_CONTOUR_INTERVAL_H
16#define O2_MCH_CONTOUR_INTERVAL_H
37 throw std::invalid_argument(
"begin should be strictly < end");
43 return (
i.begin() < mBegin ||
areEqual(
i.begin(), mBegin)) && (mEnd <
i.end() ||
areEqual(
i.end(), mEnd));
46 T
begin()
const {
return mBegin; }
48 T
end()
const {
return mEnd; }
72 os <<
"[" <<
i.begin() <<
"," <<
i.end() <<
"]";
bool operator!=(const Interval &rhs) const
bool isFullyContainedIn(Interval i) const
bool operator==(const Interval &rhs) const
bool extend(const Interval &i)
GLboolean GLboolean GLboolean b
bool areEqual(double a, double b)
std::ostream & operator<<(std::ostream &os, const ManhattanEdge< T > &edge)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...