Config.h File Reference

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

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...
 
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 TERRALIB4_DEFAULT_CLIENT_ENCODING   "UTF8"

The default client encoding when talking with the database.

Definition at line 74 of file Config.h.

#define TERRALIB4_DEFAULT_CONNECT_TIMEOUT   "4"

The default maximum wait for connection, in seconds.

Definition at line 67 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 39 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 60 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 53 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 46 of file Config.h.

#define TERRALIB4_DRIVER_IDENTIFIER   "TERRALIB4"

The Terralib 4 driver identifier string.

Definition at line 81 of file Config.h.

#define TERRALIB4_PLUGIN_NAME   "te.da.terralib4"

The ADO plugin identifier string.

Definition at line 88 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 123 of file Config.h.