All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HSEPDataSqLite Namespace Reference

HausmiSEP implementation for a Data Driver with access to an embedded SqLite database. More...

Classes

class  SqLiteResultSet
 SqLite DBResultSet implementation. More...
 
class  SqLiteStatement
 SqLite DBStatement implementation. More...
 
class  SqLiteEnvironment
 SqLite DBEnvironment implementation. More...
 
class  RAII_mutex
 RAII Wrapper for a sqlite3_db_mutex. More...
 
struct  SQLResultValue
 Generic result type for sqLite. More...
 
struct  SQLResultValue_Int
 Particular result type as an intenger. More...
 
struct  SQLResultValue_String
 Particular result type as a string. More...
 
struct  SQLResultData
 
class  SQLiteHeap
 SqLite has the capacity of using the program heap or its particular heap for every dynamic operation. More...
 

Typedefs

typedef Array< SQLResultValueSQLResultRow
 
typedef Array< SQLResultRowSQLResultTable
 

Functions

string SqLiteWhatMethod (string &pMessageRef, exception *pExceptionPtr)
 
void feedMetadata (sqlite3_stmt *pStatement, SQLResultData *pResultData)
 
void feedData (sqlite3_stmt *pStatement, SQLResultData *pResultData)
 
void feedParameters (sqlite3_stmt *pStatement, DBParameters &pParametersRef)
 

Variables

const DBType DBT_SQL2BW [] = {DBT_Null,DBT_Number,DBT_Float,DBT_String,DBT_Binary,DBT_Null}
 

Detailed Description

HausmiSEP implementation for a Data Driver with access to an embedded SqLite database.

It is provided for general usage and as an example to create more database access drivers.

Take into consideration how the driver is used as an opaque type for not to expose the internal implementation.

Typedef Documentation

Todo:
To include more result returning types covering all SQLite types

Definition at line 114 of file DBSqLite.cpp.

Definition at line 115 of file DBSqLite.cpp.

Function Documentation

void HSEPDataSqLite::feedData ( sqlite3_stmt *  pStatement,
SQLResultData *  pResultData 
)
Todo:
To include remaining data types

Definition at line 326 of file DBSqLite.cpp.

References HSEPData::DBMetadataField::aColumnType, HSEPDataSqLite::SQLResultData::aMetadata, HSEPData::DBT_Number, HSEPData::DBT_String, HSEP::Array< T >::forEach(), and HSEP::Array< T >::push().

Referenced by HSEPDataSqLite::SqLiteStatement::executeQueryPtr().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void HSEPDataSqLite::feedMetadata ( sqlite3_stmt *  pStatement,
SQLResultData *  pResultData 
)
void HSEPDataSqLite::feedParameters ( sqlite3_stmt *  pStatement,
DBParameters pParametersRef 
)
Todo:
To include remaining data types

Definition at line 382 of file DBSqLite.cpp.

References HSEPData::DBT_Number, and HSEPData::DBT_String.

Referenced by HSEPDataSqLite::SqLiteStatement::executeQueryPtr().

+ Here is the caller graph for this function:

string HSEPDataSqLite::SqLiteWhatMethod ( string &  pMessageRef,
exception *  pExceptionPtr 
)

Variable Documentation

const DBType HSEPDataSqLite::DBT_SQL2BW[] = {DBT_Null,DBT_Number,DBT_Float,DBT_String,DBT_Binary,DBT_Null}

Definition at line 306 of file DBSqLite.cpp.

Referenced by feedMetadata().