Loading...
Searching...
No Matches
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

namespace  Foam
 Namespace for OpenFOAM.

Functions

Istreamoperator>> (Istream &is, Switch &sw)
 Read Switch from stream.
Ostreamoperator<< (Ostream &is, const Switch sw)
 Write Switch to stream as its text value (eg, "true", "false").

Detailed Description

Original source file Switch.H

Definition in file Switch.H.