Go to the documentation of this file.
52 if (delimiter == token::BEGIN_LIST)
54 for (label i=0; i<
s; ++i)
66 if (firstToken.
pToken() != token::BEGIN_LIST)
69 <<
"incorrect first token, expected '(', found "
95 <<
"incorrect first token, expected <int> or '(', found "
void append(const T &item)
Add copy at tail of list.
const vector L(dict.get< vector >("L"))
label labelToken() const
Return label value.
bool isLabel() const noexcept
Token is LABEL.
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))
char readBeginList(const char *funcName)
Begin read of list data, starts with '(' or '{'.
char readEndList(const char *funcName)
End read of list data, ends with ')' or '}'.
A token holds an item read from Istream.
punctuationToken pToken() const
Return punctuation character.
Template class for non-intrusive linked lists.
InfoProxy< token > info() const
Return info proxy for printing token information to a stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool isPunctuation() const noexcept
Token is PUNCTUATION.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
errorManipArg< error, int > exit(error &err, const int errNo=1)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void putBack(const token &tok)
Put back token.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.