All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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...
 
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 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 133 of file Config.h.