Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GraySQLite::cSQLiteBase Class Reference

#include <cSQLite.h>

Inheritance diagram for GraySQLite::cSQLiteBase:
Gray::cRefBase IUnknown GraySQLite::cSQLiteDb GraySQLite::cSQLiteStatement

Public Member Functions

 cSQLiteBase (::sqlite3 *pDB=nullptr)
 
virtual HRESULT FillException (cSQLException *pException=nullptr)
 
 IUNKNOWN_DISAMBIG (SUPER_t)
 
- Public Member Functions inherited from Gray::cRefBase
 cRefBase (int iRefCount=0) noexcept
 
virtual ~cRefBase ()
 
int get_RefCount () const noexcept
 
HASHCODE_t get_HashCode () const noexcept
 
 STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept
 
virtual void onFinalRelease ()
 
bool isValidObj () const noexcept
 
 STDMETHOD_ (ULONG, AddRef)(void) override
 
 STDMETHOD_ (ULONG, Release)(void) override
 
STDMETHOD() QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override
 
void IncRefCount ()
 
void DecRefCount ()
 
bool isStaticConstruct () const noexcept
 
void StaticConstruct ()
 
void StaticDestruct ()
 
bool isDestructing () noexcept
 
void SetDestructing ()
 

Public Attributes

::sqlite3m_pDB
 Pointer to the native DB provider / connection. More...
 
int m_nNativeError
 should be 'int' or SQL_RETURN_t ? SQLITE_OK, SQLITE_EMPTY More...
 

Protected Member Functions

HRESULT ThrowOnError ()
 

Detailed Description

Assume SQLite version >= X.

Constructor & Destructor Documentation

◆ cSQLiteBase()

GraySQLite::cSQLiteBase::cSQLiteBase ( ::sqlite3 pDB = nullptr)
inline

Member Function Documentation

◆ FillException()

HRESULT GraySQLite::cSQLiteBase::FillException ( cSQLException pException = nullptr)
virtual

◆ IUNKNOWN_DISAMBIG()

GraySQLite::cSQLiteBase::IUNKNOWN_DISAMBIG ( SUPER_t  )

◆ ThrowOnError()

HRESULT GraySQLite::cSQLiteBase::ThrowOnError ( )
protected

Member Data Documentation

◆ m_nNativeError

int GraySQLite::cSQLiteBase::m_nNativeError

should be 'int' or SQL_RETURN_t ? SQLITE_OK, SQLITE_EMPTY

◆ m_pDB

::sqlite3* GraySQLite::cSQLiteBase::m_pDB

Pointer to the native DB provider / connection.


The documentation for this class was generated from the following files: