26 #ifndef __TERRALIB_RASTER_INTERNAL_RASTERFACTORY_H
27 #define __TERRALIB_RASTER_INTERNAL_RASTERFACTORY_H
30 #include "../common/AbstractFactory.h"
72 static Raster* make(
const std::string& rType);
89 static Raster* make(
Grid* g,
const std::vector<BandProperty*> bands,
const std::map<std::string, std::string>& rinfo,
void* h = 0,
void (*deleter)(
void*) = 0);
107 static Raster* make(
const std::string& rType,
Grid* g,
const std::vector<BandProperty*> bands,
const std::map<std::string, std::string>& rinfo,
void* h = 0,
void (*deleter)(
void*) = 0);
122 static Raster* make(
const std::map<std::string, std::string>& rinfo,
void* h = 0,
void (*deleter)(
void*) = 0);
138 static Raster* make(
const std::string& rType,
const std::map<std::string, std::string>& rinfo,
void* h,
void (*deleter)(
void*) = 0);
196 virtual const std::string& getType()
const = 0;
199 virtual void getCreationalParameters(std::vector< std::pair<std::string, std::string> >& params)
const = 0;
202 virtual std::map<std::string, std::string> getCapabilities()
const = 0;
238 virtual Raster* create(
Grid* g,
const std::vector<BandProperty*> bands,
const std::map<std::string, std::string>& rinfo,
void* h = 0,
void (*deleter)(
void*) = 0) = 0;
244 #endif // __TERRALIB_RASTER_INTERNAL_RASTERFACTORY_H
This class defines the interface of abstract factories without initializing parameters.
#define TERASTEREXPORT
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).
An abstract class for raster data strucutures.
An abstract class for raster data strucutures.
virtual ~RasterFactory()
Destructor.
This is the abstract factory for Rasters.
A rectified grid is the spatial support for raster data.