65 b =
static_cast<bool>(
Switch(is));
73 os.
write(static_cast<label>(
b));
81 return static_cast<bool>(Switch(is));
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A traits class, which is primarily used for primitives and vector-space.
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.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
pTraits(const Base &obj)
Copy construct from base class.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Istream & operator>>(Istream &, directionInfo &)
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
bool readBool(Istream &is)
Read bool from stream using Foam::Switch(Istream&)