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