SQLiteObject
Engine/source/sqlite/SQLiteObject.h
Protected Types
Parent
Public Attributes
sqlite3 *
Private Attributes
Public Functions
ClearResultSet(S32 index)
bool
EndOfResult(S32 resultSet)
escapeSingleQuotes(const char * source, char * dest)
ExecuteSQL(const char * sql)
GetColumnIndex(S32 iResult, const char * columnName)
GetResultSet(S32 iResultSet)
GetResultSetIndex(S32 iResultSet)
loadOrSaveDb(const char * zFilename, bool isSave)
bool
onAdd()
Called when the object is added to the sim.
bool
OpenDatabase(const char * filename)
bool
processArguments(S32 argc, const char ** argv)
bool
SaveResultSet(sqlite_resultset * pResultSet)
Public Static Functions
Detailed Description
Protected Types
typedef SimObject Parent
Public Attributes
sqlite3 * m_pDatabase
Private Attributes
S32 m_iLastResultSet
S32 m_iNextResultSet
char * m_szErrorString
VectorPtr< sqlite_resultset * > m_vResultSets
Public Functions
SQLiteObject()
~SQLiteObject()
ClearErrorString()
ClearResultSet(S32 index)
CloseDatabase()
DECLARE_CONOBJECT(SQLiteObject )
EndOfResult(S32 resultSet)
escapeSingleQuotes(const char * source, char * dest)
ExecuteSQL(const char * sql)
GetColumnIndex(S32 iResult, const char * columnName)
getLastRowId()
GetResultSet(S32 iResultSet)
GetResultSetIndex(S32 iResultSet)
loadOrSaveDb(const char * zFilename, bool isSave)
NextRow(S32 resultSet)
numResultSets()
onAdd()
Reimplemented from: SimObject
onRemove()
Reimplemented from: SimObject
OpenDatabase(const char * filename)
processArguments(S32 argc, const char ** argv)
SaveResultSet(sqlite_resultset * pResultSet)