#include "DataAccessExamples.h"#include <terralib/dataaccess/dataset/CheckConstraint.h>#include <terralib/dataaccess/dataset/PrimaryKey.h>#include <terralib/dataaccess/dataset/Index.h>#include <terralib/dataaccess/datasource/DataSourceFactory.h>#include <terralib/postgis/DataSource.h>#include <terralib/postgis/DataSourceFactory.h>#include <terralib/postgis/PreparedQuery.h>#include <cassert>#include <iostream>#include <map>#include <string>#include <vector>Go to the source code of this file.
Functions | |
| std::unique_ptr< te::da::DataSource > | GetPostGISConnection () |
| void | ObjectId () |
| ObjectId example. More... | |
| void | ObjectId_query () |
| std::unique_ptr<te::da::DataSource> GetPostGISConnection | ( | ) |
Definition at line 13 of file PostGISExample.cpp.
Referenced by ObjectId(), and ObjectId_query().
| void ObjectId | ( | ) |
ObjectId example.
Definition at line 24 of file examples/dataaccess/ObjectId.cpp.
References ds, te::da::GenerateOIDSet(), GetPostGISConnection(), te::gm::INTERSECTS, and PrintDataSet().
Referenced by te::qt::widgets::Histogram::find(), te::qt::widgets::Scatter::find(), te::edit::GenerateId(), te::da::GenerateOID(), te::vp::CheckGeomValidityDialog::onVerifyPushButtonClicked(), and te::qt::plugins::edit::ToolBar::updateLayer().
| void ObjectId_query | ( | ) |
Definition at line 76 of file examples/dataaccess/ObjectId.cpp.
References te::da::BuildSelect(), ds, te::da::GenerateOIDSet(), te::da::GetOIDPropertyNames(), GetPostGISConnection(), te::da::GetPropertyInfo(), te::gm::INTERSECTS, and PrintDataSet().