4 #ifndef FIRE_DATA_CONNECTIONVECTOR_HPP_INCLUDED
5 #define FIRE_DATA_CONNECTIONVECTOR_HPP_INCLUDED
7 #include <fire/gear/geom/Envelope.hpp>
13 #include "fire/source/Connection.hpp"
14 #include "fire/source/vector/DataSet.hpp"
15 #include "fire/source/ConnectionType.hpp"
16 #include "fire/source/vector/VectorLayerInfo.hpp"
17 #include "fire/source/vector/shared/DataValueSh.hpp"
24 class ConnectionVectorSh;
56 virtual DataSet::DataSetShp const getData(
const std::string &schema, std::string
const & tbl)
const = 0;
63 virtual DataSet::DataSetShp getData(
const std::string &schema, std::string
const & tbl) = 0;
100 virtual void execUpdate(std::string
const & query);
114 virtual ConnectionType::ConnectionType getType()
const;
137 virtual void eraseTable(
const std::string& schema,
const std::string& tbl,
const VectorLayerType::VectorLayerType vlt) = 0;
148 virtual void saveOrUpdate(
DataRow& row) = 0;
155 virtual void insert(
DataRow& row) = 0;
162 virtual void update(
DataRow& row) = 0;
168 virtual void erase(
const DataRow& row) = 0;
Definition: DataSetSh.hpp:21
Definition: EnvelopeSh.hpp:18
Classe astratta che implementa l'interfaccia di base di una sorgente dati sia vettoriale che raster...
Definition: Connection.hpp:31
Specializzazione di una connessione per sorgenti dati vettoriali.
Definition: ConnectionVector.hpp:30
std::map< std::string, DataValue::DataValueShp > MapSqlParam
Mappa di parametri usata per query SQL parametriche.
Definition: DataRow.hpp:47
Oggetto per l'accesso alle colonne di una riga di dati.
Definition: DataRow.hpp:32
Definition: VectorLayerInfoSh.hpp:23
Definition: ConnectionVectorSh.hpp:21