Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <range_set.h>
Classes | |
struct | range_compare |
Public Types | |
using | Range = std::pair<size_t, size_t> |
using | RangesContainer = std::set<Range, range_compare> |
Public Member Functions | |
RangeSet () | |
~RangeSet () | |
bool | Contains (const Range &range) const |
void | Union (const Range &range) |
void | Union (const RangeSet &range_set) |
bool | IsEmpty () const |
void | Clear () |
const RangesContainer & | ranges () const |
Definition at line 13 of file range_set.h.
using RangeSet::Range = std::pair<size_t, size_t> |
Definition at line 15 of file range_set.h.
using RangeSet::RangesContainer = std::set<Range, range_compare> |
Definition at line 36 of file range_set.h.
|
default |
|
default |
|
inline |
Definition at line 28 of file range_set.h.
bool RangeSet::Contains | ( | const Range & | range | ) | const |
Definition at line 16 of file range_set.cpp.
|
inline |
Definition at line 26 of file range_set.h.
Referenced by Union().
|
inline |
Definition at line 37 of file range_set.h.
Definition at line 30 of file range_set.cpp.
References IsEmpty().
Definition at line 62 of file range_set.cpp.