LLVM
8.0.1
|
IntervalMapOverlaps - Iterate over the overlaps of mapped intervals in two IntervalMaps. More...
#include "llvm/ADT/IntervalMap.h"
Public Member Functions | |
IntervalMapOverlaps (const MapA &a, const MapB &b) | |
IntervalMapOverlaps - Create an iterator for the overlaps of a and b. More... | |
bool | valid () const |
valid - Return true if iterator is at an overlap. More... | |
const MapA::const_iterator & | a () const |
a - access the left hand side in the overlap. More... | |
const MapB::const_iterator & | b () const |
b - access the right hand side in the overlap. More... | |
KeyType | start () const |
start - Beginning of the overlapping interval. More... | |
KeyType | stop () const |
stop - End of the overlapping interval. More... | |
void | skipA () |
skipA - Move to the next overlap that doesn't involve a(). More... | |
void | skipB () |
skipB - Move to the next overlap that doesn't involve b(). More... | |
IntervalMapOverlaps & | operator++ () |
Preincrement - Move to the next overlap. More... | |
void | advanceTo (KeyType x) |
advanceTo - Move to the first overlapping interval with stopLess(x, stop()). More... | |
IntervalMapOverlaps - Iterate over the overlaps of mapped intervals in two IntervalMaps.
The maps may be different, but the KeyT and Traits types should be the same.
Typical uses:
Definition at line 2059 of file IntervalMap.h.
|
inline |
IntervalMapOverlaps - Create an iterator for the overlaps of a and b.
Definition at line 2101 of file IntervalMap.h.
|
inline |
a - access the left hand side in the overlap.
Definition at line 2111 of file IntervalMap.h.
|
inline |
advanceTo - Move to the first overlapping interval with stopLess(x, stop()).
Definition at line 2154 of file IntervalMap.h.
|
inline |
b - access the right hand side in the overlap.
Definition at line 2114 of file IntervalMap.h.
|
inline |
Preincrement - Move to the next overlap.
Definition at line 2143 of file IntervalMap.h.
|
inline |
skipA - Move to the next overlap that doesn't involve a().
Definition at line 2131 of file IntervalMap.h.
|
inline |
skipB - Move to the next overlap that doesn't involve b().
Definition at line 2137 of file IntervalMap.h.
|
inline |
start - Beginning of the overlapping interval.
Definition at line 2117 of file IntervalMap.h.
|
inline |
stop - End of the overlapping interval.
Definition at line 2124 of file IntervalMap.h.
|
inline |
valid - Return true if iterator is at an overlap.
Definition at line 2106 of file IntervalMap.h.