55 b =
static_cast<bool>(
Switch(is));
71 return static_cast<bool>(Switch(is));
virtual Ostream & write(const char c)
Write character.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
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.
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 &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
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&)