EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ScanningDB Class Reference

#include "ScanningDB.h"

Public Member Functions

 ScanningDB ()
 
 ~ScanningDB ()
 
void GetScanResults (DBQueryResult &res)
 

Detailed Description

Definition at line 31 of file ScanningDB.h.

Constructor & Destructor Documentation

ScanningDB::ScanningDB ( )
inline

Definition at line 34 of file ScanningDB.h.

34 {}
ScanningDB::~ScanningDB ( )
inline

Definition at line 35 of file ScanningDB.h.

35 {}

Member Function Documentation

void ScanningDB::GetScanResults ( DBQueryResult res)

Definition at line 30 of file ScanningDB.cpp.

References _log, DBerror::c_str(), DBQueryResult::error, and sDatabase.

30  {
31  //`dedTestTable` (`typeID`, `scanGroupID`, `groupID`, `strengthAttributeID`, `dungeonName`, `id`, `x`, `y`, `z`)
32  if(!sDatabase.RunQuery(res,
33  "SELECT typeID, scanGroupID, groupID, strengthAttributeID, dungeonName, id, x, y, z"
34  " FROM dedTestTable")) {
35  _log(DATABASE__ERROR, "Error in GetScanResults query: %s", res.error.c_str());
36  }
37 }
#define sDatabase
Definition: dbcore.h:199
#define _log(type, fmt,...)
Definition: logsys.h:124
const char * c_str() const
Definition: dbcore.h:48
DBerror error
Definition: dbcore.h:69

Here is the call graph for this function:


The documentation for this class was generated from the following files: