mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Tons of renames
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
#ifndef MYSQL_REQUEST_ROW_H
|
||||
#define MYSQL_REQUEST_ROW_H
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include <winsock.h>
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <mysql.h>
|
||||
#include <iterator>
|
||||
#include "types.h"
|
||||
|
||||
class MySQLRequestRow : public std::iterator<std::input_iterator_tag, MYSQL_ROW>
|
||||
{
|
||||
|
||||
private:
|
||||
MYSQL_RES* m_Result;
|
||||
MYSQL_ROW m_MySQLRow;
|
||||
|
||||
public:
|
||||
|
||||
MySQLRequestRow();
|
||||
MySQLRequestRow(MYSQL_RES *result);
|
||||
MySQLRequestRow(const MySQLRequestRow& row);
|
||||
MySQLRequestRow(MySQLRequestRow&& moveItem);
|
||||
MySQLRequestRow& operator=(MySQLRequestRow& moveItem);
|
||||
MySQLRequestRow& operator++();
|
||||
MySQLRequestRow operator++(int);
|
||||
bool operator==(const MySQLRequestRow& rhs);
|
||||
bool operator!=(const MySQLRequestRow& rhs);
|
||||
|
||||
char* operator[](int index);
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user