DDraceNetwork Docs
sqlite.h File Reference
#include <memory>
Include dependency graph for sqlite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CSqliteDeleter
 
class  CSqliteStmtDeleter
 

Macros

#define SQLITE_HANDLE_ERROR(x)   SqliteHandleError(pConsole, x, &*pSqlite, #x)
 

Typedefs

typedef std::unique_ptr< sqlite3, CSqliteDeleterCSqlite
 
typedef std::unique_ptr< sqlite3_stmt, CSqliteStmtDeleterCSqliteStmt
 

Functions

int SqliteHandleError (IConsole *pConsole, int Error, sqlite3 *pSqlite, const char *pContext)
 
CSqlite SqliteOpen (IConsole *pConsole, IStorage *pStorage, const char *pPath)
 
CSqliteStmt SqlitePrepare (IConsole *pConsole, sqlite3 *pSqlite, const char *pStatement)
 

Macro Definition Documentation

◆ SQLITE_HANDLE_ERROR

#define SQLITE_HANDLE_ERROR (   x)    SqliteHandleError(pConsole, x, &*pSqlite, #x)

Typedef Documentation

◆ CSqlite

typedef std::unique_ptr<sqlite3, CSqliteDeleter> CSqlite

◆ CSqliteStmt

typedef std::unique_ptr<sqlite3_stmt, CSqliteStmtDeleter> CSqliteStmt

Function Documentation

◆ SqliteHandleError()

int SqliteHandleError ( IConsole pConsole,
int  Error,
sqlite3 *  pSqlite,
const char *  pContext 
)

◆ SqliteOpen()

CSqlite SqliteOpen ( IConsole pConsole,
IStorage pStorage,
const char *  pPath 
)

◆ SqlitePrepare()

CSqliteStmt SqlitePrepare ( IConsole pConsole,
sqlite3 *  pSqlite,
const char *  pStatement 
)