#ifndef MYSQL_REQUEST_ROW_H #define MYSQL_REQUEST_ROW_H #ifdef _WINDOWS #include #include #endif #include #include #include "types.h" class MySQLRequestRow : public std::iterator { 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); MySQLRequestRow operator*(); char* operator[](int index); }; #endif