57 string::stripInvalid<word>(w);
60 if (w.empty() || w.size() != t.
stringToken().size())
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...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
void setBad()
Set stream to be bad.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & write(const char)=0
Write character.
A class for handling character strings derived from std::string.
A token holds items read from Istream.
const string & stringToken() const
InfoProxy< token > info() const
Return info proxy.
const word & wordToken() const
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Istream & operator>>(Istream &, directionInfo &)
Ostream & operator<<(Ostream &, const ensightPart &)