26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_FILTEREDDATASET_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_FILTEREDDATASET_H
30 #include "../../common/Holder.h"
31 #include "../Config.h"
76 const std::vector<std::size_t>& positions,
bool isOwner =
false);
87 std::auto_ptr<te::gm::Envelope> getExtent(std::size_t i);
89 std::size_t getNumProperties()
const;
91 int getPropertyDataType(std::size_t i)
const;
93 std::string getPropertyName(std::size_t i)
const;
97 std::string getDatasetNameOfProperty(std::size_t i)
const;
101 bool isConnected()
const;
103 std::size_t size()
const;
109 bool moveBeforeFirst();
115 bool move(std::size_t i);
117 bool isAtBegin()
const;
119 bool isBeforeBegin()
const;
121 bool isAtEnd()
const;
123 bool isAfterEnd()
const;
125 char getChar(std::size_t i)
const;
127 unsigned char getUChar(std::size_t i)
const;
129 boost::int16_t getInt16(std::size_t i)
const;
131 boost::int32_t getInt32(std::size_t i)
const;
133 boost::int64_t getInt64(std::size_t i)
const;
135 bool getBool(std::size_t i)
const;
137 float getFloat(std::size_t i)
const;
139 double getDouble(std::size_t i)
const;
141 std::string getNumeric(std::size_t i)
const;
143 std::string getString(std::size_t i)
const;
145 std::auto_ptr<te::dt::ByteArray> getByteArray(std::size_t i)
const;
147 std::auto_ptr<te::gm::Geometry> getGeometry(std::size_t i)
const;
149 std::auto_ptr<te::rst::Raster> getRaster(std::size_t i)
const;
151 std::auto_ptr<te::dt::DateTime> getDateTime(std::size_t i)
const;
153 std::auto_ptr<te::dt::Array> getArray(std::size_t i)
const;
155 bool isNull(std::size_t i)
const;
168 #endif // __TERRALIB_DATAACCESS_INTERNAL_FILTEREDDATASET_H
An auxiliary data structure for helping to control the garbage collection of C++ objects.
CharEncoding
Supported charsets (character encoding).
std::vector< std::size_t > m_positions
The data set positions that actually will be accessed.
DataSetCapabilities m_capabilites
A class that informs what the dataset implementation of a given data source can perform.
AccessPolicy
Supported data access policies (can be used as bitfield).
TraverseType
A dataset can be traversed in two ways:
te::da::DataSourceCapabilities capabilities
A class that informs what the dataset implementation of a given data source can perform.
This class represents a filtered data set.
A dataset is the unit of information manipulated by the data access module of TerraLib.
te::common::Holder< DataSet > m_ds
A pointer to the DataSet that will be filtered.
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
A dataset is the unit of information manipulated by the data access module of TerraLib.