ADOExamples.h File Reference

Examples that show how to access/manipulate an ADO data source. 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...
 
std::unique_ptr< te::da::DataSourceGetADOConnection ()
 
void LoadModules ()
 It loads the data source drivers. More...
 
void PrintCatalog (te::da::DataSource *ds)
 This example will print to the standard output all the information about the datasets stored in a data source. More...
 
void PrintDataSets (te::da::DataSource *ds)
 It prints datasets in a given data source. More...
 
void PrintDataSetValues (const std::string &datasetName, te::da::DataSet *dataset)
 It prints the data of a given dataset. More...
 

Detailed Description

Examples that show how to access/manipulate an ADO data source.

Definition in file ADOExamples.h.

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().

std::unique_ptr<te::da::DataSource> GetADOConnection ( )

Definition at line 37 of file GetADOConnection.cpp.

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

Referenced by main().

void LoadModules ( )

It loads the data source drivers.

It loads the data source drivers.

Definition at line 38 of file attic/unittest/dataaccess/LoadModules.h.

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

This example will print to the standard output all the information about the datasets stored in a data source.

Parameters
dsThe data source used to retrieve information about their datasets.

Definition at line 40 of file PrintCatalog.cpp.

Referenced by main().

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

It prints datasets in a given data source.

Parameters
dsThe data source you want to print its data.

Definition at line 38 of file ado/PrintDataSets.cpp.

Referenced by main(), OpenDirectory(), and OpenFile().

void PrintDataSetValues ( const std::string &  datasetName,
te::da::DataSet dataset 
)