31 const Foam::word Foam::functionEntries::inputSyntaxEntry::typeName
33 Foam::functionEntries::inputSyntaxEntry::typeName_()
38 int Foam::functionEntries::inputSyntaxEntry::debug(0);
41 Foam::functionEntries::inputSyntaxEntry::inputSyntax
42 Foam::functionEntries::inputSyntaxEntry::defaultSyntax_
45 ? Foam::functionEntries::inputSyntaxEntry::syntax
56 Foam::functionEntries::inputSyntaxEntry::inputSyntax
57 Foam::functionEntries::inputSyntaxEntry::syntax_
59 Foam::functionEntries::inputSyntaxEntry::defaultSyntax_
65 namespace functionEntries
80 Foam::functionEntries::inputSyntaxEntry::inputSyntax
81 Foam::functionEntries::inputSyntaxEntry::syntax
87 if (syntax ==
"slash")
91 else if (syntax ==
"dot")
98 <<
"unsupported input syntax'" << syntax
99 <<
", setting to default"
102 return defaultSyntax_;
115 syntax_ = syntax(is);
122 syntax_ = defaultSyntax_;
128 return syntax_ == SLASH;
134 return syntax_ == DOT;
140 return syntax_ == SLASH ?
'/' :
'.';
Macros for easy insertion into member function selection tables.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by any number of values (e....
Specify the dictionary scoping syntax, expects a single word to follow.
static bool execute(dictionary &parentDict, Istream &)
Execute the functionEntry in a sub-dict context.
static void clear()
Reset the inputSyntax to the default specified in etc/controlDict.
static bool dot()
Return true if the inputSyntax is dot.
static char scopeChar()
Return true if the inputSyntax is slash.
static bool slash()
Return true if the inputSyntax is slash.
A functionEntry causes entries to be added/manipulated on the specified dictionary given an input str...
A class for handling words, derived from string.
#define WarningInFunction
Report a warning using Foam::Warning.
dictionary & optimisationSwitches()
The OptimisationSwitches sub-dictionary in the central controlDict.
addToMemberFunctionSelectionTable(functionEntry, includeFvConstraintEntry, execute, dictionaryIstream)
Ostream & endl(Ostream &os)
Add newline and flush stream.