29 #ifndef __TERRALIB_CORE_LIB_LIBRARY_H__ 30 #define __TERRALIB_CORE_LIB_LIBRARY_H__ 33 #include "../Config.h" 39 #include <boost/noncopyable.hpp> 90 Library(
const std::string& slib_file_name,
const bool& delay_load =
false);
118 bool isLoaded()
const;
121 const std::string& getFileName()
const;
134 void* getAddress(
const char* symbol)
const;
137 static std::string getNativeName(
const std::string& name);
150 #if(TE_PLATFORM == TE_PLATFORMCODE_MSWINDOWS) 151 static void addSearchDir(
const std::string& dir_name);
161 static void resetSearchPath();
169 static std::string getSearchPath();
181 #endif // __TERRALIB_CORE_LIB_LIBRARY_H__
A class for handling shared libraries (DLLs, SO, DyLibs).