26 #ifndef __TERRALIB_TERRALIB4_INTERNAL_TABLEDATASET_H
27 #define __TERRALIB_TERRALIB4_INTERNAL_TABLEDATASET_H
30 #include "../dataaccess/dataset/DataSet.h"
34 #include <terralib4/kernel/TeDatabase.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;
81 std::string getDatasetNameOfProperty(std::size_t i)
const;
85 bool isConnected()
const;
87 std::size_t size()
const;
89 std::auto_ptr<te::gm::Envelope> getExtent(std::size_t i);
95 bool moveBeforeFirst();
101 bool move(std::size_t i);
103 bool isAtBegin()
const;
105 bool isBeforeBegin()
const;
107 bool isAtEnd()
const;
109 bool isAfterEnd()
const;
111 char getChar(std::size_t i)
const;
113 unsigned char getUChar(std::size_t i)
const;
115 boost::int16_t getInt16(std::size_t i)
const;
117 boost::int32_t getInt32(std::size_t i)
const;
119 boost::int64_t getInt64(std::size_t i)
const;
121 bool getBool(std::size_t i)
const;
123 float getFloat(std::size_t i)
const;
125 double getDouble(std::size_t i)
const;
127 std::string getNumeric(std::size_t i)
const;
129 std::string getString(std::size_t i)
const;
131 std::auto_ptr<te::dt::ByteArray> getByteArray(std::size_t i)
const;
133 std::auto_ptr<te::gm::Geometry> getGeometry(std::size_t i)
const;
135 std::auto_ptr<te::rst::Raster> getRaster(std::size_t i)
const;
137 std::auto_ptr<te::dt::DateTime> getDateTime(std::size_t i)
const;
139 std::auto_ptr<te::dt::Array> getArray(std::size_t i)
const;
141 bool isNull(std::size_t i)
const;
158 #endif // __TERRALIB_TERRALIB4_INTERNAL_TABLEDATASET_H
te::da::DataSetType * m_dt
CharEncoding
Supported charsets (character encoding).
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:
Implementation of a dataset for the TerraLib 4 driver.
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.
TeDatabasePortal * m_portal