SourceMod SDK  1.7
IDBDriver.h File Reference

Defines interfaces for interacting with relational databases. More...

#include <IShareSys.h>
#include <IHandleSys.h>
#include <string.h>

Go to the source code of this file.


class  SourceMod::IResultRow
 Represents a one database result row. More...
class  SourceMod::IResultSet
 Describes a set of database results. More...
class  SourceMod::IQuery
class  SourceMod::IPreparedQuery
class  SourceMod::IDatabase
 Encapsulates a database connection. More...
struct  SourceMod::DatabaseInfo
 Describes database connection info. More...
class  SourceMod::IDBDriver
 Describes an SQL driver. More...
class  SourceMod::IDBThreadOperation
class  SourceMod::IDBManager
 Describes the DBI manager. More...




enum  DBResult { SourceMod::DBVal_Error = 0, SourceMod::DBVal_TypeMismatch = 1, SourceMod::DBVal_Null = 2, SourceMod::DBVal_Data = 3 }
 Describes a database field value.
enum  DBType {
  SourceMod::DBType_Unknown = 0, SourceMod::DBType_String, SourceMod::DBType_Blob, SourceMod::DBType_Integer,
  SourceMod::DBType_Float, SourceMod::DBType_NULL, SourceMod::DBTypes_TOTAL
 Describes a primitive database type.
enum  PrioQueueLevel { SourceMod::PrioQueue_High, SourceMod::PrioQueue_Normal, SourceMod::PrioQueue_Low }
 Priority queue level.
enum  DBHandleType { SourceMod::DBHandle_Driver = 0, SourceMod::DBHandle_Database = 1 }
 Database-related Handle types.

Detailed Description

Defines interfaces for interacting with relational databases.

vim: set ts=4 sw=4 tw=99 noet :


Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 3.0, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

As a special exception, AlliedModders LLC gives you permission to link the code of this program (as well as its derivative works) to "Half-Life 2," the "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software by the Valve Corporation. You must obey the GNU General Public License in all respects for all other code used. Additionally, AlliedModders LLC grants this exception to all derivative works. AlliedModders LLC defines further exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007), or

Version: $Id$