A factory for data sources.
More...
#include <DataSourceFactory.h>
|
static void | add (const std::string &dsType, FactoryFnctType f) |
|
static bool | find (const std::string &dsType) |
|
static std::unique_ptr< DataSource > | make (const std::string &driver, const std::string &connInfo) |
|
static std::unique_ptr< DataSource > | make (const std::string &driver, const te::core::URI &connInfo) |
|
static void | remove (const std::string &dsType) |
|
A factory for data sources.
- See also
- DataSource
Definition at line 59 of file DataSourceFactory.h.
◆ FactoryFnctType
◆ add()
static void te::da::DataSourceFactory::add |
( |
const std::string & |
dsType, |
|
|
FactoryFnctType |
f |
|
) |
| |
|
static |
◆ find()
static bool te::da::DataSourceFactory::find |
( |
const std::string & |
dsType | ) |
|
|
static |
◆ make() [1/2]
static std::unique_ptr< DataSource > te::da::DataSourceFactory::make |
( |
const std::string & |
driver, |
|
|
const std::string & |
connInfo |
|
) |
| |
|
static |
◆ make() [2/2]
static std::unique_ptr< DataSource > te::da::DataSourceFactory::make |
( |
const std::string & |
driver, |
|
|
const te::core::URI & |
connInfo |
|
) |
| |
|
static |
◆ remove()
static void te::da::DataSourceFactory::remove |
( |
const std::string & |
dsType | ) |
|
|
static |
◆ sm_factories
std::map<std::string, FactoryFnctType> te::da::DataSourceFactory::sm_factories |
|
staticprivate |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/dataaccess/datasource/DataSourceFactory.h