26 #ifndef __TERRALIB_GDAL_INTERNAL_RASTERFACTORY_H
27 #define __TERRALIB_GDAL_INTERNAL_RASTERFACTORY_H
30 #include "../raster/RasterFactory.h"
68 const std::vector<te::rst::BandProperty*> bands,
69 const std::map<std::string, std::string>& rinfo,
70 const std::map<std::string, std::string>& metadata,
71 void* h = 0,
void (*deleter)(
void*) = 0);
This is the concrete factory for GDAL rasters.
static void finalize()
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the ...
void getCreationalParameters(std::vector< std::pair< std::string, std::string > > ¶ms) const
It returns the list of parameters accepted as raster info.
std::map< std::string, std::string > getCapabilities() const
It return a map (string, string) containing all supported formats.
static RasterFactory * sm_factory
te::rst::Raster * build()
Concrete factories (derived from this one) must implement this method in order to create objects.
~RasterFactory()
Destructor.
static void initialize()
It initializes the factory: the singleton instance will be registered in the abstract factory DataSou...
const std::string & getType() const
Returns the type (name) of this factory.
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).
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 TEGDALEXPORT
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).