Config.h File Reference

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

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

#define ADO_DEFAULT_CONNECT_TIMEOUT   "4"

The default maximum wait for connection, in seconds.

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

#define ADO_DEFAULT_PORT   "5432"

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

Definition at line 67 of file Config.h.

#define ADO_DRIVER_IDENTIFIER   "ADO"

The ADO driver identifier string.

Definition at line 88 of file Config.h.

#define ADO_PLUGIN_NAME   "te.da.ado"

The ADO plugin identifier string.

Definition at line 95 of file Config.h.

#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 130 of file Config.h.