VTK
|
internal details of a connection to a PostgreSQL database More...
#include <vtkPostgreSQLDatabasePrivate.h>
Public Member Functions | |
vtkPostgreSQLDatabasePrivate () | |
int | GetVTKTypeFromOID (Oid pgtype) |
virtual | ~vtkPostgreSQLDatabasePrivate () |
Public Attributes | |
PGconn * | Connection |
vtksys_stl::map< Oid, int > | DataTypeMap |
internal details of a connection to a PostgreSQL database
This class does two things. First, it holds the (pointer to the) PGconn struct that represents an actual database connection. Second, it holds a map from Postgres data types as they exist in the database to VTK data types.
You should never have to deal with this class outside of vtkPostgreSQLDatabase and vtkPostgreSQLQuery.
Definition at line 46 of file vtkPostgreSQLDatabasePrivate.h.
Definition at line 49 of file vtkPostgreSQLDatabasePrivate.h.
virtual vtkPostgreSQLDatabasePrivate::~vtkPostgreSQLDatabasePrivate | ( | ) | [inline, virtual] |
Destroy the database connection. Any uncommitted transaction will be aborted.
Definition at line 57 of file vtkPostgreSQLDatabasePrivate.h.
int vtkPostgreSQLDatabasePrivate::GetVTKTypeFromOID | ( | Oid | pgtype | ) | [inline] |
Definition at line 67 of file vtkPostgreSQLDatabasePrivate.h.
Definition at line 81 of file vtkPostgreSQLDatabasePrivate.h.
vtksys_stl::map<Oid,int> vtkPostgreSQLDatabasePrivate::DataTypeMap |
Definition at line 84 of file vtkPostgreSQLDatabasePrivate.h.