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);
91 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);
109 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);
124 static Raster* make(
const std::map<std::string, std::string>& rinfo,
void* h = 0,
void (*deleter)(
void*) = 0);
140 static Raster* make(
const std::string& rType,
const std::map<std::string, std::string>& rinfo,
void* h,
void (*deleter)(
void*) = 0);
198 virtual const std::string& getType()
const = 0;
201 virtual void getCreationalParameters(std::vector< std::pair<std::string, std::string> >& params)
const = 0;
204 virtual std::map<std::string, std::string> getCapabilities()
const = 0;
240 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;
246 #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.