53Istream&
operator>>(Istream& is, labelRanges& ranges);
54Ostream&
operator<<(Ostream& is,
const labelRanges& ranges);
106 inline bool found(
const label value)
const;
183#include "labelRangesI.H"
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
void clear() noexcept
Clear the addressed list, i.e. set the size to zero.
Foam::labelRange remove()
Remove and return the last element. Fatal on an empty list.
friend Ostream & operator(Ostream &os, const DynamicList< Foam::labelRange, 16 > &list)
Write to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool empty() const noexcept
True if the UList is empty (ie, size() is zero)
A range or interval of labels defined by a start and a size.
Forward input iterator with const access.
constexpr bool operator==(const const_iterator &iter) const noexcept
const_iterator & operator++()
label operator*() const
Return the current label.
constexpr bool operator!=(const const_iterator &iter) const noexcept
labelRanges()=default
Default construct.
const_iterator cbegin() const noexcept
A const_iterator set to the beginning of the list.
const_iterator begin() const noexcept
A const_iterator set to the beginning of the list.
const const_iterator cend() const noexcept
A const_iterator set to beyond the end of the list.
bool add(const labelRange &range)
Add the range to the list.
const const_iterator end() const noexcept
A const_iterator set to beyond the end of the list.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
srcOptions insert("case", fileName(rootDirSource/caseDirSource))