64 catch(
const std::exception& e)
66 std::cout << std::endl <<
"An exception has occurred: " << e.what() << std::endl;
72 std::cout << std::endl <<
"An unexpected exception has occurred!" << std::endl;
void PrintCatalog(te::da::DataSource *ds)
This example will print to the standard output all the information about the datasets stored in a dat...
An utility class to control the startup and cleanup of the TerraLib Platform and its resources...
Include files for Core Plugin Library.
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
Examples that show how to access/manipulate an ADO data source.
void PrintDataSets(te::da::DataSource *ds)
It prints datasets in a given data source.
static te::dt::Date ds(2010, 01, 01)
void CopyFromShapeFile(te::da::DataSource *ds)
It copies a shapefile to the given datasource.
static PluginManager & instance()
Access the singleton.
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...
void finalize()
It finalizes the TerraLib Platform.
static TerraLib & getInstance()
It returns a reference to the singleton instance.
A factory for data sources.
Implementation of a random-access dataset class for the TerraLib In-Memory Data Access driver...
void initialize()
It initializes the TerraLib Platform.
void clear()
Stop and unload all plugins, then clear the internal list of plugins.
std::unique_ptr< te::da::DataSource > GetADOConnection()
void LoadModules()
Load terralib modules.