te::da::DataSourceInfo Class Reference

A class that represents a data source component. More...

#include <DataSourceInfo.h>

Public Member Functions

 DataSourceInfo ()
 
const std::string & getAccessDriver () const
 
const te::core::URIgetConnInfo () 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
 

Detailed Description

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.

Constructor & Destructor Documentation

te::da::DataSourceInfo::DataSourceInfo ( )
default
te::da::DataSourceInfo::~DataSourceInfo ( )
default

Member Function Documentation

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
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::getTitle ( ) const

Definition at line 68 of file DataSourceInfo.cpp.

References m_title.

Referenced by te::qt::af::XMLFormatter::format().

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

Member Data Documentation

std::string te::da::DataSourceInfo::m_accessDriver
private

Definition at line 101 of file DataSourceInfo.h.

Referenced by getAccessDriver(), and setAccessDriver().

te::core::URI te::da::DataSourceInfo::m_connInfo
private

Definition at line 104 of file DataSourceInfo.h.

Referenced by getConnInfo(), getConnInfoAsString(), and setConnInfo().

std::string te::da::DataSourceInfo::m_description
private

Definition at line 103 of file DataSourceInfo.h.

Referenced by getDescription(), and setDescription().

std::string te::da::DataSourceInfo::m_dsType
private

Definition at line 100 of file DataSourceInfo.h.

Referenced by getType(), and setType().

std::string te::da::DataSourceInfo::m_id
private

Definition at line 99 of file DataSourceInfo.h.

Referenced by getId(), operator<(), and setId().

std::string te::da::DataSourceInfo::m_title
private

Definition at line 102 of file DataSourceInfo.h.

Referenced by getTitle(), and setTitle().


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