32 Foam::label Foam::dictionaryListEntry::realSize(
const dictionary& dict)
40 return dict.size() - 1;
47 Foam::dictionaryListEntry::dictionaryListEntry
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;
void write(Ostream &, const bool subDict=true) const
Write dictionary, normally with sub-dictionary formatting.
punctuationToken pToken() const
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 & indent(Ostream &os)
Indent stream.
const keyType & keyword() const
Return keyword.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool check(const char *operation) const
Check IOstream status for given operation.
char readEndList(const char *funcName)
InfoProxy< token > info() const
Return info proxy.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A token holds items read from Istream.
static bool New(dictionary &parentDict, Istream &)
Construct from Istream and insert into dictionary.
void putBack(const token &)
Put back token.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void write(Ostream &) const
Write.
A keyword and a list of tokens is a 'dictionaryEntry'.
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))
A class for handling words, derived from string.
static const dictionary null
Null dictionary.
char readBeginList(const char *funcName)
Read/write List of dictionaries.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static constexpr const char * foamFile
Keyword for the FoamFile header sub-dictionary.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
word name(const complex &)
Return a string representation of a complex.
A helper class for outputting values to Ostream.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Ostream & operator<<(Ostream &, const ensightPart &)
const doubleScalar e
Elementary charge.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
bool isPunctuation() const