Go to the documentation of this file.
57 string::stripInvalid<word>(
w);
64 <<
"wrong token type - expected word, found "
65 "non-word characters "
75 <<
"wrong token type - expected word, found "
83 is.
check(
"Istream& operator>>(Istream&, word&)");
92 os.
check(
"Ostream& operator<<(Ostream&, const word&)");
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
volScalarField w(IOobject("w", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::NO_WRITE), mesh, dimensionedScalar("w", dimensionSet(0, 0, 0, 0, 0, 0, 0), 0.0))
A class for handling words, derived from string.
const word & wordToken() const
A token holds items read from Istream.
A class for handling character strings derived from std::string.
const string & stringToken() const
InfoProxy< token > info() const
Return info proxy.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual Ostream & write(const token &)=0
Write next token to stream.
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Istream & operator>>(Istream &, edgeMesh &)
void setBad()
Set stream to be bad.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...