LibreOffice Module dbaccess (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
dbaui::DataSourceMetaData Class Reference

encapsulates meta data for a data source More...

#include <dsmeta.hxx>

Public Member Functions

 DataSourceMetaData (const OUString &_sURL)
 
 ~DataSourceMetaData ()
 
const FeatureSetgetFeatureSet () const
 returns a struct describing this data source type's support for our known advanced settings More...
 

Static Public Member Functions

static AuthenticationMode getAuthentication (const OUString &_sURL)
 determines whether or not the data source requires authentication More...
 

Private Attributes

OUString m_sURL
 

Detailed Description

encapsulates meta data for a data source

On the long run, this class should a) encapsulate all meta data which currently is hard coded somewhere in the program logic and b) be initialized from the configuration.

At the moment, the data a) is still hard coded in the, well, code and b) contains meta data about the advanced settings only.

Definition at line 54 of file dsmeta.hxx.

Constructor & Destructor Documentation

◆ DataSourceMetaData()

dbaui::DataSourceMetaData::DataSourceMetaData ( const OUString &  _sURL)

Definition at line 144 of file dsmeta.cxx.

◆ ~DataSourceMetaData()

dbaui::DataSourceMetaData::~DataSourceMetaData ( )

Definition at line 149 of file dsmeta.cxx.

Member Function Documentation

◆ getAuthentication()

AuthenticationMode dbaui::DataSourceMetaData::getAuthentication ( const OUString &  _sURL)
static

determines whether or not the data source requires authentication

Definition at line 158 of file dsmeta.cxx.

References dbaui::getAuthenticationMode().

Referenced by dbaui::ODbTypeWizDialogSetup::declareAuthDepPath(), dbaui::ODbDataSourceAdministrationHelper::hasAuthentication(), and dbaui::OConnectionTabPage::implInitControls().

◆ getFeatureSet()

const FeatureSet & dbaui::DataSourceMetaData::getFeatureSet ( ) const

returns a struct describing this data source type's support for our known advanced settings

Definition at line 153 of file dsmeta.cxx.

References dbaui::lcl_getFeatureSet(), and m_sURL.

Referenced by dbaui::AdvancedSettingsDialog::AdvancedSettingsDialog(), and dbaui::AdvancedSettingsDialog::doesHaveAnyAdvancedSettings().

Member Data Documentation

◆ m_sURL

OUString dbaui::DataSourceMetaData::m_sURL
private

Definition at line 67 of file dsmeta.hxx.

Referenced by getFeatureSet().


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