It displays the information about datasets stored in the data source catalog. More...
#include "ADOExamples.h"#include <terralib/common.h>#include <terralib/dataaccess/dataset/DataSet.h>#include <terralib/dataaccess/datasource/DataSource.h>#include <terralib/dataaccess/datasource/DataSourceTransactor.h>#include <iostream>#include <memory>Go to the source code of this file.
Functions | |
| 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... | |
It displays the information about datasets stored in the data source catalog.
Definition in file PrintCatalog.cpp.
| 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.
This example will print to standard output all information about the datasets stored in the data source.
| ds | The data source used to retrieve information about their datasets. |
Definition at line 40 of file PrintCatalog.cpp.
References dt, te::da::DataSource::getDataSetNames(), te::da::DataSource::getDataSetType(), te::da::CheckConstraint::getExpression(), te::da::Constraint::getName(), te::da::Index::getName(), te::da::PrimaryKey::getProperties(), te::da::UniqueKey::getProperties(), te::da::Index::getProperties(), te::da::DataSource::getTransactor(), and te::da::DataSource::isOpened().
Referenced by main().