22 #define rl_assert(cond) arb_assert(cond)
38 typedef std::set<PosRange, less_DistinctPosRange> range_set;
42 void add_combined(
const PosRange& range, range_set::const_iterator found);
49 size_t size()
const {
return ranges.size(); }
51 iterator
begin()
const {
return ranges.begin(); }
52 iterator
end()
const {
return ranges.end(); }
54 reverse_iterator
rbegin()
const {
return ranges.rbegin(); }
55 reverse_iterator
rend()
const {
return ranges.rend(); }
59 bool empty()
const {
return ranges.empty(); }
63 iterator found = ranges.find(range);
64 if (found != ranges.end()) add_combined(range, found);
65 else ranges.insert(range);
73 #error RangeList.h included twice
range_set::const_iterator iterator
void add(const PosRange &range)
RangeList build_RangeList_from_string(const char *SAI_data, const char *set_bytes, bool invert)
reverse_iterator rend() const
reverse_iterator rbegin() const
RangeList inverse(ExplicitRange versus)
bool operator()(const PosRange &r1, const PosRange &r2) const
range_set::const_reverse_iterator reverse_iterator