32 void Foam::dynamicCodeContext::addLineDirective
62 const word& key = codeKeys[i];
78 code_.insert(key,
"");
112 os << options_ << libs_;
121 const word& key = codeKeys[i];
125 codePtrs[i]->startLineNumber(),
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
An STL-conforming hash table.
void size(const label)
Override size to be inconsistent with allocated storage.
A Foam::OSstream for calculating SHA-1 digests.
SHA1Digest digest()
Return the SHA-1 digest for the data processed until now.
const fileName & name() const
Return the dictionary name.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const entry * lookupEntryPtr(const word &, bool recursive, bool patternMatch) const
Find and return an entry data stream pointer if present.
const HashTable< string > & code() const
Return the code table.
const dictionary & dict() const
Return the parent dictionary context.
dynamicCodeContext(const dictionary &dict, const wordList &codeKeys)
Construct from a dictionary and lists of which entries correspond.
A keyword and a list of tokens is an 'entry'.
virtual ITstream & stream() const =0
Return token stream if this entry is a primitive entry.
A class for handling verbatimStrings, derived from string.
A class for handling words, derived from string.
string trim(const string &)
Return string trimmed of leading and trailing whitespace.
string expand(const string &, const HashTable< string, word, string::hash > &mapping, const char sigil='$')
Expand occurrences of variables according to the mapping.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
word name(const complex &)
Return a string representation of a complex.