26 #ifndef __TERRALIB_POSTGIS_INTERNAL_DATASET_H    27 #define __TERRALIB_POSTGIS_INTERNAL_DATASET_H    30 #include "../dataaccess/dataset/DataSet.h"    49     class GeometryProperty;
    74                 const std::vector<int>& ptypes,
    75                 bool timeIsInteger = 
true);
    84         std::size_t getNumProperties() 
const;
    86         int getPropertyDataType(std::size_t i) 
const;
    88         std::string getPropertyName(std::size_t i) 
const;
    90         std::string getDatasetNameOfProperty(std::size_t i) 
const;
    94         bool isConnected() 
const;
    96         std::size_t size() 
const;
    98         std::unique_ptr<te::gm::Envelope> getExtent(std::size_t i);
   104         bool moveBeforeFirst();
   110         bool move(std::size_t i);
   112         bool isAtBegin() 
const;
   114         bool isBeforeBegin() 
const;
   116         bool isAtEnd() 
const;
   118         bool isAfterEnd() 
const;
   120         bool isPositionValid() 
const;
   122         char getChar(std::size_t i) 
const;
   124         unsigned char getUChar(std::size_t i) 
const;
   126         boost::int16_t getInt16(std::size_t i) 
const;
   128         boost::int32_t getInt32(std::size_t i) 
const;
   130         boost::int64_t getInt64(std::size_t i) 
const;
   132         bool getBool(std::size_t i) 
const;
   134         float getFloat(std::size_t i) 
const;
   136         double getDouble(std::size_t i) 
const;
   138         std::string getNumeric(std::size_t i) 
const;
   140         std::string getString(std::size_t i) 
const;
   142         std::unique_ptr<te::dt::ByteArray> getByteArray(std::size_t i) 
const;
   144         std::unique_ptr<te::gm::Geometry> getGeometry(std::size_t i) 
const;
   146         std::unique_ptr<te::rst::Raster> getRaster(std::size_t i) 
const;
   148         std::unique_ptr<te::dt::DateTime> getDateTime(std::size_t i) 
const; 
   150         std::unique_ptr<te::dt::Array> getArray(std::size_t i) 
const;
   152         bool isNull(std::size_t i) 
const;
   182 #endif  // __TERRALIB_POSTGIS_INTERNAL_DATASET_H bool m_timeIsInteger
It indicates if the postgis stores, internally, the time and timestamp as an integer. 
 
int m_size
The number of datasets in the collection. 
 
struct pg_result PGresult
 
PGresult * getPGResult() const 
It returns the internal pg result. 
 
std::vector< int > m_ptypes
The list of property types. 
 
#define TEPGISEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
AccessPolicy
Supported data access policies (can be used as bitfield). 
 
TraverseType
A dataset can be traversed in two ways: 
 
An Envelope defines a 2D rectangular region. 
 
Implementation of a dataset for the PostGIS driver. 
 
Configuration flags for the PostGIS Driver Implementation of TerraLib. 
 
PGresult * m_result
The internal buffer with the result query. 
 
A class that implements a connection to a PostgreSQL database. 
 
A dataset is the unit of information manipulated by the data access module of TerraLib. 
 
int m_i
The index of the current row. 
 
te::gm::Envelope * m_mbr
The dataset extent.