OpenFOAM logo
Open Source CFD Toolkit

Switch Class Reference

Collaboration diagram for Switch:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Switch (const bool value)
 Construct from components.
 Switch (const word &w)
 Construct from word.
 Switch (Istream &is)
 Construct from Istream.
Switch & operator= (const Switch &s)
 operator bool () const
 operator const word & () const

Friends

Istream & operator>> (Istream &, Switch &)
Ostream & operator<< (Ostream &, const Switch &)

Constructor & Destructor Documentation

Switch (  const bool  value  )  [inline]
 

Construct from components.

Definition at line 78 of file Switch.H.

Switch (  const word &  w  )  [inline]
 

Construct from word.

Definition at line 85 of file Switch.H.

Switch (  Istream &  is  ) 
 

Construct from Istream.


Member Function Documentation

operator bool (   )  const [inline]
 

Definition at line 105 of file Switch.H.

operator const word & (   )  const [inline]
 

Definition at line 110 of file Switch.H.

Switch& operator= (  const Switch &  s  )  [inline]
 

Definition at line 97 of file Switch.H.


Friends And Related Function Documentation

Ostream& operator<< (  Ostream &  ,
const Switch & 
)  [friend]
 

Istream& operator>> (  Istream &  ,
Switch & 
)  [friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org