HCE project C++ developers source code library  1.1.1
HCE project developer library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MysqlLite Class Reference

#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

Detailed Description

Definition at line 11 of file MysqlLite.h.

Constructor & Destructor Documentation

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 
)

Definition at line 2 of file MysqlLite.cpp.

Here is the call graph for this function:

MysqlLite::~MysqlLite ( )

Definition at line 30 of file MysqlLite.cpp.

Member Function Documentation

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.

void MysqlLite::freeResult ( MYSQL_RES *  res)
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 ( )

Definition at line 64 of file MysqlLite.cpp.

Here is the caller graph for this function:

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.

Friends And Related Function Documentation

friend class PreparedQuery
friend

Definition at line 42 of file MysqlLite.h.


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