#include <TdkPostgreSQLConDescriptor.h>
Inheritance diagram for TdkPostgreSQLConDescriptor:

Public Member Functions | |
| TdkPostgreSQLConDescriptor (const TdkPostgreSQLConDescriptor &desc) | |
| Copy construtor. | |
| virtual TdkConDescriptor * | copy () const |
| Copy constructor. | |
| TdkPostgreSQLConDescriptor (const std::string hostId, const std::string userName, const std::string userPasswd, const std::string databaseName, bool postgis=false) | |
| Constructor. | |
| ~TdkPostgreSQLConDescriptor () | |
| Destructor. | |
| bool | usingPostGIS () const |
| Returns whether the PostGIS extension is being used. | |
| virtual TeDatabase * | createDatabaseConnection () const |
| Creates a TdkPostgreSQLImpl database driver. | |
Protected Attributes | |
| bool | postgis_ |
| Flag indicating whether PostGIS extension should be used. | |
Static Private Attributes | |
| static const int | _DEFAULT_PORT_NUMBER = 5432 |
| TdkPostgreSQLConDescriptor::TdkPostgreSQLConDescriptor | ( | const TdkPostgreSQLConDescriptor & | desc | ) |
Copy construtor.
| desc | The object descriptor that will be copied. |
| TdkPostgreSQLConDescriptor::TdkPostgreSQLConDescriptor | ( | const std::string | hostId, | |
| const std::string | userName, | |||
| const std::string | userPasswd, | |||
| const std::string | databaseName, | |||
| bool | postgis = false | |||
| ) |
Constructor.
| host_id | Host name. | |
| user_name | User name. | |
| user_passwd | User password. | |
| database_name | Database name. | |
| postgis | Indicates whether the PostGIS Extension should be used. |
| TdkPostgreSQLConDescriptor::~TdkPostgreSQLConDescriptor | ( | ) |
Destructor.
| TdkConDescriptor * TdkPostgreSQLConDescriptor::copy | ( | ) | const [virtual] |
| bool TdkPostgreSQLConDescriptor::usingPostGIS | ( | ) | const |
Returns whether the PostGIS extension is being used.
| TeDatabase * TdkPostgreSQLConDescriptor::createDatabaseConnection | ( | ) | const [virtual] |
bool TdkPostgreSQLConDescriptor::postgis_ [protected] |
Flag indicating whether PostGIS extension should be used.
const int TdkPostgreSQLConDescriptor::_DEFAULT_PORT_NUMBER = 5432 [static, private] |
1.5.2