fhq-server  v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
Classes | Macros | Enumerations | Variables
wsjcpp_storages.h File Reference
#include <map>
#include <string>
#include <vector>
#include <wsjcpp_core.h>
Include dependency graph for wsjcpp_storages.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  WsjcppStorageColumnDef
 
class  WsjcppStorageColumnDefIndex
 
class  WsjcppStorageChanges
 
class  WsjcppStorageCreateTable
 
class  WsjcppStorageModifyTable
 
class  WsjcppStorageDropTable
 
class  WsjcppStorageColumnValue
 
class  WsjcppStorageTable
 
class  WsjcppStorageInsert
 
class  WsjcppStorageConnection
 
class  WsjcppStorage
 
class  IFabricWsjcppStorage
 
class  WsjcppStorages
 
class  FabricWsjcppStorage< T >
 
class  WsjcppStorageUpdateBase
 
class  WsjcppStorageUpdates
 

Macros

#define REGISTRY_WSJCPP_STORAGE(classname)   static FabricWsjcppStorage<classname> * pRegistryFabric ## classname = new FabricWsjcppStorage<classname>(); \
 
#define REGISTRY_WSJCPP_STORAGE_UPDATE(classname)   static classname * pRegistry ## classname = new classname();
 

Enumerations

enum  WsjcppStorageColumnType { WSJCPP_STORAGE_COLUMN_TYPE_DATETIME, WSJCPP_STORAGE_COLUMN_TYPE_STRING, WSJCPP_STORAGE_COLUMN_TYPE_NUMBER, WSJCPP_STORAGE_COLUMN_TYPE_DOUBLE_NUMBER }
 
enum  WsjcppStorageChangesType {
  WSJCPP_STORAGE_CHANGES_TYPE_NOPE, WSJCPP_STORAGE_CHANGES_TYPE_DROP_TABLE, WSJCPP_STORAGE_CHANGES_TYPE_MODIFY_TABLE, WSJCPP_STORAGE_CHANGES_TYPE_CREATE_TABLE,
  WSJCPP_STORAGE_CHANGES_TYPE_INSERT_ROW, WSJCPP_STORAGE_CHANGES_TYPE_DELETE_ROW, WSJCPP_STORAGE_CHANGES_TYPE_UPDATE_ROW, WSJCPP_STORAGE_CHANGES_TYPE_SELECT_ROWS
}
 

Variables

std::map< std::string, IFabricWsjcppStorage * > * g_pFabricWsjcppStorages
 
std::vector< WsjcppStorageUpdateBase * > * g_pWsjcppStorageUpdates
 

Macro Definition Documentation

◆ REGISTRY_WSJCPP_STORAGE

#define REGISTRY_WSJCPP_STORAGE (   classname)    static FabricWsjcppStorage<classname> * pRegistryFabric ## classname = new FabricWsjcppStorage<classname>(); \

◆ REGISTRY_WSJCPP_STORAGE_UPDATE

#define REGISTRY_WSJCPP_STORAGE_UPDATE (   classname)    static classname * pRegistry ## classname = new classname();

Enumeration Type Documentation

◆ WsjcppStorageChangesType

Enumerator
WSJCPP_STORAGE_CHANGES_TYPE_NOPE 
WSJCPP_STORAGE_CHANGES_TYPE_DROP_TABLE 
WSJCPP_STORAGE_CHANGES_TYPE_MODIFY_TABLE 
WSJCPP_STORAGE_CHANGES_TYPE_CREATE_TABLE 
WSJCPP_STORAGE_CHANGES_TYPE_INSERT_ROW 
WSJCPP_STORAGE_CHANGES_TYPE_DELETE_ROW 
WSJCPP_STORAGE_CHANGES_TYPE_UPDATE_ROW 
WSJCPP_STORAGE_CHANGES_TYPE_SELECT_ROWS 

◆ WsjcppStorageColumnType

Enumerator
WSJCPP_STORAGE_COLUMN_TYPE_DATETIME 
WSJCPP_STORAGE_COLUMN_TYPE_STRING 
WSJCPP_STORAGE_COLUMN_TYPE_NUMBER 
WSJCPP_STORAGE_COLUMN_TYPE_DOUBLE_NUMBER 

Variable Documentation

◆ g_pFabricWsjcppStorages

std::map<std::string, IFabricWsjcppStorage*>* g_pFabricWsjcppStorages

◆ g_pWsjcppStorageUpdates

std::vector<WsjcppStorageUpdateBase *>* g_pWsjcppStorageUpdates