|
GlistEngine
|
#include <gDatabase.h>


Public Member Functions | |
| gDatabase () | |
| virtual | ~gDatabase () |
| bool | load (std::string fullPath) |
| bool | loadDatabase (std::string databasePath) |
| void | close () |
| std::string | getPath () |
| void | execute (std::string statement, std::string id="0") |
| std::string | getSelectData () |
| bool | hasSelectData () |
| int | getSelectDataNum () |
| void | getTableInfo (char ***sqlResult, int *rowNum, int *colNum) |
| void | setDelimiter (std::string delimiter) |
| std::string | getDelimiter () |
| std::vector< std::string > | getTableNames () |
| std::vector< std::string > | getColumnNames (std::string tableName) |
| std::string | getColumnType (std::string tableName, std::string columnName) |
Public Member Functions inherited from gObject | |
| gObject () | |
| void | logi (std::string message) |
| void | logd (std::string message) |
| void | logw (std::string message) |
| void | loge (std::string message) |
| void | logi (std::string tag, std::string message) |
| void | logd (std::string tag, std::string message) |
| void | logw (std::string tag, std::string message) |
| void | loge (std::string tag, std::string message) |
Static Public Member Functions | |
| static int | callback (void *statementId, int argc, char **argv, char **azColName) |
Static Public Member Functions inherited from gObject | |
| static std::string | gGetAppDir () |
| static std::string | gGetAssetsDir () |
| static void | gSetAssetsDir (std::string assetsDir) |
| static std::string | gGetFilesDir () |
| static std::string | gGetImagesDir () |
| static std::string | gGetFontsDir () |
| static std::string | gGetModelsDir () |
| static std::string | gGetTexturesDir () |
| static std::string | gGetShadersDir () |
| static std::string | gGetSoundsDir () |
| static std::string | gGetDatabasesDir () |
| static std::string | gGetVideosDir () |
| static void | setCurrentResolution (int scalingNo, int currentResolutionNo) |
Additional Inherited Members | |
Static Public Attributes inherited from gObject | |
| static const int | LOGLEVEL_SILENT |
| static const int | LOGLEVEL_DEBUG |
| static const int | LOGLEVEL_INFO |
| static const int | LOGLEVEL_WARNING |
| static const int | LOGLEVEL_ERROR |
Static Protected Attributes inherited from gObject | |
| static int | renderpassnum |
| static int | renderpassno |
| static int | releasescaling |
| static int | releaseresolution |
| gDatabase::gDatabase | ( | ) |
|
virtual |
|
static |
| void gDatabase::close | ( | ) |
| void gDatabase::execute | ( | std::string | statement, |
| std::string | id = "0" |
||
| ) |
| std::vector< std::string > gDatabase::getColumnNames | ( | std::string | tableName | ) |
| std::string gDatabase::getColumnType | ( | std::string | tableName, |
| std::string | columnName | ||
| ) |
| std::string gDatabase::getDelimiter | ( | ) |
| std::string gDatabase::getPath | ( | ) |
| std::string gDatabase::getSelectData | ( | ) |
| int gDatabase::getSelectDataNum | ( | ) |
| void gDatabase::getTableInfo | ( | char *** | sqlResult, |
| int * | rowNum, | ||
| int * | colNum | ||
| ) |
| std::vector< std::string > gDatabase::getTableNames | ( | ) |
| bool gDatabase::hasSelectData | ( | ) |
| bool gDatabase::load | ( | std::string | fullPath | ) |
| bool gDatabase::loadDatabase | ( | std::string | databasePath | ) |
| void gDatabase::setDelimiter | ( | std::string | delimiter | ) |