128 void setIndex(
const label idx)
noexcept
142 &&
static_cast<const T&
>(*
this) ==
static_cast<const T&
>(rhs)
149 return !(*
this == rhs);
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A container with an integer index that can be attached to any item. The index may be useful for sorti...
bool operator==(const LabelledItem< T > &rhs) const
Test for equality of components.
LabelledItem(Istream &is)
Construct from Istream.
bool operator!=(const LabelledItem< T > &rhs) const
Test for inequality of components.
LabelledItem(const T &item)
Copy construct item, with index = -1.
LabelledItem(T &&item)
Move construct item, with index = -1.
LabelledItem()
Default construct item, with index = -1.
void setIndex(const label idx) noexcept
Set the index.
label & index() noexcept
Non-const access to the index.
label index() const noexcept
Return the index.
LabelledItem(const T &item, label idx)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)