![]() |
DDraceNetwork Documentation
|
Public Member Functions | |
| CSqliteConnection (const char *pFilename, bool Setup) | |
| ~CSqliteConnection () override | |
| void | Print (IConsole *pConsole, const char *pMode) override |
| const char * | BinaryCollate () const override |
| void | ToUnixTimestamp (const char *pTimestamp, char *aBuf, unsigned int BufferSize) override |
| const char * | InsertTimestampAsUtc () const override |
| const char * | CollateNocase () const override |
| const char * | InsertIgnore () const override |
| const char * | Random () const override |
| const char * | MedianMapTime (char *pBuffer, int BufferSize) const override |
| const char * | False () const override |
| const char * | True () const override |
| bool | Connect (char *pError, int ErrorSize) override |
| void | Disconnect () override |
| bool | PrepareStatement (const char *pStmt, char *pError, int ErrorSize) override |
| void | BindString (int Idx, const char *pString) override |
| void | BindBlob (int Idx, unsigned char *pBlob, int Size) override |
| void | BindInt (int Idx, int Value) override |
| void | BindInt64 (int Idx, int64_t Value) override |
| void | BindFloat (int Idx, float Value) override |
| void | BindNull (int Idx) override |
| void | Print () override |
| bool | Step (bool *pEnd, char *pError, int ErrorSize) override |
| bool | ExecuteUpdate (int *pNumUpdated, char *pError, int ErrorSize) override |
| bool | IsNull (int Col) override |
| float | GetFloat (int Col) override |
| int | GetInt (int Col) override |
| int64_t | GetInt64 (int Col) override |
| void | GetString (int Col, char *pBuffer, int BufferSize) override |
| int | GetBlob (int Col, unsigned char *pBuffer, int BufferSize) override |
| bool | AddPoints (const char *pPlayer, int Points, char *pError, int ErrorSize) override |
| bool | CreateFailsafeTables () |
| Public Member Functions inherited from IDbConnection | |
| IDbConnection (const char *pPrefix) | |
| virtual | ~IDbConnection ()=default |
| IDbConnection & | operator= (const IDbConnection &)=delete |
| const char * | GetPrefix () const |
Private Member Functions | |
| bool | Execute (const char *pQuery, char *pError, int ErrorSize) |
| bool | ConnectImpl (char *pError, int ErrorSize) |
| bool | FormatError (int Result, char *pError, int ErrorSize) |
| void | AssertNoError (int Result) |
Private Attributes | |
| char | m_aFilename [IO_MAX_PATH_LENGTH] |
| bool | m_Setup |
| sqlite3 * | m_pDb |
| sqlite3_stmt * | m_pStmt |
| bool | m_Done |
| std::atomic_bool | m_InUse |
Additional Inherited Members | |
| Protected Member Functions inherited from IDbConnection | |
| void | FormatCreateRace (char *aBuf, unsigned int BufferSize, bool Backup) const |
| void | FormatCreateTeamrace (char *aBuf, unsigned int BufferSize, const char *pIdType, bool Backup) const |
| void | FormatCreateMaps (char *aBuf, unsigned int BufferSize) const |
| void | FormatCreateSaves (char *aBuf, unsigned int BufferSize, bool Backup) const |
| void | FormatCreatePoints (char *aBuf, unsigned int BufferSize) const |
| CSqliteConnection::CSqliteConnection | ( | const char * | pFilename, |
| bool | Setup ) |
|
override |
|
overridevirtual |
Implements IDbConnection.
|
private |
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
private |
| bool CSqliteConnection::CreateFailsafeTables | ( | ) |
|
overridevirtual |
Implements IDbConnection.
|
private |
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
private |
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
overridevirtual |
Implements IDbConnection.
|
inlineoverridevirtual |
Implements IDbConnection.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |