Sqlite2Context Class Reference

SQLite2 module. More...

#include <sqlite2xx.hpp>

Inheritance diagram for Sqlite2Context:

SqlDatabase List of all members.

Public Member Functions

 Sqlite2Context (const string &dbName="")
 Constructor.
 ~Sqlite2Context ()
 Destructor.
void close ()
 Close connection.
string escapeString (const string &original) const
string version () const
 Version information.

Friends

SqlResult SqlQuery::operator() (const string &)

Detailed Description

SQLite2 module.

Definition at line 36 of file sqlite2xx.hpp.


Constructor & Destructor Documentation

Sqlite2Context::Sqlite2Context ( const string &  dbName = ""  ) 

Constructor.

Used to create a connection to a SQLite2 database.

Parameters:
dbName The path and filename of the database file.

Definition at line 33 of file sqlite2xx.cpp.

Sqlite2Context::~Sqlite2Context (  ) 

Destructor.

Definition at line 50 of file sqlite2xx.cpp.

References close().


Member Function Documentation

void Sqlite2Context::close (  )  [virtual]

Close connection.

This will close and clean up the database connection, including freeing memory. Note: It does not delete the SqlDatabase object itself.

Implements SqlDatabase.

Definition at line 55 of file sqlite2xx.cpp.

Referenced by ~Sqlite2Context().

string Sqlite2Context::escapeString ( const string &  original  )  const

Definition at line 64 of file sqlite2xx.cpp.

string Sqlite2Context::version (  )  const [virtual]

Version information.

Get the version information of the underlying API library, not the version of SqlWrapperXX.

Returns:
The version as a string.

Implements SqlDatabase.

Definition at line 78 of file sqlite2xx.cpp.


Friends And Related Function Documentation

SqlResult SqlQuery::operator() ( const string &   )  [friend]


The documentation for this class was generated from the following files:
Generated on Sat Aug 18 16:21:45 2007 for SqlWrapperXX by  doxygen 1.5.0