stores a range of integers or a set of ranges
More...
#include <range.hpp>
stores a range of integers or a set of ranges
Definition at line 43 of file range.hpp.
◆ range() [1/2]
◆ range() [2/2]
◆ clear()
void libdar::range::clear |
( |
| ) |
|
|
inline |
◆ operator+()
range libdar::range::operator+ |
( |
const range & |
ref | ) |
const |
|
inline |
◆ read_next_segment()
read the next available segment
- Parameters
-
- Returns
- true and set the low and high value when a next segment is available in the range, returns false if all segment have been read low and high are not modified in that case.
◆ reset_read()
void libdar::range::reset_read |
( |
| ) |
const |
|
inline |
provides a way to read range contents segment by segment
- Note
- reset_read() is to be called once then read_next_segment() will return true for each new segment giving in argument its low and high value when no more segment are available it returns false, reset_read() can be call at any time to reset the reading operation
Definition at line 64 of file range.hpp.
◆ parts
std::list<segment> libdar::range::parts |
|
private |
◆ read_cursor
std::list<segment>::const_iterator libdar::range::read_cursor |
|
mutableprivate |
The documentation for this class was generated from the following file: