4 #ifndef FIRE_PLUGIN_DATA_DATAVALUE_HPP_INCLUDED
5 #define FIRE_PLUGIN_DATA_DATAVALUE_HPP_INCLUDED
7 #include <boost/thread/mutex.hpp>
8 #include <fire/gear/geom/Geometry.hpp>
12 #include "fire/gis/export.hpp"
13 #include "fire/source/vector/shared/FieldSh.hpp"
14 #include "fire/source/vector/shared/BufferSh.hpp"
15 #include "fire/source/vector/shared/DateTimeSh.hpp"
36 static const std::string NULL_TEXT();
71 virtual bool isNull()
const = 0;
77 bool isChanged()
const;
88 virtual void set(
const long long& val) = 0;
94 virtual void set(
const int& val) = 0;
100 virtual void set(
double const & val) = 0;
106 virtual void set(std::string
const & val) = 0;
136 virtual void set(
bool const & val) = 0;
142 virtual long long getInt()
const = 0;
148 virtual double getDouble()
const = 0;
154 virtual std::string getText()
const = 0;
160 virtual bool getBool()
const = 0;
227 void _invalidSet(std::string
const & fromName, std::string
const & typeName)
const;
228 void _invalidConv(std::string
const & fromName, std::string
const & typeName)
const;
232 mutable boost::mutex _mtx;
Definition: FieldSh.hpp:21
Valore della colonna di una DataRow identificata per nome o per indice.
Definition: DataValue.hpp:28
Definition: BufferSh.hpp:20
Definition: Geometry.hpp:69
Definition: DateTimeSh.hpp:21
Definition: DataValueSh.hpp:24