26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_ATTRIBUTECONVERTERS_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_ATTRIBUTECONVERTERS_H
30 #include "../../core/encoding/CharEncoding.h"
31 #include "../../srs/Config.h"
32 #include "../Config.h"
35 #include <boost/function.hpp>
64 typedef boost::function3<te::dt::AbstractData*, DataSet*, const std::vector<std::size_t>&,
int>
AttributeConverter;
103 m_inputSRID(inputSRID),
104 m_outputSRID(outputSRID)
A dataset is the unit of information manipulated by the data access module of TerraLib.
A base class for values that can be retrieved from the data access module.
EncodingType
Supported character encodings.
TEDATAACCESSEXPORT te::dt::AbstractData * XYToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * XYZToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * XYMToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
boost::function3< te::dt::AbstractData *, DataSet *, const std::vector< std::size_t > &, int > AttributeConverter
The type of attribute converter functions.
TEDATAACCESSEXPORT te::dt::AbstractData * XYZMToPointConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * TupleToStringConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * PointToYConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * PointToZConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * GenericAttributeConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * PointToMConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
TEDATAACCESSEXPORT te::dt::AbstractData * PointToXConverter(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
te::core::EncodingType m_toCode
CharEncodingConverter(te::core::EncodingType toCode)
te::dt::AbstractData * operator()(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
te::dt::AbstractData * operator()(DataSet *dataset, const std::vector< std::size_t > &indexes, int dstType)
SRIDAssociation(const int &inputSRID, const int &outputSRID=TE_UNKNOWN_SRS)
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
#define TE_UNKNOWN_SRS
A numeric value to represent a unknown SRS identification in TerraLib.