te::tools::dscopy::DSCopy Class Reference

Class with methods to manage the application. More...

#include <DSCopy.h>

Public Member Functions

bool copy (std::string dsTypeOrigin, std::string dsConnStrOrigin, std::string dsTypeDestination, std::string dsConnStrDestination, std::vector< std::string * > datasets, std::string &errorMessage)
 Copy. More...
 
bool copy (te::da::DataSource *dsOrigin, te::da::DataSource *dsDestination, std::vector< std::string * > datasets, std::string &errorMessage)
 Copy. More...
 
bool init (std::string &errorMessage)
 Init the application. More...
 

Private Member Functions

bool copyDataSets (te::da::DataSource *dsOrigin, te::da::DataSource *dsDestination, std::vector< std::string * > datasets, std::string &errorMessage)
 Copy a list of Data Sets. More...
 

Detailed Description

Class with methods to manage the application.

Definition at line 49 of file DSCopy.h.

Member Function Documentation

bool te::tools::dscopy::DSCopy::copy ( std::string  dsTypeOrigin,
std::string  dsConnStrOrigin,
std::string  dsTypeDestination,
std::string  dsConnStrDestination,
std::vector< std::string * >  datasets,
std::string &  errorMessage 
)

Copy.

Parameters
dsTypeOriginThe type of the origin Data Source
dsConnStrOriginOrigin Data Source connection string
dsTypeDestinationThe type of the destination Data Source
dsConnStrDestinationDestination Data SourceConnection string
datasetsDataSet names
errorMessageString that receive errors description
Returns
True if successfully
bool te::tools::dscopy::DSCopy::copy ( te::da::DataSource dsOrigin,
te::da::DataSource dsDestination,
std::vector< std::string * >  datasets,
std::string &  errorMessage 
)

Copy.

Parameters
dsOriginThe origin Data Source
dsDestinationThe destination Data Source
datasetsDataSet names
errorMessageString that receive errors description
Returns
True if successfully
bool te::tools::dscopy::DSCopy::copyDataSets ( te::da::DataSource dsOrigin,
te::da::DataSource dsDestination,
std::vector< std::string * >  datasets,
std::string &  errorMessage 
)
private

Copy a list of Data Sets.

Parameters
dsOriginThe origin Data Source
dsDestinationThe destination Data Source
datasetsDataSet names
errorMessageString that receive errors description
Returns
True if successfully
bool te::tools::dscopy::DSCopy::init ( std::string &  errorMessage)

Init the application.

Parameters
errorMessageString that receive errors description
Returns
True if successfully

The documentation for this class was generated from the following file: