Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Library Class Reference

#include <Library.h>

List of all members.

Public Types

enum  Mode { LAZY = RTLD_LAZY, NOW = RTLD_NOW }
enum  Mode { LAZY = RTLD_LAZY, NOW = RTLD_NOW }

Public Methods

 Library ()
 ~Library ()
int load (const char *libName, int mode=LAZY)
int unload ()
void * getFuncPtr (const char *funcName) const
 Library ()
 ~Library ()
int load (const char *libName, int mode=LAZY)
int unload ()
void * getFuncPtr (const char *funcName) const

Static Public Methods

void getNativeLibName (const char *genericName, char *nativeName)
void getNativeLibName (const char *genericName, char *nativeName)


Member Enumeration Documentation

enum Library::Mode
 

Enumeration values:
LAZY 
NOW 

Definition at line 20 of file WinNT/Library.h.

enum Library::Mode
 

Enumeration values:
LAZY 
NOW 

Definition at line 21 of file Solaris/Library.h.


Constructor & Destructor Documentation

Library::Library  
 

Definition at line 7 of file Solaris/Library.cpp.

Library::~Library  
 

Definition at line 12 of file Solaris/Library.cpp.

References unload().

Library::Library  
 

Library::~Library  
 


Member Function Documentation

void* Library::getFuncPtr const char *    funcName const
 

void * Library::getFuncPtr const char *    funcName const
 

Definition at line 64 of file Solaris/Library.cpp.

void Library::getNativeLibName const char *    genericName,
char *    nativeName
[static]
 

void Library::getNativeLibName const char *    genericName,
char *    nativeName
[static]
 

Definition at line 76 of file Solaris/Library.cpp.

References OS::DirectorySeparator, DLL_PREFIX, and DLL_SUFFIX.

Referenced by load().

int Library::load const char *    libName,
int    mode = LAZY
 

int Library::load const char *    libName,
int    mode = LAZY
 

Definition at line 23 of file Solaris/Library.cpp.

References getNativeLibName().

int Library::unload  
 

int Library::unload  
 

Definition at line 46 of file Solaris/Library.cpp.

Referenced by ~Library().


The documentation for this class was generated from the following files:
Generated on Mon Oct 7 09:33:35 2002 for Gaia by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001