Specify an include file when reading dictionaries, expects a single string to follow. More...
#include <OpenFOAM/includeEntry.H>
Specify an include file when reading dictionaries, expects a single string to follow.
An example of the #include directive:
#include "includeFile"
The usual expansion of environment variables and other constructs (eg, the ~OpenFOAM/ expansion) is retained.
Definition at line 63 of file includeEntry.H.
Inheritance diagram for includeEntry:
Collaboration diagram for includeEntry:Public Member Functions | |
| ClassName ("include") | |
| Runtime type information. | |
Public Member Functions inherited from functionEntry | |
| declareMemberFunctionSelectionTable (bool, functionEntry, execute, dictionaryIstream,(dictionary &parentDict, Istream &is),(parentDict, is)) | |
| declareMemberFunctionSelectionTable (bool, functionEntry, execute, primitiveEntryIstream,(const dictionary &parentDict, primitiveEntry &entry, Istream &is),(parentDict, entry, is)) | |
Static Public Member Functions | |
| static bool | execute (dictionary &parentDict, Istream &) |
| Execute the functionEntry in a sub-dict context. | |
| static bool | execute (const dictionary &parentDict, primitiveEntry &, Istream &) |
| Execute the functionEntry in a primitiveEntry context. | |
Static Public Member Functions inherited from functionEntry | |
| static bool | execute (const word &functionName, dictionary &parentDict, Istream &) |
| Execute the functionEntry in a sub-dict context. | |
| static bool | execute (const word &functionName, const dictionary &parentDict, primitiveEntry &, Istream &) |
| Execute the functionEntry in a primitiveEntry context. | |
Static Protected Member Functions | |
| static fileName | includeFileName (Istream &) |
| Read the include fileName from Istream, expand and return. | |
|
staticprotected |
Read the include fileName from Istream, expand and return.
Definition at line 67 of file includeEntry.C.
References string::expand(), and IOstream::name().
| ClassName | ( | "include" | ) |
Runtime type information.
|
static |
Execute the functionEntry in a sub-dict context.
Reimplemented in includeIfPresentEntry.
Definition at line 87 of file includeEntry.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, dictionaryName::name(), IFstream::name(), and dictionary::read().
Referenced by entry::New().
|
static |
Execute the functionEntry in a primitiveEntry context.
Reimplemented in includeIfPresentEntry.
Definition at line 116 of file includeEntry.C.
References Foam::exit(), Foam::FatalIOError, FatalIOErrorIn, dictionaryName::name(), IFstream::name(), and primitiveEntry::read().