Switch.H File Reference
Include dependency graph for Switch.H:

Go to the source code of this file.

Classes

class  Switch
 A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Functions

Istream & operator>> (Istream &is, Switch &sw)
 Read Switch from stream using Foam::Switch(Istream&) More...
 
Ostream & operator<< (Ostream &is, const Switch &sw)
 Write Switch to stream as its text value (eg, "true", "false") More...
 

Detailed Description

Original source file Switch.H

Definition in file Switch.H.