40 const word& constantName
56 bool haveConstant =
false;
59 if (dirEntries[i] == constantName)
61 Times[nTimes].value() = 0;
62 Times[nTimes].name() = dirEntries[i];
73 token timeToken(timeStream);
77 Times[nTimes].value() = timeToken.
number();
78 Times[nTimes].name() = dirEntries[i];
bool eof() const
Return true if end of input seen.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A class for handling file names.
void size(const label)
Override size to be inconsistent with allocated storage.
A token holds items read from Istream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static bool less(const vector &x, const vector &y)
To compare normals.
Functions used by OpenFOAM that are specific to POSIX compliant operating systems and need to be repl...
A class for handling words, derived from string.
static instantList findTimes(const fileName &, const word &constantName="constant")
Search a given directory for valid time directories.
void setSize(const label)
Reset size of List.
Input from memory buffer stream.
fileNameList readDir(const fileName &, const fileName::Type=fileName::FILE, const bool filtergz=true)
Read a directory and return the entries as a string list.
#define InfoInFunction
Report an information message using Foam::Info.