26 #ifndef __TERRALIB_DATAACCESS_INTERNAL_DATASETTYPECONVERTER_H
27 #define __TERRALIB_DATAACCESS_INTERNAL_DATASETTYPECONVERTER_H
30 #include "../Config.h"
49 class DataSourceCapabilities;
119 void getNonConvertedProperties(std::vector<std::string>& propertyNames)
const;
126 void getNonConvertedProperties(std::vector<std::size_t>& propertyPos)
const;
134 void getConvertedProperties(
const std::string& propertyName, std::vector<std::size_t>& convertedPropertyPos);
142 void getConvertedProperties(std::size_t propertyPos, std::vector<std::size_t>& convertedPropertyPos);
151 std::string getConverterName(std::size_t propertyPos);
158 void remove(
const std::string& propertyName);
165 void remove(std::size_t propertyPos);
174 void add(
const std::string& propertyName,
te::dt::Property* p,
const std::string& attributeConverterName =
"GenericAttributeConverter");
183 void add(std::size_t propertyPos,
te::dt::Property* p,
const std::string& attributeConverterName =
"GenericAttributeConverter");
192 void add(
const std::vector<std::string>& propertyNames,
te::dt::Property* p,
const std::string& attributeConverterName =
"GenericAttributeConverter");
201 void add(
const std::vector<std::size_t>& propertyPos,
te::dt::Property* p,
const std::string& attributeConverterName =
"GenericAttributeConverter");
215 const std::vector<std::vector<std::size_t> >& getConvertedPropertyIndexes()
const;
217 const std::vector<AttributeConverter>& getConverters()
const;
221 bool isConverted(std::size_t i)
const;
236 #endif // __TERRALIB_DATAACCESS_INTERNAL_DATASETTYPECONVERTER_H
std::vector< std::size_t > m_convertedProperties
Internal vector to count the references to converted properties.
An converter for DataSetType.
DataSetType * m_outDataSetType
The converted DataSetType.
A class that represents the known capabilities of a specific data source, i.e. this class informs all...
#define TEDATAACCESSEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::vector< std::string > m_functionsNames
A vector that stores the attribute converters functions names.
Definition of attribute converter and a set of them.
DataSetType * m_inDataSetType
A pointer to DataSetType that will be converted.
A class that models the description of a dataset.
It models a property definition.
std::vector< AttributeConverter > m_converters
A vector that stores the attribute converters functions.
std::vector< std::vector< std::size_t > > m_propertyIndexes
A vector that stores the converted property indexes.
te::da::DataSourceCapabilities capabilities