A class that represents a data source component. More...
#include <DataSourceInfo.h>
Public Member Functions | |
| DataSourceInfo () | |
| const std::string & | getAccessDriver () const |
| const te::core::URI & | getConnInfo () const |
| const std::string | getConnInfoAsString () const |
| const std::string & | getDescription () const |
| const std::string & | getId () const |
| const std::string & | getTitle () const |
| const std::string & | getType () const |
| bool | operator< (const DataSourceInfo &rhs) const |
| void | setAccessDriver (const std::string &d) |
| void | setConnInfo (const te::core::URI &conninfo) |
| void | setConnInfo (const std::string &conninfo) |
| void | setDescription (const std::string &d) |
| void | setId (const std::string &id) |
| void | setTitle (const std::string &title) |
| void | setType (const std::string &dsType) |
| ~DataSourceInfo () | |
Private Attributes | |
| std::string | m_accessDriver |
| te::core::URI | m_connInfo |
| std::string | m_description |
| std::string | m_dsType |
| std::string | m_id |
| std::string | m_title |
A class that represents a data source component.
This class splits the concept of data source from data access drivers.
For example, at application level one can have a data source named File that uses diferent drivers to access data. It will depend on user preferences and dialogs used to create the data source.
Definition at line 59 of file DataSourceInfo.h.
|
default |
|
default |
| const std::string & te::da::DataSourceInfo::getAccessDriver | ( | ) | const |
Definition at line 58 of file DataSourceInfo.cpp.
References m_accessDriver.
| const te::core::URI & te::da::DataSourceInfo::getConnInfo | ( | ) | const |
Definition at line 88 of file DataSourceInfo.cpp.
References m_connInfo.
Referenced by CreateDataSourceAndUpdateManager(), and te::qt::af::XMLFormatter::format().
| const std::string te::da::DataSourceInfo::getConnInfoAsString | ( | ) | const |
Definition at line 93 of file DataSourceInfo.cpp.
References m_connInfo, and te::core::URI::uri().
Referenced by te::st::STDataLoader::getDataSet(), te::st::STDataLoader::getInfo(), te::st::STDataLoader::getSpatialExtent(), and te::st::STDataLoader::getTemporalExtent().
| const std::string & te::da::DataSourceInfo::getDescription | ( | ) | const |
Definition at line 78 of file DataSourceInfo.cpp.
References m_description.
Referenced by te::qt::af::XMLFormatter::format().
| const std::string & te::da::DataSourceInfo::getId | ( | ) | const |
Definition at line 38 of file DataSourceInfo.cpp.
References m_id.
Referenced by CreateDataSourceAndUpdateManager(), te::st::STDataLoader::getCoverage(), te::st::STDataLoaderFromDS::getDataSet(), te::st::ObservationDataSetInfo::getDSId(), te::st::STDataLoaderFromDS::getSpatialExtent(), and te::st::STDataLoaderFromMemDS::loadDataSet().
| const std::string & te::da::DataSourceInfo::getTitle | ( | ) | const |
Definition at line 68 of file DataSourceInfo.cpp.
References m_title.
Referenced by te::qt::af::XMLFormatter::format().
| const std::string & te::da::DataSourceInfo::getType | ( | ) | const |
Definition at line 48 of file DataSourceInfo.cpp.
References m_dsType.
Referenced by CreateDataSourceAndUpdateManager(), te::st::STDataLoader::getDataSet(), te::st::STDataLoader::getInfo(), te::st::STDataLoader::getSpatialExtent(), and te::st::STDataLoader::getTemporalExtent().
| bool te::da::DataSourceInfo::operator< | ( | const DataSourceInfo & | rhs | ) | const |
Definition at line 110 of file DataSourceInfo.cpp.
References m_id.
| void te::da::DataSourceInfo::setAccessDriver | ( | const std::string & | d | ) |
Definition at line 63 of file DataSourceInfo.cpp.
References d, and m_accessDriver.
Referenced by LoadTimeSeriesDataSetFromPGIS().
| void te::da::DataSourceInfo::setConnInfo | ( | const te::core::URI & | conninfo | ) |
Definition at line 98 of file DataSourceInfo.cpp.
References m_connInfo.
Referenced by LoadCoverageSeriesFromGeotif(), LoadTimeSeriesDataSetFromPGIS(), and LoadTrajectoryDataSetFromKML().
| void te::da::DataSourceInfo::setConnInfo | ( | const std::string & | conninfo | ) |
Definition at line 103 of file DataSourceInfo.cpp.
References te::core::URI::isValid(), and m_connInfo.
| void te::da::DataSourceInfo::setDescription | ( | const std::string & | d | ) |
Definition at line 83 of file DataSourceInfo.cpp.
References d, and m_description.
Referenced by te::qt::af::XMLFormatter::format().
| void te::da::DataSourceInfo::setId | ( | const std::string & | id | ) |
Definition at line 43 of file DataSourceInfo.cpp.
References m_id.
Referenced by CreateDataSourceAndUpdateManager().
| void te::da::DataSourceInfo::setTitle | ( | const std::string & | title | ) |
Definition at line 73 of file DataSourceInfo.cpp.
References m_title.
Referenced by te::qt::af::XMLFormatter::format(), and LoadTimeSeriesDataSetFromPGIS().
| void te::da::DataSourceInfo::setType | ( | const std::string & | dsType | ) |
Definition at line 53 of file DataSourceInfo.cpp.
References m_dsType.
Referenced by LoadCoverageSeriesFromGeotif(), LoadTimeSeriesDataSetFromPGIS(), and LoadTrajectoryDataSetFromKML().
|
private |
Definition at line 101 of file DataSourceInfo.h.
Referenced by getAccessDriver(), and setAccessDriver().
|
private |
Definition at line 104 of file DataSourceInfo.h.
Referenced by getConnInfo(), getConnInfoAsString(), and setConnInfo().
|
private |
Definition at line 103 of file DataSourceInfo.h.
Referenced by getDescription(), and setDescription().
|
private |
Definition at line 100 of file DataSourceInfo.h.
|
private |
Definition at line 99 of file DataSourceInfo.h.
Referenced by getId(), operator<(), and setId().
|
private |
Definition at line 102 of file DataSourceInfo.h.
Referenced by getTitle(), and setTitle().