#include <mysqlServer.hpp>

Public Member Functions | |
| MySQLServer (const std::string &_userName, const std::string &_passWord) throw (Error) | |
| virtual void | connect (const std::string &database, MYSQL *m)=0 throw (Error) |
| MYSQL * | getConnection (void) |
Protected Attributes | |
| MYSQL | connection |
| std::string | passWord |
Definition at line 29 of file mysqlServer.hpp.
| MySQLServer::MySQLServer | ( | const std::string & | _userName, | |
| const std::string & | _passWord | |||
| ) | throw (Error) [inline] |
Constructor. Store information for connecting to a MySQL server.
| _userName | Name of database user. | |
| _passWord | Password of database-user. |
Definition at line 36 of file mysqlServer.hpp.
| virtual void MySQLServer::connect | ( | const std::string & | database, | |
| MYSQL * | m | |||
| ) | throw (Error) [pure virtual] |
Implemented in MySQLNetwork, and MySQLSocket.
| MYSQL* MySQLServer::getConnection | ( | void | ) | [inline] |
MYSQL MySQLServer::connection [protected] |
Connection to MySQL server. The connection is required for creating databases and user-accounts.
Definition at line 47 of file mysqlServer.hpp.
Referenced by getConnection(), MySQLNetwork::~MySQLNetwork(), and MySQLSocket::~MySQLSocket().
std::string MySQLServer::passWord [protected] |
Definition at line 49 of file mysqlServer.hpp.