DOKK / manpages / debian 10 / libcommoncpp2-doc / ost_DSO.3.en
ost::DSO(3) Library Functions Manual ost::DSO(3)

ost::DSO - The DSO dynamic loader class is used to load object files.

#include <file.h>


DSO (const char *filename)
Construct and load a DSO object file. DSO (const char *filename, bool resolve)
const char * getError (void)
Retrieve error indicator associated with DSO failure. virtual ~DSO ()
Detach a DSO object from running memory. void * operator[] (const char *sym)
Lookup a symbol in the loaded file. bool isValid (void)
See if DSO object is valid.


static void dynunload (void)
static DSO * getObject (const char *name)
Find a specific DSO object by filename. static void setDebug (void)
Install debug handler...

The DSO dynamic loader class is used to load object files.

On elf based systems this is typically done with dlopen. A dummy stub class is generated for non-dl capable systems.

Author:

David Sugar dyfet@ostel.com Dynamic class file loader.

Construct and load a DSO object file.

Parameters:

filename pathname of object file to load.

Detach a DSO object from running memory.

Retrieve error indicator associated with DSO failure. This is often used in catch handlers.

References __EXPORT.

Find a specific DSO object by filename.

Parameters:

name of DSO object file (partial).

See if DSO object is valid.

Returns:

true if valid.

Lookup a symbol in the loaded file.

Install debug handler...

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Wed Oct 31 2018 GNU CommonC++