21 #ifdef TERRALIB_MOD_OGR_ENABLED 27 #ifdef TERRALIB_MOD_GDAL_ENABLED 33 #ifdef TERRALIB_MOD_POSTGIS_ENABLED 39 catch(
const boost::exception& e)
41 const std::string* err = boost::get_error_info<te::ErrorDescription>(e);
42 std::cerr << std::endl <<
"Failed to load data source drivers: " << *err << std::endl;
46 std::cerr << std::endl <<
"Failed to load data source drivers: unknow exception!" << std::endl;
Include files for Core Plugin Library.
void insert(const PluginInfo &pinfo)
Adds plugin with its plugin information to the list of unloaded plugins.
Basic information about a plugin.
Examples on how to load/manipulate st types.
void load(const std::string &plugin_name, const bool start=true)
It tries to load the informed plugin.
std::string name
The plugin name: an internal value used to identify the plugin in the system. Must be a unique value...
static PluginManager & instance()
Access the singleton.
void LoadModules()
It loads the data source drivers.
TECOREEXPORT PluginInfo JSONPluginInfoSerializer(const std::string &file_name)
A plugin finder that search for plugins in some special directories defined by compile time macros...
TECOREEXPORT std::string FindInTerraLibPath(const std::string &path)
Returns the path relative to a directory or file in the context of TerraLib.
This file contains include headers for the TerraLib Common Runtime module.