4 #ifndef FIRE_SOURCE_VECTOR_DATAROW_HPP_INCLUDED
5 #define FIRE_SOURCE_VECTOR_DATAROW_HPP_INCLUDED
7 #include <boost/thread/mutex.hpp>
14 #include "fire/gis/export.hpp"
15 #include "fire/source/vector/Metadata.hpp"
16 #include "fire/source/vector/DataValue.hpp"
17 #include "fire/source/vector/shared/MetadataSh.hpp"
23 class ConnectionVectorSh;
42 typedef std::vector< DataValue::DataValueShp >
VctValue;
47 typedef std::map< std::string, DataValue::DataValueShp >
MapSqlParam;
84 bool isChanged()
const;
121 void getPrimaryKey(
VctValue& list)
const;
152 bool _isValidIndexNoWait(
const size_t& idx)
const;
153 void _validateIndexNoWait(
const size_t& idx)
const;
154 size_t _name2IndexNoWait(
const std::string& name)
const;
155 std::string _getUpdateSql(
VctValue& params)
const;
162 mutable boost::mutex _mtx;
std::map< std::string, DataValue::DataValueShp > MapSqlParam
Mappa di parametri usata per query SQL parametriche.
Definition: DataRow.hpp:47
Definition: DataRowSh.hpp:22
shared::DataRowSh DataRowShp
Istanza condivisa di un oggetto DataRow.
Definition: DataRow.hpp:37
std::vector< DataValue::DataValueShp > VctValue
Vettore di istanze condivise fire::source::vector::DataValue.
Definition: DataRow.hpp:42
Definition: DataValueSh.hpp:24
Oggetto per l'accesso alle colonne di una riga di dati.
Definition: DataRow.hpp:32