57 <<
"wrong token type - expected string, found " << t.
info()
64 is.
check(
"Istream& operator>>(Istream&, string&)");
73 os.
check(
"Ostream& operator<<(Ostream&, const string&)");
81 os.
check(
"Ostream& operator<<(Ostream&, const std::string&)");
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject( name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE ))
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & operator<<(Ostream &, const edgeMesh &)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
InfoProxy< token > info() const
Return info proxy.
virtual Ostream & write(const token &)=0
Write next token to stream.
A token holds items read from Istream.
void setBad()
Set stream to be bad.
const string & stringToken() const
Istream & operator>>(Istream &, edgeMesh &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
#define FatalIOErrorIn(functionName, ios)
Report an error message using Foam::FatalIOError.