---
name: "DSO"
section: "3cc"
platform: "linux"
package: "libcommoncpp2-dev"
version: "1.0.13-5"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/DSO"
---

# DSO(3cc)

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

## NAME

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

## SYNOPSIS

`#include <file.h>`

Inherited by **PluginGroup**.

### Public Methods

**DSO** (const char \*filename)\
 *Construct and load a DSO object file.* **DSO** (const char \*filename, bool resolve)\
 char \* **getError** (void)\
 *Retrieve error indicator associated with DSO failure.* void \* **operator\[\]** (const char \*)\
 *Lookup a symbol in the loaded file.* **CCXX\_MEMBER\_EXPORT** (bool) isValid(void)\
 *See if DSO object is valid.*

### Static Public Methods

void **dynunload** (void)\

## DETAILED DESCRIPTION

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

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\>

## CONSTRUCTOR & DESTRUCTOR DOCUMENTATION

### DSO::DSO (const char \* filename)` [inline]`

Construct and load a DSO object file.

**Parameters:**

- *filename*

  *pathname of object file to load.*

### DSO::DSO (const char \* filename, bool resolve)` [inline]`

## MEMBER FUNCTION DOCUMENTATION

### DSO::CCXX\_MEMBER\_EXPORT (bool)

*See if DSO object is valid.*

**Returns:**  *true if valid.*

### void DSO::dynunload (void)` [inline, static]`

### char\* DSO::getError (void)

*Retrieve error indicator associated with DSO failure.*

*This is often used in catch handlers.*

### void\* DSO::operator\[\] (const char \*)` [inline]`

*Lookup a symbol in the loaded file.*

## AUTHOR

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