26 #ifndef __TERRALIB_MEMORY_INTERNAL_PREPAREDITEMCOPY_H
27 #define __TERRALIB_MEMORY_INTERNAL_PREPAREDITEMCOPY_H
45 using ColumnMapping = std::vector< std::pair<std::size_t, std::size_t> >;
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
This class is used to optimize the copy of several dataSetItems by caching the mapping between the co...
ColumnMapping prepareCopyValues(const te::da::DataSetItem *source, te::mem::DataSetItem *destination, bool copyGeometries) const
Creates a list mapping the input columns to the output columns. This is used to optmize significantly...
void copyValues(const te::da::DataSetItem *source, te::mem::DataSetItem *destination, bool copyGeometries=true) const
Copies the values from the source dataSet item to the destination dataSet item by matching the column...
ColumnMapping m_columnMapping
void copyValues(const te::da::DataSetItem *source, te::mem::DataSetItem *destination, const ColumnMapping &vecColumnsMapping) const
Copies the values from the source dataSet item to the destination dataSet item using the given pre ca...
std::vector< std::pair< std::size_t, std::size_t > > ColumnMapping
#define TEMEMORYEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).