All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DBSqLite.cpp File Reference
#include <HSEPDataDrvSqLite/DBSqLite.h>
#include <HSEPData/DBBase.h>
#include <HSEP/Array.h>
#include <HSEP/Dictionary.h>
#include <iostream>
#include <sqlite3.h>
#include <stdio.h>
+ Include dependency graph for DBSqLite.cpp:

Go to the source code of this file.

Classes

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

Namespaces

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

Macros

#define SQLITE_HEAP_SIZE   102400
 The engine heap has been defined as 100 kilobytes.
 

Typedefs

typedef Array< SQLResultValue > HSEPDataSqLite::SQLResultRow
 
typedef Array< SQLResultRow > HSEPDataSqLite::SQLResultTable
 

Functions

string HSEPDataSqLite::SqLiteWhatMethod (string &pMessageRef, exception *pExceptionPtr)
 
void HSEPDataSqLite::feedMetadata (sqlite3_stmt *pStatement, SQLResultData *pResultData)
 
void HSEPDataSqLite::feedData (sqlite3_stmt *pStatement, SQLResultData *pResultData)
 
void HSEPDataSqLite::feedParameters (sqlite3_stmt *pStatement, DBParameters &pParametersRef)
 
HSEPData::DBEnvironmentcreateEnvironment ()
 Entry point to create a DB session.
 
void driverInfo (string &pInfo)
 Entry point to obtain the driver internal information.
 

Variables

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

Macro Definition Documentation

#define SQLITE_HEAP_SIZE   102400

The engine heap has been defined as 100 kilobytes.

Definition at line 507 of file DBSqLite.cpp.

Referenced by HSEPDataSqLite::SQLiteHeap::SQLiteHeap(), and HSEPDataSqLite::SQLiteHeap::~SQLiteHeap().

Function Documentation

HSEPData::DBEnvironment* createEnvironment ( )

Entry point to create a DB session.

Returns
A ponter to a sesion variable (HSEPData::DBEnvironment*)

Definition at line 556 of file DBSqLite.cpp.

void driverInfo ( string &  pInfo)

Entry point to obtain the driver internal information.

Parameters
pInfo

Definition at line 564 of file DBSqLite.cpp.

Referenced by HSEP::DriverLib< Type >::DriverLib().

+ Here is the caller graph for this function: