This class describes a combination of target object index and success flag. More...
Public Member Functions | |
objectHit () | |
Construct null. More... | |
objectHit (const bool success, const label obj) | |
Construct from components. More... | |
objectHit (Istream &is) | |
Construct from Istream. More... | |
bool | hit () const |
Is there a hit. More... | |
label | hitObject () const |
Return hit object. More... | |
void | setHit () |
void | setMiss () |
Friends | |
Ostream & | operator<< (Ostream &os, const objectHit &obj) |
This class describes a combination of target object index and success flag.
Definition at line 49 of file objectHit.H.
|
inline |
Construct null.
Definition at line 65 of file objectHit.H.
Construct from components.
Definition at line 72 of file objectHit.H.
Construct from Istream.
Definition at line 79 of file objectHit.H.
|
inline |
Is there a hit.
Definition at line 91 of file objectHit.H.
Referenced by Foam::operator==().
|
inline |
Return hit object.
Definition at line 97 of file objectHit.H.
Referenced by Foam::operator==().
|
inline |
Definition at line 105 of file objectHit.H.
|
inline |
Definition at line 110 of file objectHit.H.
Definition at line 118 of file objectHit.H.