Go to the documentation of this file.
38 #ifndef dlLibraryTable_H
39 #define dlLibraryTable_H
65 void* openLibrary(
const fileName& libName,
bool verbose);
112 void clear(
bool verbose =
true);
124 bool open(
bool verbose =
true);
127 void*
open(
const fileName& libName,
bool verbose =
true);
146 template<
class TablePtr>
150 const word& libsEntry,
151 const TablePtr& tablePtr
A table of dynamically loaded libraries.
void * findLibrary(const fileName &libName)
Find the handle of the named library.
A class for handling words, derived from Foam::string.
A class for handling file names.
bool close(const fileName &libName, bool verbose=true)
Close the named library, optionally warn if problems occur.
bool empty() const
True if no there are no libraries loaded by the table.
void clear(bool verbose=true)
Clearing closes all libraries loaded by the table.
bool append(const fileName &libName)
Add to the list of names, but do not yet open.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
bool open(bool verbose=true)
ClassName("dlLibraryTable")
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const
The number of libraries loaded by the table.
dlLibraryTable()=default
Construct null.
~dlLibraryTable()
Destructor. Closes all libraries loaded by the table.