DynamicList< labelRange > ParentType
bool operator!=(const const_iterator &) const
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
const_iterator & operator++()
labelRanges()
Construct null.
const const_iterator & end() const
const_iterator set to beyond the end of the list
friend Istream & operator>>(Istream &, labelRanges &)
label subIndex_
Index of current element at listIndex.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool operator==(const const_iterator &) const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const_iterator()
Construct null - equivalent to an 'end' position.
const labelRanges & list_
Reference to the list for which this is an iterator.
Ostream & operator<<(Ostream &, const edgeMesh &)
const_iterator begin() const
const_iterator set to the beginning of the list
void insertBefore(const label, const labelRange &)
Insert range before specified insertion index, by copying up.
const const_iterator & cend() const
const_iterator set to beyond the end of the list
const_iterator cbegin() const
const_iterator set to the beginning of the list
bool contains(const label) const
Return true if the value is within any of the ranges.
void purgeEmpty()
Purge empty ranges, by copying down.
Istream & operator>>(Istream &, edgeMesh &)
T remove()
Remove and return the top element.
static const const_iterator endIter_
const_iterator returned by end(), cend()
Ostream & printRange(Ostream &, const labelRange &) const
Print the range for debugging purposes.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool add(const labelRange &)
Add the range to the list.
label index_
Current list index.
friend Ostream & operator<<(Ostream &, const labelRanges &)