#include <openMyDB.h>


Public Member Functions | |
| mySqlRS (openDB &idb) | |
| virtual | ~mySqlRS () |
| virtual bool | open (string sql) |
| virtual bool | close (void) |
| virtual bool | next (int rows=1) |
| virtual bool | previous (int rows=1) |
| virtual string & | getErrors (void) |
| mySqlRS (openDB &idb) | |
| virtual | ~mySqlRS () |
| virtual bool | open (string sql) |
| virtual bool | close (void) |
| virtual bool | next (int rows=1) |
| virtual bool | previous (int rows=1) |
| virtual string & | getErrors (void) |
Protected Member Functions | |
| bool | beginTransaction () |
| bool | commit () |
| bool | beginTransaction () |
| bool | commit () |
Protected Attributes | |
| mySqlDB * | poDB |
| int | state |
| size_t | rows |
| MYSQL_RES * | result |
| my_col_infoVector | colInfo |
| mysqlMap | colMap |
| mySqlDB * | poDB |
| MYSQL_RES * | result |
Definition at line 93 of file openMyDB.h.
| mySqlRS::mySqlRS | ( | openDB & | idb | ) |
| mySqlRS::~mySqlRS | ( | ) | [virtual] |
| mySqlRS::mySqlRS | ( | openDB & | idb | ) |
| virtual mySqlRS::~mySqlRS | ( | ) | [virtual] |
| bool mySqlRS::beginTransaction | ( | ) | [protected, virtual] |
Implements openRS.
Definition at line 339 of file openMyDB.cpp.
References openRS::m_bTransactioning.
| bool mySqlRS::commit | ( | ) | [protected, virtual] |
Implements openRS.
Definition at line 349 of file openMyDB.cpp.
References openRS::m_bTransactioning.
| bool mySqlRS::open | ( | string | sql | ) | [virtual] |
Implements openRS.
Definition at line 250 of file openMyDB.cpp.
References openRS::associations, close(), colInfo, colMap, mysqlColInfo::ColName, my_mapItem::createField(), mysqlMap::data, mysqlColInfo::decimals, mySqlDB::error(), openDB::errorString(), mySqlDB::getConnection(), openDB::isGood(), mysqlColInfo::length, openRS::m_bOpen, openRS::m_iFields, openRS::m_iRecords, mysqlColInfo::mySqlType, next(), openRS::ordinals, poDB, result, state, and writelog2.
Referenced by openCatalog::fieldsList(), group_siteList(), linkList(), page_menuList(), and paragraphList().
| bool mySqlRS::close | ( | void | ) | [virtual] |
Implements openRS.
Definition at line 359 of file openMyDB.cpp.
References openRS::associations, colInfo, openRS::m_bOpen, openRS::ordinals, result, and writelog.
Referenced by openCatalog::fieldsList(), next(), open(), and ~mySqlRS().
| bool mySqlRS::next | ( | int | rows = 1 |
) | [virtual] |
Implements openRS.
Definition at line 385 of file openMyDB.cpp.
References close(), colInfo, colMap, mysqlMap::data, mySqlDB::error(), openRS::m_iFields, mysqlColInfo::mySqlType, openRS::ordinals, poDB, result, my_mapItem::setField(), writelog, and writelog2.
Referenced by openCatalog::fieldsList(), group_siteList(), linkList(), open(), page_menuList(), and paragraphList().
| bool mySqlRS::previous | ( | int | rows = 1 |
) | [virtual] |
| string & mySqlRS::getErrors | ( | void | ) | [virtual] |
Reimplemented from openRS.
Definition at line 331 of file openMyDB.cpp.
References mySqlDB::error(), openDB::errorString(), and poDB.
| bool mySqlRS::beginTransaction | ( | ) | [protected, virtual] |
Implements openRS.
| bool mySqlRS::commit | ( | ) | [protected, virtual] |
Implements openRS.
| virtual bool mySqlRS::open | ( | string | sql | ) | [virtual] |
Implements openRS.
| virtual bool mySqlRS::close | ( | void | ) | [virtual] |
Implements openRS.
| virtual bool mySqlRS::next | ( | int | rows = 1 |
) | [virtual] |
Implements openRS.
| virtual bool mySqlRS::previous | ( | int | rows = 1 |
) | [virtual] |
Implements openRS.
| virtual string& mySqlRS::getErrors | ( | void | ) | [virtual] |
Reimplemented from openRS.
mySqlDB* mySqlRS::poDB [protected] |
int mySqlRS::state [protected] |
size_t mySqlRS::rows [protected] |
Definition at line 101 of file openMyDB.h.
MYSQL_RES* mySqlRS::result [protected] |
my_col_infoVector mySqlRS::colInfo [protected] |
mysqlMap mySqlRS::colMap [protected] |
mySqlDB* mySqlRS::poDB [protected] |
Definition at line 97 of file openMyDB.h.
MYSQL_RES* mySqlRS::result [protected] |
Definition at line 102 of file openMyDB.h.
1.5.5