HCE project C++ developers source code library
1.1.1
HCE project developer library
|
#include <MysqlLite.h>
Public Member Functions | |
MysqlLite (const char *host, const char *user, const char *passwd, const char *db, unsigned int port=0, const char *socket=NULL, bool connectNow=true) | |
~MysqlLite () | |
bool | query (const char *pattern,...) |
MYSQL_RES * | store () |
MYSQL_RES * | use () |
MYSQL_ROW | fetch (MYSQL_RES *) |
bool | is_connect () |
my_ulonglong | insertId () |
const char * | errorStr () |
void | freeResult (MYSQL_RES *res) |
bool | setCharacterSet (const char *character) |
const char * | errStr () |
unsigned int | errNo () |
char * | escapeStr (const char *str) |
my_ulonglong | affectedRows () |
my_ulonglong | numRows (MYSQL_RES *res) |
void | setTimeout (unsigned int readTimeout, unsigned int writeTimeout) |
bool | ping () |
bool | reconnect () |
void | disconnect () |
Friends | |
class | PreparedQuery |
Definition at line 11 of file MysqlLite.h.
MysqlLite::MysqlLite | ( | const char * | host, |
const char * | user, | ||
const char * | passwd, | ||
const char * | db, | ||
unsigned int | port = 0 , |
||
const char * | socket = NULL , |
||
bool | connectNow = true |
||
) |
MysqlLite::~MysqlLite | ( | ) |
Definition at line 30 of file MysqlLite.cpp.
my_ulonglong MysqlLite::affectedRows | ( | ) |
Definition at line 185 of file MysqlLite.cpp.
void MysqlLite::disconnect | ( | ) |
Definition at line 55 of file MysqlLite.cpp.
unsigned int MysqlLite::errNo | ( | ) |
Definition at line 163 of file MysqlLite.cpp.
const char * MysqlLite::errorStr | ( | ) |
Definition at line 153 of file MysqlLite.cpp.
const char * MysqlLite::errStr | ( | ) |
Definition at line 158 of file MysqlLite.cpp.
char * MysqlLite::escapeStr | ( | const char * | str | ) |
Definition at line 168 of file MysqlLite.cpp.
MYSQL_ROW MysqlLite::fetch | ( | MYSQL_RES * | res | ) |
Definition at line 138 of file MysqlLite.cpp.
|
inline |
Definition at line 25 of file MysqlLite.h.
my_ulonglong MysqlLite::insertId | ( | ) |
Definition at line 148 of file MysqlLite.cpp.
bool MysqlLite::is_connect | ( | ) |
Definition at line 143 of file MysqlLite.cpp.
my_ulonglong MysqlLite::numRows | ( | MYSQL_RES * | res | ) |
Definition at line 190 of file MysqlLite.cpp.
bool MysqlLite::ping | ( | ) |
Definition at line 50 of file MysqlLite.cpp.
bool MysqlLite::query | ( | const char * | pattern, |
... | |||
) |
Definition at line 89 of file MysqlLite.cpp.
bool MysqlLite::reconnect | ( | ) |
bool MysqlLite::setCharacterSet | ( | const char * | character | ) |
Definition at line 81 of file MysqlLite.cpp.
void MysqlLite::setTimeout | ( | unsigned int | readTimeout, |
unsigned int | writeTimeout | ||
) |
Definition at line 41 of file MysqlLite.cpp.
MYSQL_RES * MysqlLite::store | ( | ) |
Definition at line 128 of file MysqlLite.cpp.
MYSQL_RES * MysqlLite::use | ( | ) |
Definition at line 133 of file MysqlLite.cpp.
|
friend |
Definition at line 42 of file MysqlLite.h.