PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PILibrary Class Reference

Run-time library. More...

#include <pilibrary.h>

Public Member Functions

 PILibrary (const PIString &path_=PIString())
 Constructs PILibrary and load if "path_" not empty.
 ~PILibrary ()
 Destroy PILibrary, unload if library was loaded.
bool load (const PIString &path_)
 Load library with relative or absolute path "path_".
bool load ()
 Load library with path() path.
void unload ()
 Unload library if it was loaded.
void * resolve (const char *symbol)
 Obtain exported library method with name "symbol".
bool isLoaded () const
 Returns if library successfully loaded.
PIString path () const
 Returns library path.
PIString lastError () const
 Returns last occured error in human-readable format.

Detailed Description

Run-time library.