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

Configuration flags for the TerraLib 4 driver. More...

#include "../Config.h"

Go to the source code of this file.

Macros

General Defines

Configuring Terralib 4 support.

#define TERRALIB4_DEFAULT_INITIAL_POOL_SIZE   4
 This sets the default initial number of connections opened by a connection pool. More...
 
#define TERRALIB4_DEFAULT_MIN_POOL_SIZE   2
 This sets the default minimum number of connections to be kept in the pool. More...
 
#define TERRALIB4_DEFAULT_MAX_POOL_SIZE   4
 This sets the default maximum number of connections in the pool. More...
 
#define TERRALIB4_DEFAULT_MAX_IDLE_TIME   10
 This sets the default maximum time that a connection can be in the pool without being used. More...
 
#define TERRALIB4_DEFAULT_CONNECT_TIMEOUT   "4"
 The default maximum wait for connection, in seconds. More...
 
#define TERRALIB4_DEFAULT_CLIENT_ENCODING   "UTF8"
 The default client encoding when talking with the database. More...
 
#define TERRALIB4_DRIVER_IDENTIFIER   "TERRALIB4"
 The Terralib 4 driver identifier string. More...
 
#define TERRALIB4_PLUGIN_NAME   "te.da.terralib4"
 The ADO plugin identifier string. More...
 
Internationalization Defines

Flags for TerraLib code internationalization.

#define TE_TERRALIB4_TEXT_DOMAIN   "teterralib4"
 It contains the name of the text domain used in the translation of messages in TerraLib 4 driver implementation. More...
 
#define TE_TERRALIB4_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TR_TERRALIB4(message)   TR(message, TE_TERRALIB4_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_TERRALIB4(message1, message2, n)   TR_PLURAL(TE_TERRALIB4_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 Terralib 4 module of TerraLib. More...
 
DLL/LIB Module

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

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

Detailed Description

Configuration flags for the TerraLib 4 driver.

Definition in file Config.h.

Macro Definition Documentation

#define TE_TERRALIB4_TEXT_DOMAIN   "teterralib4"

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

Definition at line 105 of file Config.h.

Referenced by terralib4::Module::startup().

#define TE_TERRALIB4_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 112 of file Config.h.

Referenced by terralib4::Module::startup().

#define TERRALIB4_DEFAULT_CLIENT_ENCODING   "UTF8"

The default client encoding when talking with the database.

Definition at line 77 of file Config.h.

#define TERRALIB4_DEFAULT_CONNECT_TIMEOUT   "4"

The default maximum wait for connection, in seconds.

Definition at line 70 of file Config.h.

#define TERRALIB4_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 TERRALIB4_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 TERRALIB4_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 TERRALIB4_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 TERRALIB4_DRIVER_IDENTIFIER   "TERRALIB4"

The Terralib 4 driver identifier string.

Definition at line 84 of file Config.h.

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

#define TERRALIB4_PLUGIN_NAME   "te.da.terralib4"

The ADO plugin identifier string.

Definition at line 91 of file Config.h.

#define TETERRALIB4EXPORT

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 TETERRALIB4DLL 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 160 of file Config.h.

#define TR_PLURAL_TERRALIB4 (   message1,
  message2,
 
)    TR_PLURAL(TE_TERRALIB4_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 Terralib 4 module of TerraLib.

Definition at line 126 of file Config.h.

#define TR_TERRALIB4 (   message)    TR(message, TE_TERRALIB4_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 119 of file Config.h.

Referenced by terralib4::Transactor::add(), terralib4::Transactor::addCheckConstraint(), terralib4::Transactor::addForeignKey(), terralib4::Transactor::addIndex(), terralib4::Transactor::addPrimaryKey(), terralib4::Transactor::addProperty(), terralib4::Transactor::addSequence(), terralib4::Transactor::addUniqueKey(), terralib4::Transactor::checkConstraintExists(), terralib4::Raster::clone(), terralib4::Transactor::cloneDataSet(), terralib4::DataSource::create(), terralib4::Transactor::createDataSet(), terralib4::DataSource::drop(), terralib4::Transactor::dropCheckConstraint(), terralib4::Transactor::dropDataSet(), terralib4::Transactor::dropForeignKey(), terralib4::Transactor::dropIndex(), terralib4::Transactor::dropPrimaryKey(), terralib4::Transactor::dropSequence(), terralib4::Transactor::dropUniqueKey(), terralib4::Transactor::escape(), terralib4::Transactor::execute(), terralib4::Transactor::foreignKeyExists(), terralib4::RasterDataSet::getArray(), terralib4::Transactor::getBatchExecutor(), terralib4::RasterDataSet::getBool(), terralib4::RasterDataSet::getByteArray(), terralib4::RasterDataSet::getChar(), terralib4::Transactor::getCheckConstraint(), terralib4::Transactor::getCheckConstraintNames(), terralib4::Transactor::getDataSet(), terralib4::RasterDataSet::getDateTime(), terralib4::RasterDataSet::getDouble(), terralib4::Transactor::getExtent(), terralib4::RasterDataSet::getFloat(), terralib4::Transactor::getForeignKey(), terralib4::Transactor::getForeignKeyNames(), terralib4::GeomReader::getGeometry(), terralib4::RasterDataSet::getGeometry(), terralib4::Transactor::getIndex(), terralib4::Transactor::getIndexNames(), terralib4::RasterDataSet::getInt16(), terralib4::RasterDataSet::getInt32(), terralib4::RasterDataSet::getInt64(), terralib4::Transactor::getLastGeneratedId(), terralib4::Transactor::getNumberOfItems(), terralib4::RasterDataSet::getNumeric(), terralib4::Transactor::getPrepared(), terralib4::Transactor::getProperty(), terralib4::Transactor::getSequence(), terralib4::Transactor::getSequenceNames(), terralib4::RasterDataSet::getString(), terralib4::RasterDataSet::getUChar(), terralib4::Transactor::getUniqueKey(), terralib4::Transactor::getUniqueKeyNames(), terralib4::Transactor::hasDataSets(), terralib4::Transactor::indexExists(), terralib4::Transactor::isDataSetNameValid(), terralib4::Transactor::isPropertyNameValid(), terralib4::Raster::open(), terralib4::DataSource::open(), terralib4::Transactor::optimize(), terralib4::Transactor::query(), terralib4::Raster::Raster(), terralib4::Transactor::remove(), terralib4::Transactor::renameDataSet(), terralib4::Transactor::renameProperty(), terralib4::Transactor::sequenceExists(), terralib4::Band::setIValue(), terralib4::Band::setValue(), terralib4::Module::shutdown(), terralib4::Module::startup(), terralib4::Transactor::uniqueKeyExists(), terralib4::Transactor::update(), and terralib4::Band::write().