#include <Module.h>
Public Member Functions | |
| const PluginInfo & | getInfo () const |
| It return the information associated to the plugin. More... | |
| bool | isStarted () const |
| It tells if the plugin was started or not. More... | |
| bool | operator< (const AbstractPlugin &rhs) const |
| This overloaded operator can be used to index the plugin in a set. More... | |
Initializer Methods | |
Constructor/Destructor. | |
| Module (const te::plugin::PluginInfo &pluginInfo) | |
| It creates a new C++ module. More... | |
| ~Module () | |
| Destructor. More... | |
Re-Implmentation from Plugin Interface | |
Re-Implementation from Plugin Interface. | |
| void | startup () |
| This method will be called by TerraLib to startup some plugin's functionality. More... | |
| void | shutdown () |
| This method will be called by TerraLib to shutdown plugin's functionality. More... | |
Static Public Attributes | |
| static const std::string | sm_booleanTypeName |
| The string literal representation for the boolean type. More... | |
| static const std::string | sm_byteArrayTypeName |
| The string literal representation for the byte array type. More... | |
| static const std::string | sm_charTypeName |
| The string literal representation for the char type. More... | |
| static const std::string | sm_dateTypeName |
| The string literal representation for the date type. More... | |
| static const std::string | sm_doubleTypeName |
| The string literal representation for the double type. More... | |
| static const std::string | sm_floatTypeName |
| The string literal representation for the float type. More... | |
| static const std::string | sm_geometryCollectionMTypeName |
| The string literal representation for ADO geometry collection with m geometry type. More... | |
| static const std::string | sm_geometryCollectionTypeName |
| The string literal representation for ADO geometry collection geometry type. More... | |
| static const std::string | sm_geometryTypeName |
| The string literal representation for ADO base geometry type. More... | |
| static const std::string | sm_int2TypeName |
| The string literal representation for the int2 type. More... | |
| static const std::string | sm_int8TypeName |
| The string literal representation for the int8 type. More... | |
| static const std::string | sm_intTypeName |
| The string literal representation for the int type. More... | |
| static const std::string | sm_lineStringMTypeName |
| The string literal representation for ADO line string with m geometry type. More... | |
| static const std::string | sm_lineStringTypeName |
| The string literal representation for ADO line string geometry type. More... | |
| static const std::string | sm_multiLineStringMTypeName |
| The string literal representation for ADO multi-linestring with m geometry type. More... | |
| static const std::string | sm_multiLineStringTypeName |
| The string literal representation for ADO multi-linestring geometry type. More... | |
| static const std::string | sm_multiPointMTypeName |
| The string literal representation for ADO multi-point with m geometry type. More... | |
| static const std::string | sm_multiPointTypeName |
| The string literal representation for ADO multi-point geometry type. More... | |
| static const std::string | sm_multiPolygonMTypeName |
| The string literal representation for ADO multi-polygon with m geometry type. More... | |
| static const std::string | sm_multiPolygonTypeName |
| The string literal representation for ADO multi-polygon geometry type. More... | |
| static const std::string | sm_numericTypeName |
| The string literal representation for the numeric type. More... | |
| static const std::string | sm_pointMTypeName |
| The string literal representation for ADO point geometry type. More... | |
| static const std::string | sm_pointTypeName |
| The string literal representation for ADO point geometry type. More... | |
| static const std::string | sm_polygonMTypeName |
| The string literal representation for ADO polygon with m geometry type. More... | |
| static const std::string | sm_polygonTypeName |
| The string literal representation for ADO polygon geometry type. More... | |
| static const std::string | sm_stringTypeName |
| The string literal representation for the string type. More... | |
| static const std::string | sm_timeStampTypeName |
| The string literal representation for the time stamp type. More... | |
| static const std::string | sm_timeStampTZTypeName |
| The string literal representation for the time stamp with time zone type. More... | |
| static const std::string | sm_timeTypeName |
| The string literal representation for the time type. More... | |
| static const std::string | sm_timeTZTypeName |
| The string literal representation for the time type. More... | |
| static const std::string | sm_unknownTypeName |
| The string literal representation for the unknown type. More... | |
| static const std::string | sm_varcharTypeName |
| The string literal representation for the varchar type. More... | |
Protected Attributes | |
| bool | m_initialized |
| A flag that indicates if the plugin was started or not. More... | |
| PluginInfo | m_pluginInfo |
| Information about the plugin. More... | |
| te::ado::Module::Module | ( | const te::plugin::PluginInfo & | pluginInfo | ) |
It creates a new C++ module.
Definition at line 41 of file Module.cpp.
| te::ado::Module::~Module | ( | ) |
Destructor.
Definition at line 46 of file Module.cpp.
|
virtualinherited |
It return the information associated to the plugin.
Implements te::plugin::AbstractPlugin.
Definition at line 29 of file Plugin.cpp.
References te::plugin::Plugin::m_pluginInfo.
|
virtualinherited |
It tells if the plugin was started or not.
Implements te::plugin::AbstractPlugin.
Definition at line 34 of file Plugin.cpp.
|
inherited |
This overloaded operator can be used to index the plugin in a set.
| rhs | The right-hand-side plugin. |
Definition at line 38 of file AbstractPlugin.cpp.
References te::plugin::AbstractPlugin::getInfo().
|
virtual |
This method will be called by TerraLib to shutdown plugin's functionality.
| Exception | It throws an exception if the plugin can not be shutdown. |
Reimplemented from te::plugin::Plugin.
Definition at line 76 of file Module.cpp.
References ADO_DRIVER_IDENTIFIER, te::common::Singleton< DataSourceManager >::getInstance(), te::da::DataSourceFactory::remove(), TE_LOG_TRACE, and TR_ADO.
|
virtual |
This method will be called by TerraLib to startup some plugin's functionality.
| Exception | It throws an exception if the plugin can not be started. |
Reimplemented from te::plugin::Plugin.
Definition at line 50 of file Module.cpp.
References te::da::DataSourceFactory::add(), te::ado::Build(), te::serialize::xml::Read(), te::ado::Globals::sm_capabilities, te::ado::Globals::sm_queryDialect, TE_ADD_TEXT_DOMAIN, TE_ADO_TEXT_DOMAIN, TE_ADO_TEXT_DOMAIN_DIR, TE_LOG_TRACE, and TR_ADO.
|
protectedinherited |
|
protectedinherited |
Information about the plugin.
Definition at line 78 of file Plugin.h.
Referenced by te::plugin::Plugin::getInfo().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |