$search

database_interface::PostgresqlDatabase::PGresultAutoPtr Class Reference

List of all members.

Public Member Functions

PGresult * operator* ()
 PGresultAutoPtr (PGresult *ptr)
void reset (PGresult *ptr)
 ~PGresultAutoPtr ()

Private Attributes

PGresult * result_

Detailed Description

A little helper class to behave much like an auto ptr for the PGresult, except that instead of deleting it when it goes out of scope, it calls PQclear() on it.

Definition at line 51 of file postgresql_database.cpp.


Constructor & Destructor Documentation

database_interface::PostgresqlDatabase::PGresultAutoPtr::PGresultAutoPtr ( PGresult *  ptr  )  [inline]

Definition at line 56 of file postgresql_database.cpp.

database_interface::PostgresqlDatabase::PGresultAutoPtr::~PGresultAutoPtr (  )  [inline]

Definition at line 57 of file postgresql_database.cpp.


Member Function Documentation

PGresult* database_interface::PostgresqlDatabase::PGresultAutoPtr::operator* (  )  [inline]

Definition at line 59 of file postgresql_database.cpp.

void database_interface::PostgresqlDatabase::PGresultAutoPtr::reset ( PGresult *  ptr  )  [inline]

Definition at line 58 of file postgresql_database.cpp.


Member Data Documentation

Definition at line 54 of file postgresql_database.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


database_interface
Author(s): Matei Ciocarlie and Lorenz Mosenlechner
autogenerated on Wed Jan 16 12:14:42 2013