40 return dict.size() - 1;
72 <<
"Failed to read dictionary entry in list"
100 <<
"Failed to read dictionary entry in list"
108 <<
"incorrect first token, expected <int> or '(', found "
130 os.
check(
"Ostream& operator<<(Ostream&, const dictionaryListEntry&)");
152 os <<
" dictionaryListEntry '" <<
e.keyword() <<
"'" <<
endl;
static constexpr const char * foamFile
Keyword for the FoamFile header sub-dictionary.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
char readEndList(const char *funcName)
char readBeginList(const char *funcName)
void putBack(const token &)
Put back token.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
T * first()
Return the first entry.
A keyword and a list of tokens is a 'dictionaryEntry'.
const dictionary & dict() const
Return dictionary.
Read/write List of dictionaries.
virtual void write(Ostream &) const
Write.
dictionaryListEntry(const dictionary &parentDict, Istream &)
Construct from the parent dictionary and Istream.
A list of keyword definitions, which are a keyword followed by any number of values (e....
void write(Ostream &, const bool subDict=true) const
Write dictionary, normally with sub-dictionary formatting.
static bool New(dictionary &parentDict, Istream &)
Construct from Istream and insert into dictionary.
A token holds items read from Istream.
bool isPunctuation() const
punctuationToken pToken() const
InfoProxy< token > info() const
Return info proxy.
A class for handling words, derived from string.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
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.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
errorManipArg< error, int > exit(error &err, const int errNo=1)
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
Ostream & indent(Ostream &os)
Indent stream.