36 #ifndef Foam_objectHit_H 37 #define Foam_objectHit_H 156 return a.
hit() ==
b.hit() && a.
index() ==
b.index();
void reset() noexcept
Reset to default construct state (false, -1)
constexpr objectHit() noexcept
Default construct. Nothing hit and object index = -1.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
label index() const noexcept
Return the hit object index.
label readLabel(const char *buf)
Parse entire buffer as a label, skipping leading/trailing whitespace.
bool hit() const noexcept
Is there a hit?
void setMiss() noexcept
Set the hit status off.
void setHit() noexcept
Set the hit status on.
label hitObject() const noexcept
Identical to index()
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
This class describes a combination of target object index and success flag. Behaves somewhat like std...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void setIndex(const label index) noexcept
Set the hit object index.
friend Ostream & operator<<(Ostream &os, const objectHit &obj)
bool operator!=(const eddy &a, const eddy &b)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
bool readBool(Istream &is)
Read bool from stream using Foam::Switch(Istream&)