PLaSK library
|
#include <plask/utils/numbers_set.hpp>
Public Member Functions | |
Segment ()=default | |
Segment (number_t numberEnd, number_t indexEnd) | |
bool | operator== (const Segment &other) const |
bool | operator!= (const Segment &other) const |
Static Public Member Functions | |
static bool | compareByIndexEnd (number_t i, const Segment &seg) |
static bool | compareByNumberEnd (number_t n, const Segment &seg) |
Public Attributes | |
number_t | numberEnd |
last number in the segment increased by one | |
number_t | indexEnd |
accumulated count of segments length, up to this and including this = index-1 of numberEnd-1 in the set = first index in the next segment | |
Definition at line 34 of file numbers_set.hpp.
|
default |
|
inline |
Definition at line 46 of file numbers_set.hpp.
|
inlinestatic |
Definition at line 40 of file numbers_set.hpp.
|
inlinestatic |
Definition at line 42 of file numbers_set.hpp.
|
inline |
Definition at line 52 of file numbers_set.hpp.
|
inline |
Definition at line 48 of file numbers_set.hpp.
number_t plask::CompressedSetOfNumbers< number_t >::Segment::indexEnd |
accumulated count of segments length, up to this and including this = index-1 of numberEnd-1 in the set = first index in the next segment
Definition at line 38 of file numbers_set.hpp.
number_t plask::CompressedSetOfNumbers< number_t >::Segment::numberEnd |
last number in the segment increased by one
Definition at line 36 of file numbers_set.hpp.