llvm::IntervalData

Interval with closed endpoints and an associated value.

Synopsis

Declared in <llvm/ADT/IntervalTree.h>

template<
    typename PointT,
    typename ValueT>
class IntervalData;

Description

Composed by a Left and Right points and an associated Value. PointT corresponds to the interval endpoints type. ValueT corresponds to the interval value type.

Member Functions

NameDescription
IntervalData [constructor]Constructors
~IntervalData [destructor] [virtual]Destroy the interval data.
contains Return true when Point is contained in interval [Left;Right]. This is Left <= Point <= Right for closed intervals.
left left overloads
right right overloads
value Return the value associated with this interval.

Protected Type Aliases

NameDescription
PointType Type of the interval endpoints.
ValueType Type of the value associated with an interval.