CopyDataSet.cpp File Reference

It copy a DataSet. More...

Go to the source code of this file.

Functions

void Copy (std::string dataSetName, std::unique_ptr< te::da::DataSource > inDs, te::da::DataSource *outDs)
 
void CopyFromShapeFile (te::da::DataSource *ds)
 It copies a shapefile to the given datasource. More...
 
void CreateDataSource (std::string name)
 

Detailed Description

It copy a DataSet.

Definition in file CopyDataSet.cpp.

Function Documentation

void Copy ( std::string  dataSetName,
std::unique_ptr< te::da::DataSource inDs,
te::da::DataSource outDs 
)

Definition at line 68 of file CopyDataSet.cpp.

References te::da::Create().

Referenced by te::rst::Copy(), CopyFromShapeFile(), and te::rst::CreateCopy().

void CopyFromShapeFile ( te::da::DataSource ds)

It copies a shapefile to the given datasource.

Parameters
dsThe data source you want to copy the data to.

Definition at line 81 of file CopyDataSet.cpp.

References Copy(), ds, and te::da::DataSourceFactory::make().

Referenced by main().

void CreateDataSource ( std::string  name)

Definition at line 37 of file CopyDataSet.cpp.

References te::da::DataSource::create().