My Project
SallyAPI::Database::CDatabaseConnection Class Reference

Database connection. More...

#include <DatabaseConnection.h>

List of all members.

Public Member Functions

int GetConnectedThreads ()
 Gets the connected threads.
CStatementCreateStatement ()
 Creates the statement.
CDatabaseMetaDataGetDatabaseMetaData ()
 Gets the database meta data.
void RefreshMetaData ()
 Refresh meta data.
void LockDatabase ()
 Locks the database.
void ReleaseDatabase ()
 Releases a database.

Static Public Member Functions

static
SallyAPI::Database::CDatabaseConnection
Open (const std::string &file)
 Opens the given file.
static void Close (const std::string &file)
 Closes the given file.
static void Init ()
 Initialises this object.
static void Destroy ()
 Destroys this object.

Detailed Description

Database connection.

Author:
Christian Knobloch
Date:
19.04.2010

Member Function Documentation

void CDatabaseConnection::Close ( const std::string &  file) [static]

Closes the given file.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
fileThe file.

Creates the statement.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
null if it fails, else.
void CDatabaseConnection::Destroy ( ) [static]

Destroys this object.

Author:
Christian Knobloch
Date:
19.04.2010

Gets the connected threads.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The connected threads.

Gets the database meta data.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
null if it fails, else the database meta data.
void CDatabaseConnection::Init ( ) [static]

Initialises this object.

Author:
Christian Knobloch
Date:
19.04.2010

Locks the database.

Author:
Christian Knobloch
Date:
19.04.2010
SallyAPI::Database::CDatabaseConnection * CDatabaseConnection::Open ( const std::string &  file) [static]

Opens the given file.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
fileThe file.
Returns:
null if it fails, else.

Refresh meta data.

Author:
Christian Knobloch
Date:
19.04.2010
Exceptions:
CSQLExceptionThrown when csql.

Releases a database.

Author:
Christian Knobloch
Date:
19.04.2010

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