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);
149 static void addSearchDir(
const std::string& dir_name);
159 static void resetSearchPath();
167 static std::string getSearchPath();
179 #endif // __TERRALIB_CORE_LIB_LIBRARY_H__
A class for handling shared libraries (DLLs, SO, DyLibs).