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... | |
Private Attributes | |
bool | hit_ |
Hit success. More... | |
label | hitObject_ |
Object of hit. 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 |
|
inline |
Definition at line 100 of file objectHit.H.
Definition at line 105 of file objectHit.H.
Definition at line 113 of file objectHit.H.
|
private |
|
private |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.