4 #include "concordia/common/config.hpp"
22 explicit Interval(
const SUFFIX_MARKER_TYPE start,
23 const SUFFIX_MARKER_TYPE end);
60 friend std::ostream & operator << (std::ostream & o,
62 return o <<
"[" << interval.
getStart()
63 <<
"," << interval.
getEnd() <<
")";
67 SUFFIX_MARKER_TYPE _start;
69 SUFFIX_MARKER_TYPE _end;
72 struct intervalEndComparator {
Interval(const SUFFIX_MARKER_TYPE start, const SUFFIX_MARKER_TYPE end)
Definition: interval.cpp:4
virtual ~Interval()
Definition: interval.cpp:10
SUFFIX_MARKER_TYPE getLength()
Definition: interval.cpp:22
Definition: interval.hpp:16
SUFFIX_MARKER_TYPE getStart() const
Definition: interval.hpp:49
bool contains(Interval &interval)
Definition: interval.cpp:18
SUFFIX_MARKER_TYPE getEnd() const
Definition: interval.hpp:56
bool intersects(Interval &interval)
Definition: interval.cpp:13