| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions
TeDBConnectionsPool Class Reference

`#include <TeDBConnectionsPool.h>`

Inheritance diagram for TeDBConnectionsPool:

List of all members.

## Public Member Functions

| ~TeDBConnectionsPool ()
TeDatabase * | getDatabase (std::string &dbmsName, std::string &dbName, std::string &host, std::string &user, std::string &passwd, int &portNumber)
TeDatabase * | getDatabase (const int &dbIdx)
int | getDatabaseIdx (TeDatabase *db)
void | clear ()
void | saveExternalDBConnection (TeDatabase *mainDb, TeDatabase *externalDb)
void | loadExternalDBConnections (TeDatabase *mainDb)
void | deleteExternalDBConnection (TeDatabase *mainDb, const int &externalDbId)
std::vector< int > | getConnectionsIdVector ()
bool | getConnectionInfo (TeDatabase *mainDb, const int &connId, std::string &hostName, std::string &dbmsName, std::string &dbName, std::string &userName, std::string &password, int &port)

## Static Public Member Functions

static void | createDBConnectionTable (TeDatabase *db)

## Constructor & Destructor Documentation

TeDBConnectionsPool::~TeDBConnectionsPool | ( |  | ) |

## Member Function Documentation

void TeDBConnectionsPool::clear | ( |  | ) |

void TeDBConnectionsPool::createDBConnectionTable | ( | TeDatabase * | db | ) | `[static]`

void TeDBConnectionsPool::deleteExternalDBConnection | ( | TeDatabase * | mainDb,
|  | const int & | externalDbId
| ) |  |

bool TeDBConnectionsPool::getConnectionInfo | ( | TeDatabase * | mainDb,
|  | const int & | connId,
|  | std::string & | hostName,
|  | std::string & | dbmsName,
|  | std::string & | dbName,
|  | std::string & | userName,
|  | std::string & | password,
|  | int & | port
| ) |  |

std::vector< int > TeDBConnectionsPool::getConnectionsIdVector | ( |  | ) |

TeDatabase * TeDBConnectionsPool::getDatabase | ( | const int & | dbIdx | ) |

TeDatabase * TeDBConnectionsPool::getDatabase | ( | std::string & | dbmsName,
|  | std::string & | dbName,
|  | std::string & | host,
|  | std::string & | user,
|  | std::string & | passwd,
|  | int & | portNumber
| ) |  |

int TeDBConnectionsPool::getDatabaseIdx | ( | TeDatabase * | db | ) |

void TeDBConnectionsPool::loadExternalDBConnections | ( | TeDatabase * | mainDb | ) |

void TeDBConnectionsPool::saveExternalDBConnection | ( | TeDatabase * | mainDb,
|  | TeDatabase * | externalDb
| ) |  |

The documentation for this class was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeDBConnectionsPool.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeDBConnectionsPool.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines