All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Config.h File Reference

Configuration flags for the Data Access module of TerraLib. More...

#include "../Config.h"

Go to the source code of this file.

Macros

General Defines for the DataAccess module

Defines for configuring DataAccess module.

#define TE_DATAACCESS_MODULE_NAME   "te.dataaccess"
 An identifier for this module. More...
 
#define TE_USE_CONNECTION_POOL_MANAGER   1
 Set this macro to 1 if you want to use the TerraLib connection pool manager. More...
 
#define TE_AUTOMATICALLY_INITIALIZE_CONNECTION_POOL_MANAGER   1
 
#define TE_POOL_DEFAULT_MONITORING_TIME   60
 This sets the default monitoring time in seconds for the connection pool manager. More...
 
Internationalization Defines

Flags for TerraLib code internationalization.

#define TE_DATAACCESS_TEXT_DOMAIN   "tedataaccess"
 It contains the name of the text domain used in the translation of messages in TerraLib DataAccess module. More...
 
#define TE_DATAACCESS_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TR_DATAACCESS(message)   TR(message, TE_DATAACCESS_TEXT_DOMAIN)
 It marks a string in order to get translated. This is a special mark used in the DataAccess module of TerraLib. More...
 
#define TR_PLURAL_DATAACCESS(message1, message2, n)   TR_PLURAL(TE_DATAACCESS_TEXT_DOMAIN, message1, message2, n)
 This mark can be used when you have a plural phrase to be translated. This is a special mark used in the DataAccess module of TerraLib. More...
 
DLL/LIB Module

Flags for building TerraLib as a DLL or as a Static Library

#define TEDATAACCESSEXPORT
 You can use this macro in order to export/import classes and functions from this module. More...
 

Detailed Description

Configuration flags for the Data Access module of TerraLib.

Definition in file Config.h.

Macro Definition Documentation

#define TE_AUTOMATICALLY_INITIALIZE_CONNECTION_POOL_MANAGER   1

Definition at line 57 of file Config.h.

#define TE_DATAACCESS_MODULE_NAME   "te.dataaccess"

An identifier for this module.

Definition at line 42 of file Config.h.

Referenced by te::da::Module::Module(), and te::da::Module::~Module().

#define TE_DATAACCESS_TEXT_DOMAIN   "tedataaccess"

It contains the name of the text domain used in the translation of messages in TerraLib DataAccess module.

Definition at line 81 of file Config.h.

Referenced by te::da::Module::Module().

#define TE_DATAACCESS_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 88 of file Config.h.

Referenced by te::da::Module::Module().

#define TE_POOL_DEFAULT_MONITORING_TIME   60

This sets the default monitoring time in seconds for the connection pool manager.

Definition at line 67 of file Config.h.

Referenced by te::da::ConnectionPoolManager::monitore().

#define TE_USE_CONNECTION_POOL_MANAGER   1

Set this macro to 1 if you want to use the TerraLib connection pool manager.

Definition at line 49 of file Config.h.

#define TEDATAACCESSEXPORT

You can use this macro in order to export/import classes and functions from this module.

Note
If you want to compile TerraLib as DLL in Windows, remember to insert TEDATAACCESSDLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEDATAACCESSSTATIC flag into the project list of defines.

Definition at line 135 of file Config.h.

#define TR_DATAACCESS (   message)    TR(message, TE_DATAACCESS_TEXT_DOMAIN)

It marks a string in order to get translated. This is a special mark used in the DataAccess module of TerraLib.

Definition at line 95 of file Config.h.

Referenced by te::da::DataSourceInfoManager::add(), te::da::DataSourceFactory::add(), te::da::DataSourceCatalog::add(), te::da::AttributeConverterManager::addConverter(), te::da::DataSourceCatalog::addRef(), te::da::SpatialRestrictionVisitor::addSpatialRestriction(), te::da::PreparedQuery::bind(), te::da::DataSourceCatalog::checkFKsDependency(), te::da::DataSourceCatalog::checkSequenceDependency(), te::da::DataSourceCatalogManager::create(), te::da::DataSource::create(), te::da::DataSourceCatalogManager::detach(), te::da::DataSourceManager::detach(), te::da::DataSource::drop(), te::da::DataSourceCatalog::dropDependentSequenceEntry(), te::da::DataSource::exists(), te::da::Module::finalize(), te::da::AttributeConverterManager::getConverter(), te::da::SpatialQueryProcessor::getDataSet(), te::da::GetDataSource(), te::da::DataSource::getDataSourceNames(), te::da::DataSource::getEncodings(), te::da::GetExtent(), te::da::DataSourceCatalog::indexSequenceDependency(), te::da::Module::initialize(), te::da::FunctionCatalogManager::insert(), te::da::SQLDialect::insert(), te::da::DataSourceCatalogManager::insert(), te::da::DataSourceManager::insert(), te::da::DataSourceFactory::make(), te::da::DataSourceManager::make(), te::da::DataSourceManager::open(), te::da::DataSetType::operator=(), te::serialize::xml::Read(), te::serialize::xml::ReadDataSourceInfo(), te::serialize::xml::ReadDialect(), te::serialize::xml::ReadLiteral(), te::da::DataSourceInfoManager::remove(), te::da::DataSourceFactory::remove(), te::da::DataSourceCatalog::remove(), te::mem::DataSet::remove(), te::da::DataSetType::remove(), te::da::DataSourceCatalog::removeRef(), te::da::DataSourceCatalog::rename(), te::serialize::xml::Save(), and te::da::SQLVisitor::visit().

#define TR_PLURAL_DATAACCESS (   message1,
  message2,
 
)    TR_PLURAL(TE_DATAACCESS_TEXT_DOMAIN, message1, message2, n)

This mark can be used when you have a plural phrase to be translated. This is a special mark used in the DataAccess module of TerraLib.

Definition at line 102 of file Config.h.