A class that control the use of the connection to a PostgreSQL database.
More...
#include <ScopedConnection.h>
A class that control the use of the connection to a PostgreSQL database.
This class control the use of the connection and release the connection to the connectionPool.
- See also
- Connection
Definition at line 48 of file ScopedConnection.h.
◆ ScopedConnection() [1/2]
te::pgis::ScopedConnection::ScopedConnection |
( |
ConnectionPool * |
pool, |
|
|
int |
id = -1 |
|
) |
| |
◆ ~ScopedConnection()
te::pgis::ScopedConnection::~ScopedConnection |
( |
| ) |
|
◆ ScopedConnection() [2/2]
◆ operator->()
Connection * te::pgis::ScopedConnection::operator-> |
( |
| ) |
const |
◆ operator=()
◆ release()
void te::pgis::ScopedConnection::release |
( |
| ) |
|
◆ m_connection
Connection* te::pgis::ScopedConnection::m_connection |
|
private |
An available connection that will be released when the scopedConnection is deleted.
Definition at line 72 of file ScopedConnection.h.
◆ m_connectionPool
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/postgis/ScopedConnection.h