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 std::map< std::string, std::string > & getConnInfo () const
std::map< std::string, std::string > & getConnInfo ()
std::string getConnInfoAsString ()
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 setConnInfoFromString (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
std::map< std::string, std::string > 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 57 of file DataSourceInfo.h.

Constructor & Destructor Documentation

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

Member Function Documentation

const std::string& te::da::DataSourceInfo::getAccessDriver ( ) const
const std::map<std::string, std::string>& te::da::DataSourceInfo::getConnInfo ( ) const
std::map<std::string, std::string>& te::da::DataSourceInfo::getConnInfo ( )
std::string te::da::DataSourceInfo::getConnInfoAsString ( )
const std::string& te::da::DataSourceInfo::getDescription ( ) const
const std::string& te::da::DataSourceInfo::getId ( ) const
const std::string& te::da::DataSourceInfo::getTitle ( ) const
const std::string& te::da::DataSourceInfo::getType ( ) const
bool te::da::DataSourceInfo::operator< ( const DataSourceInfo rhs) const
void te::da::DataSourceInfo::setAccessDriver ( const std::string &  d)
void te::da::DataSourceInfo::setConnInfo ( const std::map< std::string, std::string > &  connInfo)
void te::da::DataSourceInfo::setConnInfoFromString ( const std::string &  conninfo)
void te::da::DataSourceInfo::setDescription ( const std::string &  d)
void te::da::DataSourceInfo::setId ( const std::string &  id)
void te::da::DataSourceInfo::setTitle ( const std::string &  title)
void te::da::DataSourceInfo::setType ( const std::string &  dsType)

Member Data Documentation

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

Definition at line 101 of file DataSourceInfo.h.

std::map<std::string, std::string> te::da::DataSourceInfo::m_conninfo

Definition at line 104 of file DataSourceInfo.h.

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

Definition at line 103 of file DataSourceInfo.h.

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

Definition at line 100 of file DataSourceInfo.h.

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

Definition at line 99 of file DataSourceInfo.h.

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

Definition at line 102 of file DataSourceInfo.h.

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