LLVM: llvm::IntervalData< PointT, ValueT > Class Template Reference (original) (raw)

An interval data composed by a Left and Right points and an associated Value. More...

#include "[llvm/ADT/IntervalTree.h](IntervalTree%5F8h%5Fsource.html)"

Public Member Functions
IntervalData ()=delete
IntervalData (PointType Left, PointType Right, ValueType Value)
virtual ~IntervalData ()=default
PointType left () const
PointType right () const
ValueType value () const
bool left (const PointType &Point) const
Return true if Point is inside the left bound of closed interval [Left;Right].
bool right (const PointType &Point) const
Return true if Point is inside the right bound of closed interval [Left;Right].
bool contains (const PointType &Point) const
Return true when Point is contained in interval [Left;Right].
Protected Types
using PointType = PointT
using ValueType = ValueT

template<typename PointT, typename ValueT>
class llvm::IntervalData< PointT, ValueT >

An interval data 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.

Definition at line 198 of file IntervalTree.h.

PointType

template<typename PointT, typename ValueT>

ValueType

template<typename PointT, typename ValueT>

template<typename PointT, typename ValueT>

IntervalData() [2/2]

template<typename PointT, typename ValueT>

~IntervalData()

template<typename PointT, typename ValueT>

contains()

template<typename PointT, typename ValueT>

Return true when Point is contained in interval [Left;Right].

This is Left <= Point <= Right for closed intervals.

Definition at line 229 of file IntervalTree.h.

References left(), and right().

left() [1/2]

template<typename PointT, typename ValueT>

left() [2/2]

template<typename PointT, typename ValueT>

Return true if Point is inside the left bound of closed interval [Left;Right].

This is Left <= Point for closed intervals.

Definition at line 221 of file IntervalTree.h.

References left().

Referenced by left().

right() [1/2]

template<typename PointT, typename ValueT>

right() [2/2]

template<typename PointT, typename ValueT>

Return true if Point is inside the right bound of closed interval [Left;Right].

This is Point <= Right for closed intervals.

Definition at line 225 of file IntervalTree.h.

References right().

Referenced by right().

value()

template<typename PointT, typename ValueT>


The documentation for this class was generated from the following file: