22 #ifndef __PLUMED_tools_DLLoader_h
23 #define __PLUMED_tools_DLLoader_h
53 void*
load(
const std::string&);
55 const std::string &
error();
Class taking care of dynamic loading.
DLLoader()
Default constructor.
const std::string & error()
Returns the last error in dynamic loader.
std::stack< void * > handles
static bool installed()
Returns true if the dynamic loader is available (on some systems it may not).
DLLoader & operator=(const DLLoader &)
Private assignment.
void * load(const std::string &)
Load a library, returning its handle.