26 #ifndef __TERRALIB_MEMORY_INTERNAL_RASTERFACTORY_H
27 #define __TERRALIB_MEMORY_INTERNAL_RASTERFACTORY_H
30 #include "../raster/RasterFactory.h"
61 const std::vector<te::rst::BandProperty*> bands,
62 const std::map<std::string, std::string>& rinfo,
63 const std::map<std::string, std::string>& metadata,
64 void* h = 0,
void (*deleter)(
void*) = 0);
This is the abstract factory for Rasters.
te::rst::Raster * build()
Concrete factories (derived from this one) must implement this method in order to create objects.
static RasterFactory sm_factory
const std::string & getType() const
Returns the type (name) of this factory.
void getCreationalParameters(std::vector< std::pair< std::string, std::string > > ¶ms) const
It returns the list of parameters accepted as raster info.
~RasterFactory()
Destructor.
te::rst::Raster * create(te::rst::Grid *g, const std::vector< te::rst::BandProperty * > bands, const std::map< std::string, std::string > &rinfo, const std::map< std::string, std::string > &metadata, void *h=0, void(*deleter)(void *)=0)
This method must be implemented by subclasses (raster drivers).
std::map< std::string, std::string > getCapabilities() const
It returns a map<string, string> containing all supported formats.
A rectified grid is the spatial support for raster data.
This is the abstract factory for Rasters.
An abstract class for raster data strucutures.
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).