|
LLVM 22.0.0git
|
An interval data composed by a Left and Right points and an associated Value. More...
#include "llvm/ADT/IntervalTree.h"
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 |
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.
|
protected |
Definition at line 200 of file IntervalTree.h.
|
protected |
Definition at line 201 of file IntervalTree.h.
|
delete |
|
inline |
Definition at line 210 of file IntervalTree.h.
References assert().
|
virtualdefault |
|
inline |
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.
|
inline |
Definition at line 215 of file IntervalTree.h.
Referenced by contains().
|
inline |
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().
|
inline |
Definition at line 216 of file IntervalTree.h.
Referenced by contains().
|
inline |
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().
|
inline |
Definition at line 217 of file IntervalTree.h.