stores a range of integers or a set of ranges
More...
#include <range.hpp>
|
| | range (const infinint &low, const infinint &high) |
|
| range (const range &ref)=default |
|
| range (range &&ref) noexcept=default |
|
range & | operator= (const range &ref)=default |
|
range & | operator= (range &&ref) noexcept=default |
|
void | operator+= (const range &ref) |
| range | operator+ (const range &ref) const |
|
std::string | display () const |
| void | reset_read () const |
| | provides a way to read range contents segment by segment
|
| bool | read_next_segment (infinint &low, infinint &high) const |
| | read the next available segment
|
| void | clear () |
| | range (const infinint &low, const infinint &high) |
|
| range (const range &ref)=default |
|
| range (range &&ref) noexcept=default |
|
range & | operator= (const range &ref)=default |
|
range & | operator= (range &&ref) noexcept=default |
|
void | operator+= (const range &ref) |
| range | operator+ (const range &ref) const |
|
std::string | display () const |
| void | reset_read () const |
| | provides a way to read range contents segment by segment
|
| bool | read_next_segment (infinint &low, infinint &high) const |
| | read the next available segment
|
| void | clear () |
stores a range of integers or a set of ranges
Definition at line 43 of file dar64-2.8.3-win64/include/dar/range.hpp.
◆ range() [1/4]
◆ range() [2/4]
◆ range() [3/4]
◆ range() [4/4]
◆ clear() [1/2]
| void libdar::range::clear |
( |
| ) |
|
|
inline |
◆ clear() [2/2]
| void libdar::range::clear |
( |
| ) |
|
|
inline |
◆ operator+() [1/2]
| range libdar::range::operator+ |
( |
const range & | ref | ) |
const |
|
inline |
◆ operator+() [2/2]
| range libdar::range::operator+ |
( |
const range & | ref | ) |
const |
|
inline |
◆ read_next_segment() [1/2]
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.
◆ read_next_segment() [2/2]
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() [1/2]
| void libdar::range::reset_read |
( |
| ) |
const |
|
inline |
◆ reset_read() [2/2]
| 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 src/libdar/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 files: