OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

Switch Class Reference

Collaboration diagram for Switch:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 60 of file Switch.H.


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

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

Definition at line 97 of file Switch.H.

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.


Friends And Related Function Documentation

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

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


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd