26 #ifndef __TERRALIB_ST_INTERNAL_COVERAGE_H
27 #define __TERRALIB_ST_INTERNAL_COVERAGE_H
30 #include "../../Config.h"
31 #include "../../Enums.h"
39 #include <boost/shared_ptr.hpp>
40 #include <boost/ptr_container/ptr_vector.hpp>
43 namespace te {
namespace dt {
class DateTime;
class AbstractData; } }
45 namespace te {
namespace gm {
class Geometry;
class Point;
class Polygon;} }
47 namespace te {
namespace rst {
class Raster; } }
118 virtual unsigned int getNumberOfProperties()
const = 0;
127 virtual const std::vector<int>& getPropertyTypes()
const = 0;
136 virtual const std::vector<std::string>& getPropertyNames()
const = 0;
148 virtual void getValue(
const te::gm::Point& l, boost::ptr_vector<te::dt::AbstractData>& result)
const = 0;
160 virtual std::auto_ptr<te::dt::AbstractData> getValue(
const te::gm::Point& l,
unsigned int p=0)
const = 0;
171 virtual void getValue(
const te::gm::Polygon& l,
unsigned int p, boost::ptr_vector<te::dt::AbstractData>& result)
const = 0;
189 virtual void getValue(
const te::gm::Polygon& l, boost::ptr_vector<te::dt::AbstractData>& result)
const = 0;
199 virtual void getInt(
const te::gm::Point& l, std::vector<int>& result)
const = 0;
209 virtual int getInt(
const te::gm::Point& l,
unsigned int p=0)
const = 0;
218 virtual void getInt(
const te::gm::Polygon& l,
unsigned int p, std::vector<int>& result)
const = 0;
234 virtual void getInt(
const te::gm::Polygon& l, std::vector<int>& result)
const = 0;
244 virtual void getDouble(
const te::gm::Point& l, std::vector<double>& result)
const = 0;
254 virtual double getDouble(
const te::gm::Point& l,
unsigned int p=0)
const = 0;
263 virtual void getDouble(
const te::gm::Polygon& l,
unsigned int p, std::vector<double>& result)
const = 0;
279 virtual void getDouble(
const te::gm::Polygon& l, std::vector<double>& result)
const = 0;
295 virtual std::auto_ptr<te::rst::Raster> getRaster()
const = 0;
311 virtual std::auto_ptr<te::rst::Raster> getRaster(
unsigned int p)
const = 0;
323 #endif // __TERRALIB_ST_INTERNAL_COVERAGE_H
#define TESTEXPORT
You can use this macro in order to export/import classes and functions from this module.
boost::shared_ptr< te::st::Coverage > CoverageShrPtr
CoverageType
An enum for the types of coverage.
A point with x and y coordinate values.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
Polygon is a subclass of CurvePolygon whose rings are defined by linear rings.
An abstract class to represent a coverage.