26#ifndef __TERRALIB_DATATYPE_INTERNAL_DATACONVERTERMANAGER_H
27#define __TERRALIB_DATATYPE_INTERNAL_DATACONVERTERMANAGER_H
109 std::pair<int, int> mapping(src, dst);
Definition of data type converter.
Template support for singleton pattern.
Template support for singleton pattern.
DataConverterManager()
Constructor.
void clear()
Clear the container.
void add(int src, int dst, DataTypeConverter conv)
It adds a converter to the list of known data type mappings.
std::map< std::pair< int, int >, DataTypeConverter > m_convMap
A map: (source-data-type, target-data-type) -> data type converter.
const DataTypeConverter & get(int src, int dst)
It returns a data type converter for the given source and destination data types.
~DataConverterManager()
Destructor.
const DataTypeConverter & get(const std::pair< int, int > &typeMap)
It returns a data type converter for the given source and destination data types.
An exception class for the DataType module.
Namespace for the Data Type module of TerraLib.
boost::function1< AbstractData *, AbstractData * > DataTypeConverter
The definition of the data type converter.
Configuration flags for the DataType module of TerraLib.
#define TEDATATYPEEXPORT
You can use this macro in order to export/import classes and functions from this module.