OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

objectHit Class Reference

This class describes a combination of target object index and success flag. More...

Collaboration diagram for objectHit:

List of all members.


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)

Detailed Description

This class describes a combination of target object index and success flag.

Definition at line 47 of file objectHit.H.


Constructor & Destructor Documentation

objectHit (  )  [inline]

Construct null.

Definition at line 63 of file objectHit.H.

objectHit ( const bool  success,
const label &  obj 
) [inline]

Construct from components.

Definition at line 70 of file objectHit.H.

objectHit ( Istream &  is  )  [inline]

Construct from Istream.

Definition at line 77 of file objectHit.H.


Member Function Documentation

bool hit (  )  const [inline]

Is there a hit.

Definition at line 87 of file objectHit.H.

label hitObject (  )  const [inline]

Return hit object.

Definition at line 93 of file objectHit.H.


Friends And Related Function Documentation

bool operator== ( const objectHit &  a,
const objectHit &  b 
) [friend]

Definition at line 101 of file objectHit.H.

bool operator!= ( const objectHit &  a,
const objectHit &  b 
) [friend]

Definition at line 106 of file objectHit.H.

Ostream& operator<< ( Ostream &  os,
const objectHit &  b 
) [friend]

Definition at line 114 of file objectHit.H.


The documentation for this class was generated from the following file:
  • src/OpenFOAM/meshes/primitiveShapes/objectHit/objectHit.H
Copyright © 2000-2009 OpenCFD Ltd