23 #ifndef __ccxx_LoadableModule_hxx 24 #define __ccxx_LoadableModule_hxx 79 void* lookup(
const char* symbol);
88 void* lookup(
const String& symbol);
98 {
return(lookup(symbol)); }
108 {
return(lookup(symbol)); }
115 {
if(!_open) _path = path; }
126 static String getExtension();
133 static String getPrefix();
167 static bool isLoadableModuleFile(
const String& fileName);
174 #ifdef CCXX_OS_WINDOWS 185 #endif // __ccxx_LoadableModule_hxx A class representing an interface version number.
Definition: Version.h++:57
bool isOpen() const
Determine if the object file has been opened.
Definition: LoadableModule.h++:69
void * operator[](const String &symbol)
Look up a symbol within the loadable object.
Definition: LoadableModule.h++:107
#define COMMONCPP_API
Definition: Common.h++:126
A flexible, reference counted, copy-on-write, thread-safe, nullable string.
Definition: String.h++:50
String getPath() const
Get the object file path.
Definition: LoadableModule.h++:118
void setPath(const String &path)
Set the object file path.
Definition: LoadableModule.h++:114
#define CCXX_COPY_DECLS(CLASS)
Inlines declarations of a copy constructor and assignment operator for the class CLASS.
Definition: Common.h++:295
static const String null
The null string.
Definition: String.h++:1128
Definition: AllocationMap.c++:25
An encapsulation of a dynamically loadable module, such as a shared library or object file on UNIX sy...
Definition: LoadableModule.h++:41
void * operator[](const char *symbol)
Look up a symbol within the loadable object.
Definition: LoadableModule.h++:97