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... | |
Friends | |
bool | operator== (const objectHit &a, const objectHit &b) |
bool | operator!= (const objectHit &a, const objectHit &b) |
Ostream & | operator<< (Ostream &os, const objectHit &obj) |
This class describes a combination of target object index and success flag.
Definition at line 46 of file objectHit.H.
|
inline |
Construct null.
Definition at line 62 of file objectHit.H.
Construct from components.
Definition at line 69 of file objectHit.H.
Construct from Istream.
Definition at line 76 of file objectHit.H.
|
inline |
Is there a hit.
Definition at line 86 of file objectHit.H.
|
inline |
Return hit object.
Definition at line 92 of file objectHit.H.
Definition at line 100 of file objectHit.H.
Definition at line 105 of file objectHit.H.
Definition at line 113 of file objectHit.H.