26 #ifndef __TERRALIB_ADO_INTERNAL_DATASET_H 27 #define __TERRALIB_ADO_INTERNAL_DATASET_H 30 #include "../dataaccess/dataset/DataSet.h" 38 #import "msado15.dll" \
39 no_namespace rename(
"EOF",
"EndOfFile")
75 std::size_t getNumProperties()
const;
77 int getPropertyDataType(std::size_t i)
const;
79 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_ADO_INTERNAL_DATASET_H The transactor class for the Microsoft Access driver.
int m_ncols
The number of properties in the collection.
A class that models the description of a dataset.
std::vector< int > m_datatypes
A vector of data types.
#define TEADOEXPORT
You can use this macro in order to export/import classes and functions from this module.
Configuration flags for the TerraLib ADO Data Access driver.
int m_size
The number of datasets in the collection.
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 ADO driver.
std::vector< std::string > m_colNames
A vector of columns names.
A dataset is the unit of information manipulated by the data access module of TerraLib.
Transactor * m_t
The DataSet Transactor.
_RecordsetPtr m_result
The internal buffer with the result query.
int m_i
The index of the current row.