Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
volumeType Class Reference

An enumeration wrapper for classification of a location as being inside/outside of a volume. More...

Collaboration diagram for volumeType:
Collaboration graph
[legend]

Public Types

enum  type : char { UNKNOWN = 0, INSIDE = 0x1, OUTSIDE = 0x2, MIXED = 0x3 }
 

Public Member Functions

 volumeType ()
 
 volumeType (type t)
 
 volumeType (const word &key, const dictionary &dict, const type deflt)
 
 volumeType (const int t)
 
 operator type () const
 
const wordstr () const
 

Static Public Attributes

static const Enum< volumeType::typenames
 

Friends

Istreamoperator>> (Istream &is, volumeType &vt)
 
Ostreamoperator<< (Ostream &os, const volumeType &vt)
 

Detailed Description

An enumeration wrapper for classification of a location as being inside/outside of a volume.

Source files

Definition at line 56 of file volumeType.H.

Member Enumeration Documentation

◆ type

enum type : char
Enumerator
UNKNOWN 

Unknown state.

INSIDE 

A location inside the volume.

OUTSIDE 

A location outside the volume.

MIXED 

A location that is partly inside and outside.

Definition at line 61 of file volumeType.H.

Constructor & Destructor Documentation

◆ volumeType() [1/4]

volumeType ( )
inline

Definition at line 88 of file volumeType.H.

◆ volumeType() [2/4]

volumeType ( type  t)
inline

Definition at line 94 of file volumeType.H.

◆ volumeType() [3/4]

volumeType ( const word key,
const dictionary dict,
const type  deflt 
)

Definition at line 43 of file volumeType.C.

◆ volumeType() [4/4]

volumeType ( const int  t)
inlineexplicit

Definition at line 103 of file volumeType.H.

Member Function Documentation

◆ operator type()

operator type ( ) const
inline

Definition at line 112 of file volumeType.H.

◆ str()

const Foam::word & str ( ) const

Definition at line 55 of file volumeType.C.

References volumeType::names.

Referenced by refinementSurfaces::refinementSurfaces(), and searchableSurfacesQueries::signedDistance().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator>>

Istream& operator>> ( Istream is,
volumeType vt 
)
friend

◆ operator<<

Ostream& operator<< ( Ostream os,
const volumeType vt 
)
friend

Member Data Documentation

◆ names

const Foam::Enum< Foam::volumeType::type > names
static

The documentation for this class was generated from the following files: