A class that represents a data source component. More...
#include <DataSourceInfo.h>
Public Member Functions | |
DataSourceInfo () | |
const std::string & | getAccessDriver () const |
const std::map< std::string, std::string > & | getConnInfo () const |
std::map< std::string, std::string > & | getConnInfo () |
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 std::map< std::string, 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 |
std::map< std::string, std::string > | 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 57 of file DataSourceInfo.h.
te::da::DataSourceInfo::DataSourceInfo | ( | ) |
Definition at line 29 of file DataSourceInfo.cpp.
te::da::DataSourceInfo::~DataSourceInfo | ( | ) |
Definition at line 33 of file DataSourceInfo.cpp.
const std::string & te::da::DataSourceInfo::getAccessDriver | ( | ) | const |
Definition at line 57 of file DataSourceInfo.cpp.
const std::map< std::string, std::string > & te::da::DataSourceInfo::getConnInfo | ( | ) | const |
Definition at line 87 of file DataSourceInfo.cpp.
Referenced by te::qt::af::XMLFormatter::format().
std::map< std::string, std::string > & te::da::DataSourceInfo::getConnInfo | ( | ) |
Definition at line 92 of file DataSourceInfo.cpp.
const std::string & te::da::DataSourceInfo::getDescription | ( | ) | const |
Definition at line 77 of file DataSourceInfo.cpp.
Referenced by te::qt::af::XMLFormatter::format().
const std::string & te::da::DataSourceInfo::getId | ( | ) | const |
Definition at line 37 of file DataSourceInfo.cpp.
Referenced by te::st::STDataLoader::getCoverage(), te::st::STDataLoaderFromDS::getDataSet(), te::st::STDataLoaderFromDS::getSpatialExtent(), and te::st::STDataLoaderFromMemDS::loadDataSet().
const std::string & te::da::DataSourceInfo::getTitle | ( | ) | const |
Definition at line 67 of file DataSourceInfo.cpp.
Referenced by te::qt::af::XMLFormatter::format().
const std::string & te::da::DataSourceInfo::getType | ( | ) | const |
Definition at line 47 of file DataSourceInfo.cpp.
Referenced by 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 102 of file DataSourceInfo.cpp.
References m_id.
void te::da::DataSourceInfo::setAccessDriver | ( | const std::string & | d | ) |
Definition at line 62 of file DataSourceInfo.cpp.
void te::da::DataSourceInfo::setConnInfo | ( | const std::map< std::string, std::string > & | conninfo | ) |
Definition at line 97 of file DataSourceInfo.cpp.
void te::da::DataSourceInfo::setDescription | ( | const std::string & | d | ) |
Definition at line 82 of file DataSourceInfo.cpp.
Referenced by te::qt::af::XMLFormatter::format().
void te::da::DataSourceInfo::setId | ( | const std::string & | id | ) |
Definition at line 42 of file DataSourceInfo.cpp.
void te::da::DataSourceInfo::setTitle | ( | const std::string & | title | ) |
Definition at line 72 of file DataSourceInfo.cpp.
Referenced by te::qt::af::XMLFormatter::format().
void te::da::DataSourceInfo::setType | ( | const std::string & | dsType | ) |
Definition at line 52 of file DataSourceInfo.cpp.
|
private |
Definition at line 97 of file DataSourceInfo.h.
|
private |
Definition at line 100 of file DataSourceInfo.h.
|
private |
Definition at line 99 of file DataSourceInfo.h.
|
private |
Definition at line 96 of file DataSourceInfo.h.
|
private |
Definition at line 95 of file DataSourceInfo.h.
Referenced by operator<().
|
private |
Definition at line 98 of file DataSourceInfo.h.