#include "QueryExamples.h"#include <terralib/common.h>#include <terralib/dataaccess.h>#include <terralib/maptools.h>#include <cassert>#include <iostream>Go to the source code of this file.
Functions | |
| te::da::DataSet * | GetDataSet (te::da::Select &s, te::da::DataSourcePtr &ds) |
| te::da::DataSourcePtr | LoadPGISDataSource (const std::string &dsId) |
| te::da::DataSourcePtr | LoadShapeDataSource (const std::string &fileName, const std::string &dsId) |
| te::da::DataSet* GetDataSet | ( | te::da::Select & | s, |
| te::da::DataSourcePtr & | ds | ||
| ) |
Definition at line 93 of file LoadDataSource.cpp.
References te::da::DataSourceTransactor::query().
Referenced by main().
| te::da::DataSourcePtr LoadPGISDataSource | ( | const std::string & | dsId | ) |
Definition at line 28 of file LoadDataSource.cpp.
References ds, te::core::CharEncoding::getEncodingName(), te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceFactory::make(), and te::core::UTF8.
Referenced by main().
| te::da::DataSourcePtr LoadShapeDataSource | ( | const std::string & | fileName, |
| const std::string & | dsId | ||
| ) |
Definition at line 12 of file LoadDataSource.cpp.
References te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceFactory::make(), te::da::DataSource::open(), and te::da::DataSource::setId().