58 <<
"wrong token type - expected direction, found " << t.
info()
65 is.
check(
"Istream& operator>>(Istream&, direction&)");
74 os.
check(
"Ostream& operator<<(Ostream&, const direction)");
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 token holds items read from Istream.
InfoProxy< token > info() const
Return info proxy.
Direction is an 8-bit unsigned integer type used to represent the Cartesian directions etc.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
direction readDirection(Istream &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)