![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cSQLite.h>
Public Member Functions | |
cSQLiteDb (const FILECHAR_t *fileName) | |
virtual | ~cSQLiteDb () |
virtual HRESULT | OpenConnect (const cSQLConnectionString &rConnectionString, INT_PTR hParentWnd) override |
virtual HRESULT | ReadConfigDB (OUT cSQLConfigDB &cfg) override |
virtual bool | Disconnect () override |
cSQLiteStatementPtr | Query (const GChar_t *queryStr) |
virtual ISQLStatement * | AllocISQLStatement (const cSQLCmd &oCmd) override |
HRESULT | BeginTransaction () |
virtual HRESULT | EndTransaction (bool bCommit) override |
bool | TableExists (const GChar_t *tableName) |
sqlite3_int64 | LastId () |
IUNKNOWN_DISAMBIG (SUPER_t) | |
virtual HRESULT | FillException (cSQLException *pException=nullptr) override |
![]() | |
cSQLiteBase (::sqlite3 *pDB=nullptr) | |
IUNKNOWN_DISAMBIG (SUPER_t) | |
![]() | |
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 () |
Protected Member Functions | |
cSQLiteStatement * | QueryInternal (const GChar_t *queryStr) |
![]() | |
HRESULT | ThrowOnError () |
Additional Inherited Members | |
![]() | |
::sqlite3 * | m_pDB |
Pointer to the native DB provider / connection. More... | |
int | m_nNativeError |
should be 'int' or SQL_RETURN_t ? SQLITE_OK, SQLITE_EMPTY More... | |
GraySQLite::cSQLiteDb::cSQLiteDb | ( | const FILECHAR_t * | fileName | ) |
|
virtual |
|
overridevirtual |
Assume someone will call this with a cSQLiteStatementPtr or something that will deal with the ref count. Assume MakeCommand already called !
|
inline |
|
overridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Reimplemented from GraySQLite::cSQLiteBase.
GraySQLite::cSQLiteDb::IUNKNOWN_DISAMBIG | ( | SUPER_t | ) |
sqlite3_int64 GraySQLite::cSQLiteDb::LastId | ( | ) |
|
overridevirtual |
|
inline |
|
protected |
|
overridevirtual |
ISQLDatabase
bool GraySQLite::cSQLiteDb::TableExists | ( | const GChar_t * | tableName | ) |