26 #ifndef __TERRALIB_DATATYPE_INTERNAL_DATACONVERTERMANAGER_H 
   27 #define __TERRALIB_DATATYPE_INTERNAL_DATACONVERTERMANAGER_H 
   30 #include "../common/Singleton.h" 
   89         const DataTypeConverter& 
get(
const std::pair<int, int>& typeMap) 
throw(Exception);
 
  106       std::pair<int, int> mapping(src, dst);
 
  113 #endif  // __TERRALIB_DATATYPE_INTERNAL_DATACONVERTERMANAGER_H 
Template support for singleton pattern. 
 
std::map< std::pair< int, int >, DataTypeConverter > m_convMap
A map: (source-data-type, target-data-type) -> data type converter. 
 
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
A singleton for managing the data type converter available in the system. 
 
Definition of data type converter. 
 
Configuration flags for the DataType module of TerraLib. 
 
const DataTypeConverter & get(int src, int dst)
It returns a data type converter for the given source and destination data types. ...
 
boost::function1< AbstractData *, AbstractData * > DataTypeConverter
The definition of the data type converter. 
 
An exception class for the DataType module.