Encapsulation of dynamic code dictionaries. More...
Public Member Functions | |
dynamicCodeContext (const dictionary &dict, const wordList &codeKeys, const wordList &codeDictVars) | |
Construct from a dictionary and lists of which entries correspond. More... | |
const dictionary & | dict () const |
Return the parent dictionary context. More... | |
const HashTable< string > & | code () const |
Return the code table. More... | |
const string & | options () const |
Return the code-options. More... | |
const string & | libs () const |
Return the code-libs. More... | |
const SHA1Digest & | sha1 () const |
Return SHA1 digest calculated from include, options, code. More... | |
Encapsulation of dynamic code dictionaries.
Definition at line 50 of file dynamicCodeContext.H.
dynamicCodeContext | ( | const dictionary & | dict, |
const wordList & | codeKeys, | ||
const wordList & | codeDictVars | ||
) |
Construct from a dictionary and lists of which entries correspond.
to code
Definition at line 45 of file dynamicCodeContext.C.
References dynamicCodeContext::dict(), OSHA1stream::digest(), forAll, forAllConstIter, Foam::stringOps::inplaceExpandCodeString(), dictionary::lookupEntryPtr(), dictionaryName::name(), word::null, s(), List< T >::size(), entry::stream(), and Foam::stringOps::trim().
|
inline |
Return the parent dictionary context.
Definition at line 99 of file dynamicCodeContext.H.
Referenced by dynamicCodeContext::dynamicCodeContext(), and codedBase::updateLibrary().
Return the code table.
Definition at line 105 of file dynamicCodeContext.H.
Referenced by dynamicCode::reset().
|
inline |
Return the code-options.
Definition at line 111 of file dynamicCodeContext.H.
|
inline |
Return the code-libs.
Definition at line 117 of file dynamicCodeContext.H.
|
inline |
Return SHA1 digest calculated from include, options, code.
Definition at line 123 of file dynamicCodeContext.H.
Referenced by dynamicCode::reset(), codedBase::updateLibrary(), and dynamicCode::upToDate().