Public Member Functions | List of all members
dlLibraryTable Class Reference

A table of dynamically loaded libraries. More...

Public Member Functions

 ClassName ("dlLibraryTable")
 
 dlLibraryTable ()
 Construct null. More...
 
 dlLibraryTable (const dictionary &, const word &)
 Construct from dictionary and name of 'libs' entry giving. More...
 
 ~dlLibraryTable ()
 Destructor. More...
 
bool open (const fileName &name, const bool verbose=true)
 Open the named library, optionally with warnings if problems occur. More...
 
bool close (const fileName &name, const bool verbose=true)
 Close the named library, optionally with warnings if problems occur. More...
 
void * findLibrary (const fileName &name)
 Find the handle of the named library. More...
 
bool open (const dictionary &, const word &libsEntry)
 Open all the libraries listed in the 'libsEntry' entry in the. More...
 
template<class TablePtr >
bool open (const dictionary &, const word &libsEntry, const TablePtr &tablePtr)
 Open all the libraries listed in the 'libsEntry' entry in the. More...
 

Detailed Description

A table of dynamically loaded libraries.

Source files

Definition at line 49 of file dlLibraryTable.H.

Constructor & Destructor Documentation

Construct null.

Definition at line 40 of file dlLibraryTable.C.

dlLibraryTable ( const dictionary dict,
const word libsEntry 
)

Construct from dictionary and name of 'libs' entry giving.

the libraries to load

Definition at line 45 of file dlLibraryTable.C.

Destructor.

Definition at line 56 of file dlLibraryTable.C.

References Foam::dlClose(), Foam::endl(), forAllReverse, Foam::Info, and dlLibraryTable::open().

Here is the call graph for this function:

Member Function Documentation

ClassName ( "dlLibraryTable"  )
bool open ( const fileName name,
const bool  verbose = true 
)

Open the named library, optionally with warnings if problems occur.

Definition at line 77 of file dlLibraryTable.C.

References dlLibraryTable::close(), Foam::dlOpen(), Foam::endl(), Foam::Info, and WarningIn.

Referenced by dlLibraryTable::findLibrary(), dlLibraryTable::open(), and dlLibraryTable::~dlLibraryTable().

Here is the call graph for this function:

Here is the caller graph for this function:

bool close ( const fileName name,
const bool  verbose = true 
)

Close the named library, optionally with warnings if problems occur.

Definition at line 120 of file dlLibraryTable.C.

References Foam::dlClose(), Foam::endl(), forAllReverse, Foam::Info, fileName::null, and WarningIn.

Referenced by dlLibraryTable::open().

Here is the call graph for this function:

Here is the caller graph for this function:

void * findLibrary ( const fileName name)

Find the handle of the named library.

Definition at line 168 of file dlLibraryTable.C.

References forAllReverse, and dlLibraryTable::open().

Here is the call graph for this function:

bool open ( const dictionary dict,
const word libsEntry 
)

Open all the libraries listed in the 'libsEntry' entry in the.

given dictionary if present

Definition at line 189 of file dlLibraryTable.C.

References UList< T >::empty(), forAll, dictionary::found(), dictionary::lookup(), and dlLibraryTable::open().

Here is the call graph for this function:

bool open ( const dictionary dict,
const word libsEntry,
const TablePtr &  tablePtr 
)

Open all the libraries listed in the 'libsEntry' entry in the.

given dictionary if present and check the additions to the given constructor table

Definition at line 34 of file dlLibraryTableTemplates.C.

References Foam::endl(), forAll, dictionary::found(), dictionary::lookup(), and WarningIn.

Here is the call graph for this function:


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