|
fhq-server
v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
|
#include <mysql_storage.h>


Public Member Functions | |
| MySqlStorage () | |
| virtual bool | applyConfigFromFile (const std::string &sFilePath) |
| virtual WsjcppStorageConnection * | connect () |
| virtual void | clean () |
| virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageInsert &storageInsert) |
| virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageCreateTable &storageCreateTable) |
| virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageModifyTable &storageModifyTable) |
| virtual std::vector< std::string > | prepareSqlQueries (const WsjcppStorageDropTable &storageDropTable) |
| virtual std::string | prepareStringValue (const std::string &sValue) |
Public Member Functions inherited from WsjcppStorage | |
| WsjcppStorage () | |
| bool | executeStorageChanges (WsjcppStorageConnection *pConn, WsjcppStorageChanges &storageChanges) |
| bool | addStorageChanges (WsjcppStorageChanges &storageChanges) |
| bool | insertRow (WsjcppStorageConnection *pConn, const WsjcppStorageInsert &storageInsert) |
| const std::map< std::string, WsjcppStorageTable > & | getTables () |
| bool | existsTable (const std::string &sTableName) |
| const WsjcppStorageTable & | getTableDef (const std::string &sTableName) |
Static Public Member Functions | |
| static std::string | type () |
Static Public Member Functions inherited from WsjcppStorage | |
| static std::string | type () |
Private Member Functions | |
| std::string | generateLineColumnForSql (WsjcppStorageColumnDef &c) |
Private Attributes | |
| std::string | TAG |
| std::string | m_sDatabaseHost |
| std::string | m_sDatabaseName |
| std::string | m_sDatabaseUser |
| std::string | m_sDatabasePass |
| int | m_nDatabasePort |
Additional Inherited Members | |
Protected Attributes inherited from WsjcppStorage | |
| std::string | TAG |
| MySqlStorage::MySqlStorage | ( | ) |
|
virtual |
Implements WsjcppStorage.
|
virtual |
Implements WsjcppStorage.
|
virtual |
Implements WsjcppStorage.
|
private |
|
virtual |
Implements WsjcppStorage.
|
virtual |
Implements WsjcppStorage.
|
virtual |
Implements WsjcppStorage.
|
virtual |
Implements WsjcppStorage.
|
virtual |
Implements WsjcppStorage.
|
inlinestatic |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.13