26 #ifndef __TERRALIB_TERRALIB4_INTERNAL_VECTORDATASET_H 27 #define __TERRALIB_TERRALIB4_INTERNAL_VECTORDATASET_H 30 #include "../dataaccess/dataset/DataSet.h" 34 #include <terralib4/kernel/TeQuerier.h> 45 class GeometryProperty;
50 class TeDatabasePortal;
73 std::size_t getNumProperties()
const;
75 int getPropertyDataType(std::size_t i)
const;
77 std::string getPropertyName(std::size_t i)
const;
79 std::string getDatasetNameOfProperty(std::size_t i)
const;
83 bool isConnected()
const;
85 std::size_t size()
const;
87 std::auto_ptr<te::gm::Envelope> getExtent(std::size_t i);
93 bool moveBeforeFirst();
99 bool move(std::size_t i);
101 bool isAtBegin()
const;
103 bool isBeforeBegin()
const;
105 bool isAtEnd()
const;
107 bool isAfterEnd()
const;
109 char getChar(std::size_t i)
const;
111 unsigned char getUChar(std::size_t i)
const;
113 boost::int16_t getInt16(std::size_t i)
const;
115 boost::int32_t getInt32(std::size_t i)
const;
117 boost::int64_t getInt64(std::size_t i)
const;
119 bool getBool(std::size_t i)
const;
121 float getFloat(std::size_t i)
const;
123 double getDouble(std::size_t i)
const;
125 std::string getNumeric(std::size_t i)
const;
127 std::string getString(std::size_t i)
const;
129 std::auto_ptr<te::dt::ByteArray> getByteArray(std::size_t i)
const;
131 std::auto_ptr<te::gm::Geometry> getGeometry(std::size_t i)
const;
133 std::auto_ptr<te::rst::Raster> getRaster(std::size_t i)
const;
135 std::auto_ptr<te::dt::DateTime> getDateTime(std::size_t i)
const;
137 std::auto_ptr<te::dt::Array> getArray(std::size_t i)
const;
139 bool isNull(std::size_t i)
const;
157 #endif // __TERRALIB_TERRALIB4_INTERNAL_VECTORDATASET_H
A class that models the description of a dataset.
Configuration flags for the TerraLib 4 driver.
AccessPolicy
Supported data access policies (can be used as bitfield).
TraverseType
A dataset can be traversed in two ways:
A dataset is the unit of information manipulated by the data access module of TerraLib.
#define TETERRALIB4EXPORT
You can use this macro in order to export/import classes and functions from this module.
Implementation of a dataset for the TerraLib 4 driver.
te::da::DataSetType * m_dt