mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: support token stream checking to entry (issue #762)
- Eg,
scalar val(-GREAT);
const entry* eptr = dict.findEntry(k);
if (eptr)
{
val = eptr.get<scalar>();
// Or
eptr.readEntry(val);
}
This commit is contained in:
@ -66,7 +66,7 @@ class dynamicCodeContext
|
||||
//- Optional "codeOptions" entry
|
||||
string options_;
|
||||
|
||||
//- Optional "codeLib" entry
|
||||
//- Optional "codeLibs" entry
|
||||
string libs_;
|
||||
|
||||
//- Calculated SHA1Digest
|
||||
|
||||
Reference in New Issue
Block a user