Kexi API Documentation (2.0 alpha)

KexiDB::SQLiteConnectionInternal Class Reference

#include <sqliteconnection_p.h>

Inheritance diagram for KexiDB::SQLiteConnectionInternal:

KexiDB::ConnectionInternal KexiDB::SQLitePreparedStatement List of all members.

Detailed Description

Internal SQLite connection data. Also used inside SQLiteCursor.

Definition at line 50 of file sqliteconnection_p.h.

Public Member Functions

 SQLiteConnectionInternal (Connection *connection)
virtual ~SQLiteConnectionInternal ()
virtual void storeResult ()
 stores last result's message

Public Attributes

sqlite_structdata
bool data_owned
 true if data pointer should be freed on destruction
QString errmsg
char * errmsg_p
int res
QCString temp_st


Constructor & Destructor Documentation

SQLiteConnectionInternal::SQLiteConnectionInternal Connection connection  ) 
 

Definition at line 49 of file sqliteconnection.cpp.

SQLiteConnectionInternal::~SQLiteConnectionInternal  )  [virtual]
 

Definition at line 62 of file sqliteconnection.cpp.

References data, and data_owned.


Member Function Documentation

void SQLiteConnectionInternal::storeResult  )  [virtual]
 

stores last result's message

Implements KexiDB::ConnectionInternal.

Definition at line 74 of file sqliteconnection.cpp.

References data, errmsg, errmsg_p, res, sqlite_free, and SQLITE_OK.

Referenced by KexiDB::SQLiteConnection::drv_createDatabase(), KexiDB::SQLiteConnection::drv_executeSQL(), and KexiDB::SQLiteConnection::drv_useDatabase().


Member Data Documentation

sqlite_struct* KexiDB::SQLiteConnectionInternal::data
 

Definition at line 59 of file sqliteconnection_p.h.

Referenced by KexiDB::SQLiteConnection::drv_closeDatabase(), KexiDB::SQLiteConnection::drv_createDatabase(), KexiDB::SQLiteConnection::drv_executeSQL(), KexiDB::SQLiteConnection::drv_lastInsertRowID(), KexiDB::SQLiteConnection::drv_useDatabase(), KexiDB::SQLiteConnection::isReadOnly(), KexiDB::SQLitePreparedStatement::SQLitePreparedStatement(), storeResult(), and ~SQLiteConnectionInternal().

bool KexiDB::SQLiteConnectionInternal::data_owned
 

true if data pointer should be freed on destruction

Definition at line 60 of file sqliteconnection_p.h.

Referenced by KexiDB::SQLitePreparedStatement::SQLitePreparedStatement(), and ~SQLiteConnectionInternal().

QString KexiDB::SQLiteConnectionInternal::errmsg
 

Definition at line 61 of file sqliteconnection_p.h.

Referenced by KexiDB::SQLiteConnection::serverErrorMsg(), and storeResult().

char* KexiDB::SQLiteConnectionInternal::errmsg_p
 

Definition at line 62 of file sqliteconnection_p.h.

Referenced by KexiDB::SQLiteConnection::drv_clearServerResult(), KexiDB::SQLiteConnection::drv_createDatabase(), KexiDB::SQLiteConnection::drv_executeSQL(), KexiDB::SQLiteConnection::drv_useDatabase(), and storeResult().

int KexiDB::SQLiteConnectionInternal::res
 

Definition at line 63 of file sqliteconnection_p.h.

Referenced by KexiDB::SQLiteConnection::drv_clearServerResult(), KexiDB::SQLiteConnection::drv_executeSQL(), KexiDB::SQLiteConnection::drv_useDatabase(), KexiDB::SQLitePreparedStatement::execute(), KexiDB::SQLiteConnection::serverResult(), KexiDB::SQLiteConnection::serverResultName(), KexiDB::SQLitePreparedStatement::SQLitePreparedStatement(), and storeResult().

QCString KexiDB::SQLiteConnectionInternal::temp_st
 

Definition at line 65 of file sqliteconnection_p.h.

Referenced by KexiDB::SQLiteConnection::drv_executeSQL(), and KexiDB::SQLitePreparedStatement::SQLitePreparedStatement().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:43 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003