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;
 
   83         std::string getDatasetNameOfProperty(std::size_t i) 
const;
 
   87         bool isConnected() 
const;
 
   89         std::size_t size() 
const;
 
   91         std::auto_ptr<te::gm::Envelope> getExtent(std::size_t i);
 
   97         bool moveBeforeFirst();
 
  103         bool move(std::size_t i);
 
  105         bool isAtBegin() 
const;
 
  107         bool isBeforeBegin() 
const;
 
  109         bool isAtEnd() 
const;
 
  111         bool isAfterEnd() 
const;
 
  113         char getChar(std::size_t i) 
const;
 
  115         unsigned char getUChar(std::size_t i) 
const;
 
  117         boost::int16_t getInt16(std::size_t i) 
const;
 
  119         boost::int32_t getInt32(std::size_t i) 
const;
 
  121         boost::int64_t getInt64(std::size_t i) 
const;
 
  123         bool getBool(std::size_t i) 
const;
 
  125         float getFloat(std::size_t i) 
const;
 
  127         double getDouble(std::size_t i) 
const;
 
  129         std::string getNumeric(std::size_t i) 
const;
 
  131         std::string getString(std::size_t i) 
const;
 
  133         std::auto_ptr<te::dt::ByteArray> getByteArray(std::size_t i) 
const;
 
  135         std::auto_ptr<te::gm::Geometry> getGeometry(std::size_t i) 
const;
 
  137         std::auto_ptr<te::rst::Raster> getRaster(std::size_t i) 
const;
 
  139         std::auto_ptr<te::dt::DateTime> getDateTime(std::size_t i) 
const;
 
  141         std::auto_ptr<te::dt::Array> getArray(std::size_t i) 
const;
 
  143         bool isNull(std::size_t i) 
const;
 
  160 #endif  // __TERRALIB_ADO_INTERNAL_DATASET_H 
The transactor class for the Microsoft Access driver. 
 
int m_ncols
The number of properties in the collection. 
 
CharEncoding
Supported charsets (character encoding). 
 
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.