FreeFOAM The Cross-Platform CFD Toolkit
functionEntry Class Reference

A functionEntry causes entries to be added/manipulated on the specified dictionary given an input stream. More...

#include <OpenFOAM/functionEntry.H>


Detailed Description

A functionEntry causes entries to be added/manipulated on the specified dictionary given an input stream.

In dictionaries, a '#' sigil is typically used for a functionEntry.

Source files

Definition at line 63 of file functionEntry.H.

+ Inheritance diagram for functionEntry:

List of all members.

Public Member Functions

 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 (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.

Member Function Documentation

declareMemberFunctionSelectionTable ( bool  ,
functionEntry  ,
execute  ,
dictionaryIstream  ,
(dictionary &parentDict, Istream &is)  ,
(parentDict, is)   
)
bool execute ( const word functionName,
dictionary parentDict,
Istream is 
)
static

Execute the functionEntry in a sub-dict context.

Definition at line 51 of file functionEntry.C.

References Foam::endl(), Foam::exit(), IOstream::fatalCheck(), Foam::FatalError, FatalErrorIn, IOstream::lineNumber(), and IOstream::name().

Referenced by entry::New().

declareMemberFunctionSelectionTable ( bool  ,
functionEntry  ,
execute  ,
primitiveEntryIstream  ,
(const dictionary &parentDict, primitiveEntry &entry, Istream &is)  ,
(parentDict, entry, is)   
)
bool execute ( const word functionName,
const dictionary parentDict,
primitiveEntry entry,
Istream is 
)
static

The documentation for this class was generated from the following files: