Go to the documentation of this file.
57 b =
static_cast<bool>(
Switch(is));
65 os.
write(
static_cast<label
>(
b));
73 return static_cast<bool>(
Switch(is));
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Istream & operator>>(Istream &, directionInfo &)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool readBool(Istream &is)
Read bool from stream using Foam::Switch(Istream&)
pTraits(const PrimitiveType &p)
Copy construct from primitive.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
Traits class for primitives.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...