This class describes a combination of target object index and success flag. More...
#include <OpenFOAM/objectHit.H>
This class describes a combination of target object index and success flag.
Definition at line 55 of file objectHit.H.
Public Member Functions | |
objectHit () | |
Construct null.
| |
objectHit (const bool success, const label &obj) | |
Construct from components.
| |
objectHit (Istream &is) | |
Construct from Istream.
| |
bool | hit () const |
Is there a hit.
| |
label | hitObject () const |
Return hit object.
| |
Friends | |
bool | operator== (const objectHit &a, const objectHit &b) |
bool | operator!= (const objectHit &a, const objectHit &b) |
Ostream & | operator<< (Ostream &os, const objectHit &b) |
objectHit | ( | ) | [inline]
|
Construct null.
Definition at line 71 of file objectHit.H.
objectHit | ( | const bool | success, |
const label & | obj | ||
) | [inline]
|
Construct from components.
Definition at line 78 of file objectHit.H.
Construct from Istream.
Definition at line 85 of file objectHit.H.
bool hit | ( | ) | const [inline]
|
label hitObject | ( | ) | const [inline]
|
Definition at line 109 of file objectHit.H.
Definition at line 114 of file objectHit.H.
Definition at line 122 of file objectHit.H.