4 #ifndef FIRE_PLUGIN_DATA_SHARED_DATAVALUESH_HPP_INCLUDED
5 #define FIRE_PLUGIN_DATA_SHARED_DATAVALUESH_HPP_INCLUDED
7 #include <boost/shared_ptr.hpp>
8 #include <fire/shared/Shared.hpp>
13 #include "fire/gis/export.hpp"
14 #include "fire/source/vector/DataSet.hpp"
15 #include "fire/source/vector/shared/FieldSh.hpp"
16 #include "fire/source/vector/shared/BufferSh.hpp"
17 #include "fire/source/vector/shared/DateTimeSh.hpp"
39 return _getPtr()->getField();
42 inline void set(
const long long& val) {
46 inline void set(
double const & val) {
50 inline void set(std::string
const & val) {
70 inline void set(
const bool& val) {
74 inline void set(
const int& val) {
78 inline bool isChanged()
const {
79 return _getPtr()->isChanged();
82 inline bool isNull()
const {
83 return _getPtr()->isNull();
86 inline long long getInt()
const {
87 return _getPtr()->getInt();
90 inline double getDouble()
const {
91 return _getPtr()->getDouble();
94 inline std::string getText()
const {
95 return _getPtr()->getText();
98 inline bool getBool()
const {
99 return _getPtr()->getBool();
103 return _getPtr()->getGeometry();
107 return _getPtr()->getGeometry();
111 return _getPtr()->getDateTime();
115 return _getPtr()->getDateTime();
119 return _getPtr()->getBlob();
123 return _getPtr()->getBlob();
127 return _getPtr()->toInt();
131 return _getPtr()->toDouble();
135 return _getPtr()->toText();
139 return _getPtr()->toDatetime();
143 return _getPtr()->toBool();
147 return _getPtr()->toGeometry();
151 return _getPtr()->toBlob();
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: Shared.hpp:17
Definition: DateTimeSh.hpp:21
Definition: DataValueSh.hpp:24
static DataValue * create(const Field::FieldShp &fld)
Membro statico di costruzione dell'oggetto Value.