Public Member Functions | Static Public Member Functions | List of all members
functionEntry Class Reference

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

Inheritance diagram for functionEntry:
Inheritance graph
[legend]

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. More...
 
static bool execute (const word &functionName, const dictionary &parentDict, primitiveEntry &, Istream &)
 Execute the functionEntry in a primitiveEntry context. More...
 

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.

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, FatalErrorInFunction, IOstream::lineNumber(), IOstream::name(), and Foam::nl.

Referenced by entry::New().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Execute the functionEntry in a primitiveEntry context.

Definition at line 93 of file functionEntry.C.

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

Here is the call graph for this function:


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