4 #ifndef FIRE_PLUGIN_DATA_SHARED_CONNECTIONQTSQLSH_HPP_INCLUDED
5 #define FIRE_PLUGIN_DATA_SHARED_CONNECTIONQTSQLSH_HPP_INCLUDED
7 #include <fire/gear/geom/shared/EnvelopeSh.hpp>
8 #include <fire/source/vector/ConnectionSpatialDb.hpp>
9 #include <fire/source/vector/shared/ConnectionSpatialDbSh.hpp>
14 #include "fire/plugin-impl/connection/qt/ConnectionQtSql.hpp"
17 namespace connection {
29 explicit ConnectionQtSqlSh(ConnectionSpatialDbSh
const & c): ConnectionSpatialDbSh(c) {
32 explicit ConnectionQtSqlSh(ConnectionVectorSh
const & c): ConnectionSpatialDbSh(c) {
38 inline int getSrid(
const std::string & name,
const std::string & schema,
const std::string & geom)
const {
39 return _getPtr()->getSrid(name, schema, geom);
42 inline size_t getCount(
const std::string & name,
const std::string & schema)
const {
43 return _getPtr()->getCount(name, schema);
47 return _getPtr()->buildMetadata(tblName, schemaName);
51 return _getPtr()->buildMetadata(sql, params);
55 return _getPtr()->getExtent(tblName, schemaName, geomFld);
59 ConnectionSpatialDbSh::operator =(c);
64 ConnectionSpatialDbSh::operator =(c);
69 ConnectionSpatialDbSh::operator =(c);
74 ConnectionSpatialDbSh::operator =(c);
79 return _getPtr()->buff2Geom(qba);
Definition: EnvelopeSh.hpp:18
Definition: ConnectionQtSqlSh.hpp:21
Definition: ConnectionSpatialDbSh.hpp:20
std::map< std::string, DataValue::DataValueShp > MapSqlParam
Mappa di parametri usata per query SQL parametriche.
Definition: DataRow.hpp:47
Classe per la gestione di un'eccezione generica.
Definition: Exception.hpp:26
Implementazione Connection per l'accesso a banche dati spaziali basato su QtSql.
Definition: ConnectionQtSql.hpp:35
Definition: Geometry.hpp:69