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 (const dlLibraryTable &)=delete
 Disallow default bitwise copy construction. More...
 
 ~dlLibraryTable ()
 Destructor. More...
 
bool open (const fileName &libName, const bool verbose=true)
 Open the named library, optionally with warnings if problems occur. More...
 
bool open (const fileNameList &libNames, const bool verbose=true)
 Open the named libraries, optionally with warnings if problems occur. 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...
 
void * findLibrary (const fileName &libName)
 Find the handle of the named library. More...
 
bool close (const fileName &name, const bool verbose=true)
 Close the named library, optionally with warnings if problems occur. More...
 
void operator= (const dlLibraryTable &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

A table of dynamically loaded libraries.

Source files

Definition at line 50 of file dlLibraryTable.H.

Constructor & Destructor Documentation

◆ dlLibraryTable() [1/3]

Construct null.

Definition at line 41 of file dlLibraryTable.C.

◆ dlLibraryTable() [2/3]

dlLibraryTable ( const dictionary dict,
const word libsEntry 
)

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

the libraries to load

Definition at line 46 of file dlLibraryTable.C.

◆ dlLibraryTable() [3/3]

dlLibraryTable ( const dlLibraryTable )
delete

Disallow default bitwise copy construction.

◆ ~dlLibraryTable()

Destructor.

Definition at line 57 of file dlLibraryTable.C.

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

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "dlLibraryTable"  )

◆ open() [1/4]

bool open ( const fileName libName,
const bool  verbose = true 
)

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

Definition at line 82 of file dlLibraryTable.C.

References Foam::dlOpen(), Foam::endl(), Foam::stringOps::expand(), InfoInFunction, and WarningInFunction.

Referenced by argList::argList(), motionSolver::New(), dynamicFvMesh::New(), option::New(), functionObject::New(), GAMGAgglomeration::New(), dlLibraryTable::open(), functionObjectList::read(), Time::Time(), and dlLibraryTable::~dlLibraryTable().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ open() [2/4]

bool open ( const fileNameList libNames,
const bool  verbose = true 
)

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

Definition at line 128 of file dlLibraryTable.C.

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

Here is the call graph for this function:

◆ open() [3/4]

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 145 of file dlLibraryTable.C.

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

Here is the call graph for this function:

◆ open() [4/4]

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

Here is the call graph for this function:

◆ findLibrary()

void * findLibrary ( const fileName libName)

Find the handle of the named library.

Definition at line 218 of file dlLibraryTable.C.

References forAllReverse.

Referenced by codedBase::updateLibrary().

Here is the caller graph for this function:

◆ close()

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

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

Definition at line 171 of file dlLibraryTable.C.

References Foam::dlClose(), Foam::endl(), forAllReverse, InfoInFunction, fileName::null, and WarningInFunction.

Referenced by dlLibraryTable::open().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const dlLibraryTable )
delete

Disallow default bitwise assignment.


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