72         case IDL_TYP_ULONG64 :
 
   87         case IDL_TYP_COMPLEX :
 
   92         case IDL_TYP_DCOMPLEX :
 
  141           return IDL_TYP_ULONG;
 
  146           return IDL_TYP_LONG64;
 
  151           return IDL_TYP_ULONG64;
 
  156           return IDL_TYP_FLOAT;
 
  161           return IDL_TYP_DOUBLE;
 
  166           return IDL_TYP_COMPLEX;
 
  171           return IDL_TYP_DCOMPLEX;
 
  176           return IDL_TYP_STRING;
 
  186           return IDL_TYP_UNDEF;
 
  196         info.
m_name = 
"te.da.ogr";
 
  198         info.
m_description = 
"This data source driver supports spatial data managed by OGR";
 
  202         std::pair<std::string, std::string> rsc(
"SharedLibraryName", 
"terralib_ogr");
 
  210         std::pair<std::string, std::string> rsc(
"SharedLibraryName", 
"terralib_gdal");
 
  213         info.
m_name = 
"te.da.gdal";
 
  215         info.
m_description = 
"This data source driver supports spatial data managed by GDAL";
 
  225       const bool takeBufferOwnership,
 
  226       boost::shared_ptr< te::rst::Raster >& outRasterPtr )
 
  228       if( ! ( idlValuePointer->flags & IDL_V_ARR) )
 
  234         unsigned int nLines = 0;
 
  235         unsigned int nCols = 0;  
 
  236         unsigned int nBands = 0;
 
  238         if( idlValuePointer->value.arr->n_dim == 2 )
 
  240           nLines = (
unsigned int)idlValuePointer->value.arr->dim[ 1 ];
 
  241           nCols = (
unsigned int)idlValuePointer->value.arr->dim[ 0 ];
 
  244         else if( idlValuePointer->value.arr->n_dim == 3 )
 
  246           nLines = (
unsigned int)idlValuePointer->value.arr->dim[ 2 ];
 
  247           nCols = (
unsigned int)idlValuePointer->value.arr->dim[ 1 ];
 
  248           nBands = (
unsigned int)idlValuePointer->value.arr->dim[ 0 ];
 
  257         std::map<std::string, std::string> rasterInfo;
 
  258         rasterInfo[
"MEM_IS_DATA_BUFFER"] = 
"TRUE";
 
  267             idlValuePointer->value.arr->data, 
 
  270         if( outRasterPtr.get() )
 
  276           outRasterPtr.reset();
 
The basic information about a plugin. 
 
std::vector< Resource > m_resources
The list of resources used by plugin. 
 
void dummyFunction(void *)
A dummy function for internal use. 
 
static Raster * make()
It creates and returns an empty raster with default raster driver. 
 
This file contains include headers for the Plugin module of TerraLib. 
 
std::string m_description
A brief explanation about the plugin. 
 
UCHAR terralib2IdlType(const int &tlType)
Convert Terralib data types to IDL data types. 
 
void deleteArray(void *arrayPtr)
Delete an array of elements. 
 
General enumerations for the data type module. 
 
void loadTerralibModules()
Load the required terralib modules. 
 
std::string Convert2String(boost::int16_t value)
It converts a short integer value to a string. 
 
This is the abstract factory for Rasters. 
 
This file contains include headers for the TerraLib Common Runtime module. 
 
int idl2TerralibType(const UCHAR &idlType)
Convert IDL data types to Terralib data types. 
 
std::string m_engine
The type of plugin execution engine: C++, JAVA. 
 
static PluginManager & getInstance()
It returns a reference to the singleton instance. 
 
std::string m_name
The plugin name: an internal value used to identify the plugin in the system. Must be a unique value...
 
bool createRasterFromIdlArray(IDL_VPTR idlValuePointer, const bool takeBufferOwnership, boost::shared_ptr< te::rst::Raster > &outRasterPtr)
 
std::string m_displayName
The plugin name to be displayed in a graphical interface.