openRS Class Reference

#include <openDB.h>

Inheritance diagram for openRS:

Inheritance graph
[legend]
Collaboration diagram for openRS:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 openRS (openDB &idb)
virtual ~openRS ()
virtual bool open (string sql)=0
virtual bool next (int rows=1)=0
virtual bool previous (int rows=1)=0
virtual bool close (void)=0
basicFieldgetField (int)
basicFieldgetField (const char *)
bool hasField (const char *)
int getFieldCount (void)
int getRecordCount (void)
int isOpen (void)
virtual string & getErrors (void)
 openRS (openDB &idb)
virtual ~openRS ()
virtual bool open (string sql)=0
virtual bool next (int rows=1)=0
virtual bool previous (int rows=1)=0
virtual bool close (void)=0
basicFieldgetField (int)
basicFieldgetField (const char *)
bool hasField (const char *)
int getFieldCount (void)
int getRecordCount (void)
int isOpen (void)
virtual string & getErrors (void)

Protected Member Functions

virtual bool beginTransaction ()=0
virtual bool commit ()=0
virtual bool beginTransaction ()=0
virtual bool commit ()=0

Protected Attributes

openDBrdb
fieldVector ordinals
fieldMap associations
int m_iRecords
int m_iFields
bool m_bOpen
bool m_bTransactioning
openDBrdb


Detailed Description

Definition at line 129 of file openDB.h.


Constructor & Destructor Documentation

openRS::openRS ( openDB idb  ) 

Definition at line 116 of file openDB.cpp.

openRS::~openRS (  )  [virtual]

Definition at line 122 of file openDB.cpp.

openRS::openRS ( openDB idb  ) 

virtual openRS::~openRS (  )  [virtual]


Member Function Documentation

virtual bool openRS::beginTransaction (  )  [protected, pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::commit (  )  [protected, pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::open ( string  sql  )  [pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

Referenced by col_handling_rep::addColumnHandlers(), menu_item_form::addPageParagraphMenuItems(), virtualStore::baseCategoryFixup(), userLogin::checkUser(), openLogin::checkUser(), virtualCheckout::confirmOrderPanel(), controlLayout::controlLayout(), ocTreeNode::Count(), reporter::detail(), ocTreeNode::emit(), page_menus::emitItems(), userLogin::fetchServices(), openLogin::fetchServices(), page_menus::findNodesToWalk(), Commission_Check_form::form_display(), Composite_Query_form::form_display(), reporter::generic(), SysImport_Keys::get(), read_write_base::get_data(), sublist_base::getData(), quickerQuery::getData(), quickQuery::getData(), list_base::getData(), list_base::getFilteredData(), controlLayout::getMenus(), audit_base::getOldValues(), Customer_Payment_Service::getParameters(), Payment_Service::getPaymentServiceParameters(), page_menus::getSelected(), site_pick::getSiteOptions(), userLogin::getSiteRole(), openLogin::getUser(), reform_base::iGetData(), rep_base::iGetData(), imagePicker::imagePicker(), menu_item::ivalidate(), Customer_Payment_Service::ivalidate(), Category_Obj::ivalidate(), paragraphs_Obj::ivalidate(), paragraph::ivalidate(), page_paragraphs::load(), page_template::load(), page_menus::load(), page::load(), global_contents::load(), main(), menu_item::move(), Category_Obj::move(), openCatalog::open(), virtualCheckout::paymentForm(), virtualStore::putForm(), Product_form::retrieveAttributes(), users::retrieveRoles(), users_Obj::retrieveRoles(), groups::retrieveRoles(), groups_Obj::retrieveRoles(), roles::retrieveServices(), reporter::rollup(), virtualCheckout::setKey(), virtualStore::showCategories(), proofs::showDesign(), virtualStore::showDesigner(), showMenus(), proofs::showOrderedItems(), showPages(), virtualStore::showProduct(), virtualStore::showProducts(), showSites(), showTemplates(), tagList(), templateList(), userLogin::testLoginStatus(), openLogin::testLoginStatus(), Affiliate_Obj::uniquePromotion(), Category_Obj::usupplemental(), paragraphs_Obj::usupplemental(), paragraph::usupplemental(), Customer_Payment_Service::uvalidate(), Ordered_Obj::uvalidate(), and page::uvalidate().

virtual bool openRS::next ( int  rows = 1  )  [pure virtual]

virtual bool openRS::previous ( int  rows = 1  )  [pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::close ( void   )  [pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

Referenced by col_handling_rep::addColumnHandlers(), menu_item_form::addPageParagraphMenuItems(), virtualStore::baseCategoryFixup(), userLogin::checkUser(), openLogin::checkUser(), openCatalog::close(), virtualCheckout::confirmOrderPanel(), controlLayout::controlLayout(), page_menus::emitItems(), userLogin::fetchServices(), openLogin::fetchServices(), page_menus::findNodesToWalk(), Commission_Check_form::form_display(), Composite_Query_form::form_display(), SysImport_Keys::get(), list_base::getFilteredData(), audit_base::getOldValues(), page_menus::getSelected(), site_pick::getSiteOptions(), userLogin::getSiteRole(), openLogin::getUser(), imagePicker::imagePicker(), menu_item::ivalidate(), Customer_Payment_Service::ivalidate(), Category_Obj::ivalidate(), paragraphs_Obj::ivalidate(), paragraph::ivalidate(), page_paragraphs::load(), page_menus::load(), page::load(), global_contents::load(), main(), multivalLookup(), virtualCheckout::paymentForm(), virtualStore::putForm(), virtualCheckout::setKey(), virtualStore::showCategories(), proofs::showDesign(), virtualStore::showDesigner(), proofs::showOrderedItem(), proofs::showOrderedItems(), virtualStore::showProduct(), tableLookup(), paragraph_form::templateFromId(), templateFromId(), paragraph_form::templateFromPageId(), templateFromPageId(), userLogin::testLoginStatus(), openLogin::testLoginStatus(), Category_Obj::usupplemental(), paragraphs_Obj::usupplemental(), paragraph::usupplemental(), Customer_Payment_Service::uvalidate(), Ordered_Obj::uvalidate(), and page::uvalidate().

basicField & openRS::getField ( int  idx  ) 

Definition at line 128 of file openDB.cpp.

References ordinals.

Referenced by col_handling_rep::addFormat(), col_handling_rep::addHandler(), menu_item_form::addPageParagraphMenuItems(), audit_base::auditAll(), virtualStore::baseCategoryFixup(), ocTreeNode::buildLeafText(), ckboxesEntry(), cmboEntry(), reform_base::columnTagFixup(), spawnHandler::columnTagFixup(), groupHandler::commence(), virtualCheckout::confirmOrderPanel(), controlLayout::controlLayout(), ocTreeNode::Count(), currentSite(), Table_Field_List::derived_data_event(), Work_List::derived_predata_event(), ocTreeNode::emit(), WorkItems::emitHeadings(), Query_Result_List::emitHeadings(), ocTreeNode::emitLeaf(), userLogin::fetchServices(), openLogin::fetchServices(), openCatalog::fieldsList(), ocTreeNode::Filter(), page_menus::findNodesToWalk(), Commission_Check_form::form_display(), Composite_Query_form::form_display(), col_handling_rep::formatField(), reporter::generic(), SysImport_Keys::get(), read_write_base::get_data(), list_base::getFilteredData(), rep_base::getHeadCell(), col_handling_rep::getHeadCell(), controlLayout::getMenus(), audit_base::getOldValues(), site_pick::getSiteOptions(), userLogin::getSiteRole(), group_siteList(), imagePicker::imagePicker(), menu_item::ivalidate(), Customer_Payment_Service::ivalidate(), Category_Obj::ivalidate(), paragraphs_Obj::ivalidate(), paragraph::ivalidate(), linkList(), main(), menu_item::move(), Category_Obj::move(), multivalLookup(), read_write_base::next(), openCatalog::next(), openCatalog::open(), groupHandler::operator()(), avgHandler::operator()(), sumHandler::operator()(), lookupHandler::operator()(), page_menuList(), page_menus::pageMenuPropSet(), paragraphList(), virtualCheckout::paymentForm(), page_paragraph::propset(), page_template::propset(), page::propset(), global_contents::propset(), virtualStore::putForm(), radioEntry(), postgresCMD::resultKey(), Product_form::retrieveAttributes(), users::retrieveRoles(), users_Obj::retrieveRoles(), groups::retrieveRoles(), groups_Obj::retrieveRoles(), roles::retrieveServices(), reporter::rollup(), menu_item_List::sendField(), sublist_base::sendField(), list_base::sendField(), commissions_report::sendField(), Category_List::sendField(), Ordered_List::sendField(), Work_List::sendField(), WorkItems::sendField(), reform_base::sendField(), Table_Field_List::sendField(), Scheme_Field_List::sendField(), rep_base::sendField(), col_handling_rep::sendField(), global_content_List::sendHotField(), page_item_List::sendHotField(), menu_item_List::sendHotField(), sublist_base::sendHotField(), list_base::sendHotField(), Promotion_List::sendHotField(), Payment_Type_Parameter_List::sendHotField(), Category_List::sendHotField(), services_List::sendHotField(), Report_List::sendHotField(), sublist_base::setColFormat(), list_base::setColFormat(), rep_base::setColFormat(), virtualCheckout::setKey(), page_menus::setMenuItem(), Customer_Payment_Service::setParameter(), Payment_Service::setParameter(), page_menus::setSelectItem(), userLogin::setVars(), openLogin::setVars(), virtualStore::showCategories(), proofs::showDesign(), virtualStore::showDesigner(), showMenus(), proofs::showOrderedItems(), showPages(), virtualStore::showProduct(), virtualStore::showProducts(), showSites(), showTemplates(), siteIds(), tableLookup(), tagList(), paragraph_form::templateFromId(), templateFromId(), paragraph_form::templateFromPageId(), templateFromPageId(), templateList(), Affiliate_Obj::uniquePromotion(), Category_Obj::usupplemental(), Customer_Payment_Service::uvalidate(), Ordered_Obj::uvalidate(), and page::uvalidate().

basicField & openRS::getField ( const char *  name  ) 

Definition at line 133 of file openDB.cpp.

References associations.

bool openRS::hasField ( const char *  name  ) 

Definition at line 137 of file openDB.cpp.

References associations.

int openRS::getFieldCount ( void   )  [inline]

int openRS::getRecordCount ( void   )  [inline]

int openRS::isOpen ( void   )  [inline]

virtual string& openRS::getErrors ( void   )  [inline, virtual]

virtual bool openRS::beginTransaction (  )  [protected, pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::commit (  )  [protected, pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::open ( string  sql  )  [pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::next ( int  rows = 1  )  [pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::previous ( int  rows = 1  )  [pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

virtual bool openRS::close ( void   )  [pure virtual]

Implemented in mySqlRS, postgresRS, mySqlRS, and odbcRS.

basicField& openRS::getField ( int   ) 

basicField& openRS::getField ( const char *   ) 

bool openRS::hasField ( const char *   ) 

int openRS::getFieldCount ( void   )  [inline]

Definition at line 160 of file openDB.h.

References m_iFields.

int openRS::getRecordCount ( void   )  [inline]

Definition at line 161 of file openDB.h.

References m_iRecords.

int openRS::isOpen ( void   )  [inline]

Definition at line 162 of file openDB.h.

References m_bOpen.

virtual string& openRS::getErrors ( void   )  [inline, virtual]

Reimplemented in mySqlRS, and mySqlRS.

Definition at line 163 of file openDB.h.

References openDB::errorString(), and rdb.


Member Data Documentation

openDB& openRS::rdb [protected]

Definition at line 134 of file openDB.h.

Referenced by getErrors().

int openRS::m_iRecords [protected]

int openRS::m_iFields [protected]

bool openRS::m_bOpen [protected]

bool openRS::m_bTransactioning [protected]

openDB& openRS::rdb [protected]

Definition at line 134 of file openDB.h.


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

Generated on Sat Aug 15 12:48:33 2009 for w3systemsDevelopment by  doxygen 1.5.5