72#ifndef functionEntries_ifeqEntry_H
73#define functionEntries_ifeqEntry_H
83namespace functionEntries
139 static token expandToken
147 static token expandToken
154 static bool equalToken(
const token& t1,
const token& t2);
157 static void skipUntil
161 const word& endDirective,
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const keyType & keyword() const noexcept
Return keyword.
Conditional parsing of dictionary entries.
static bool evaluate(const bool doIf, DynamicList< filePos > &stack, dictionary &parentDict, Istream &is)
ClassName("ifeq")
Runtime type information.
static bool execute(const bool equal, DynamicList< filePos > &stack, dictionary &parentDict, Istream &is)
Tuple2< fileName, label > filePos
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
virtual const dictionary & dict() const
This entry is not a dictionary,.
A token holds an item read from Istream.
A class for handling words, derived from Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
bool equal(const T &s1, const T &s2)
Compare two values for equality.