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

Configuration flags for the TerraLib ADO Data Access driver. More...

#include "../Config.h"

Go to the source code of this file.

Macros

General Defines

Configuring ADO support.

#define ADO_DEFAULT_INITIAL_POOL_SIZE   4
 This sets the default initial number of connections opened by a connection pool. More...
 
#define ADO_DEFAULT_MIN_POOL_SIZE   2
 This sets the default minimum number of connections to be kept in the pool. More...
 
#define ADO_DEFAULT_MAX_POOL_SIZE   4
 This sets the default maximum number of connections in the pool. More...
 
#define ADO_DEFAULT_MAX_IDLE_TIME   10
 This sets the default maximum time that a connection can be in the pool without being used. More...
 
#define ADO_DEFAULT_PORT   "5432"
 The default port used to connect to a PostgreSQL database server. More...
 
#define ADO_DEFAULT_CONNECT_TIMEOUT   "4"
 The default maximum wait for connection, in seconds. More...
 
#define ADO_DEFAULT_CLIENT_ENCODING   "UTF8"
 The default client encoding when talking with the database. More...
 
#define ADO_DRIVER_IDENTIFIER   "ADO"
 The ADO driver identifier string. More...
 
#define ADO_PLUGIN_NAME   "te.da.ado"
 The ADO plugin identifier string. More...
 
Internationalization Defines

Flags for TerraLib code internationalization.

#define TE_ADO_TEXT_DOMAIN   "teado"
 It contains the name of the text domain used in the translation of messages in TerraLib ADO driver implementation. More...
 
#define TE_ADO_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TR_ADO(message)   TR(message, TE_ADO_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_ADO(message1, message2, n)   TR_PLURAL(TE_ADO_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 ADO module of TerraLib. More...
 
DLL/LIB Module

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

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

Detailed Description

Configuration flags for the TerraLib ADO Data Access driver.

Definition in file Config.h.

Macro Definition Documentation

#define ADO_DEFAULT_CLIENT_ENCODING   "UTF8"

The default client encoding when talking with the database.

Definition at line 84 of file Config.h.

#define ADO_DEFAULT_CONNECT_TIMEOUT   "4"

The default maximum wait for connection, in seconds.

Definition at line 77 of file Config.h.

#define ADO_DEFAULT_INITIAL_POOL_SIZE   4

This sets the default initial number of connections opened by a connection pool.

Definition at line 42 of file Config.h.

#define ADO_DEFAULT_MAX_IDLE_TIME   10

This sets the default maximum time that a connection can be in the pool without being used.

Definition at line 63 of file Config.h.

#define ADO_DEFAULT_MAX_POOL_SIZE   4

This sets the default maximum number of connections in the pool.

Definition at line 56 of file Config.h.

#define ADO_DEFAULT_MIN_POOL_SIZE   2

This sets the default minimum number of connections to be kept in the pool.

Definition at line 49 of file Config.h.

#define ADO_DEFAULT_PORT   "5432"

The default port used to connect to a PostgreSQL database server.

Definition at line 70 of file Config.h.

#define ADO_DRIVER_IDENTIFIER   "ADO"

The ADO driver identifier string.

Definition at line 91 of file Config.h.

Referenced by te::ado::DataSource::getType(), and te::ado::Module::shutdown().

#define ADO_PLUGIN_NAME   "te.da.ado"

The ADO plugin identifier string.

Definition at line 98 of file Config.h.

#define TE_ADO_TEXT_DOMAIN   "teado"

It contains the name of the text domain used in the translation of messages in TerraLib ADO driver implementation.

Definition at line 112 of file Config.h.

Referenced by te::ado::Module::startup().

#define TE_ADO_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 119 of file Config.h.

Referenced by te::ado::Module::startup().

#define TEADOEXPORT

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 TEADODLL into the project's list of defines.
If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEADOSTATIC flag into the project list of defines.

Definition at line 167 of file Config.h.

#define TR_ADO (   message)    TR(message, TE_ADO_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 126 of file Config.h.

Referenced by te::ado::Transactor::add(), te::ado::Transactor::addCheckConstraint(), te::ado::Transactor::addForeignKey(), te::ado::Transactor::addIndex(), te::ado::Transactor::addPrimaryKey(), te::ado::Transactor::addProperty(), te::ado::Transactor::addSequence(), te::ado::Transactor::addUniqueKey(), te::ado::Transactor::begin(), te::ado::Blob2Variant(), te::ado::Transactor::cloneDataSet(), te::ado::Transactor::commit(), te::ado::Connection::Connection(), te::ado::Convert2Ado(), te::ado::Convert2Terralib(), te::ado::DataSource::create(), te::ado::Transactor::createDataSet(), te::ado::DataSource::drop(), te::ado::Transactor::dropCheckConstraint(), te::ado::Transactor::dropDataSet(), te::ado::Transactor::dropForeignKey(), te::ado::Transactor::dropIndex(), te::ado::Transactor::dropPrimaryKey(), te::ado::Transactor::dropProperty(), te::ado::Transactor::dropSequence(), te::ado::Transactor::dropUniqueKey(), te::ado::Connection::execute(), te::ado::DataSet::getArray(), te::ado::Transactor::getBatchExecutor(), te::ado::DataSet::getBool(), te::ado::DataSet::getByteArray(), te::ado::DataSet::getChar(), te::ado::Transactor::getCheckConstraint(), te::ado::Transactor::getCheckConstraints(), te::ado::Transactor::getDataSet(), te::ado::DataSet::getDatasetNameOfProperty(), te::ado::Transactor::getDataSetNames(), te::ado::DataSet::getDateTime(), te::ado::GetDateTime(), te::ado::DataSet::getDouble(), te::ado::DataSet::getExtent(), te::ado::Transactor::getExtent(), te::ado::DataSet::getFloat(), te::ado::Transactor::getForeignKey(), te::ado::Transactor::getIndex(), te::ado::Transactor::getIndexes(), te::ado::DataSet::getInt16(), te::ado::DataSet::getInt32(), te::ado::DataSet::getInt64(), te::ado::Transactor::getLastGeneratedId(), te::ado::DataSet::getNumeric(), te::ado::Transactor::getPrepared(), te::ado::Transactor::getPrimaryKey(), te::ado::Transactor::getProperty(), te::ado::DataSet::getRaster(), te::ado::Transactor::getSequence(), te::ado::Transactor::getSequenceNames(), te::ado::GetSRID(), te::ado::DataSet::getString(), te::ado::GetType(), te::ado::Transactor::getUniqueKey(), te::ado::Transactor::getUniqueKeys(), te::ado::Transactor::insertIntoGeometryColumns(), te::ado::IsGeomProperty(), te::ado::DataSet::isNull(), te::ado::DataSource::loadGeometryColumnsCache(), te::ado::Transactor::propertyExists(), te::ado::Connection::query(), te::ado::Transactor::remove(), te::ado::Transactor::renameDataSet(), te::ado::Transactor::renameProperty(), te::ado::Transactor::rollBack(), te::ado::Transactor::sequenceExists(), te::ado::Module::shutdown(), te::ado::Module::startup(), and te::ado::Variant2Blob().

#define TR_PLURAL_ADO (   message1,
  message2,
 
)    TR_PLURAL(TE_ADO_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 ADO module of TerraLib.

Definition at line 133 of file Config.h.