Public Member Functions | Static Public Member Functions | Private Member Functions
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...
 

Private Member Functions

 functionEntry (const functionEntry &)
 Disallow default bitwise copy construct. More...
 
void operator= (const functionEntry &)
 Disallow default bitwise assignment. 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.

Constructor & Destructor Documentation

◆ functionEntry()

functionEntry ( const functionEntry )
private

Disallow default bitwise copy construct.

Member Function Documentation

◆ operator=()

void operator= ( const functionEntry )
private

Disallow default bitwise assignment.

◆ declareMemberFunctionSelectionTable() [1/2]

declareMemberFunctionSelectionTable ( bool  ,
functionEntry  ,
execute  ,
dictionaryIstream  ,
(dictionary &parentDict, Istream &is)  ,
(parentDict, is)   
)

◆ execute() [1/2]

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() [2/2]

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

◆ execute() [2/2]

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: