86 const std::string& str,
88 const bool removeComments
101 const bool removeComments
114 const bool removeComments
127 const bool ok = (std::string::npos == find(
'$'));
133 <<
"Unexpanded '$' in " << *
this <<
nl
147 expr.string::operator=(str);
158 expr.string::operator=(std::move(str));
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool valid() const
Check for unexpanded '$' entries. Fatal if any exist.
exprString()=default
Default construct.
void expand(const dictionary &dict, const bool stripComments=true)
exprString & operator=(const exprString &str)=default
Copy assign.
static exprString toExpr(const std::string &str)
Copy convert string to exprString.
void operator=(const ObukhovLength &)=delete
No copy assignment.
A class for handling character strings derived from std::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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))
A variant of Foam::string with expansion of dictionary variables into a comma-separated form.
errorManipArg< error, int > exit(error &err, const int errNo=1)
constexpr char nl
The newline '\n' character (0x0a)