#include <sublist_base.hpp>


Public Member Functions | |
| sublist_base (ostream &sc) | |
| virtual | ~sublist_base () |
| bool | loadListTemplates (string path) |
| sublist_base & | copyListTemplates (const cgiTemplates &in) |
| bool | getData (string sql) |
| sublist_base & | emitHeadings (string pipedelimited) |
| sublist_base & | emitEnd (void) |
| void | setColFormat (string fmt, int pos) |
| sublist_base & | emitData (void) |
| virtual void | sendField (int iField, ocString &td) |
| virtual void | sendHotField (int iField, ocString &td) |
| virtual void | derived_commence_event (void) |
| virtual bool | derived_predata_event (void) |
| virtual void | derived_data_event (void) |
| virtual void | derived_complete_event (void) |
Public Attributes | |
| bool | opened |
| ocString | editLink |
| an edit link in the form of "<a target="_self" href='$prog$?Id=$key$'>$col$" | |
| int | hotCol |
| -1 means no hot columns, -2 means all hot columns other-wise, the hot column is the ordinal final pos, MUST set edit link | |
| int | skipCol |
| string | addedCriteria |
| string | cookiePrefix |
| int | recCount |
| int | colCount |
Protected Attributes | |
| cgiTemplates | listTemplate |
| ostream & | webIO |
| ocString | td |
Definition at line 21 of file sublist_base.hpp.
| sublist_base::sublist_base | ( | ostream & | sc | ) | [inline] |
Definition at line 47 of file sublist_base.hpp.
| virtual sublist_base::~sublist_base | ( | ) | [inline, virtual] |
Definition at line 53 of file sublist_base.hpp.
| bool sublist_base::loadListTemplates | ( | string | path | ) | [inline] |
Definition at line 58 of file sublist_base.hpp.
References listTemplate, and cgiTemplates::load().
Referenced by Proofing_form::form_display(), Product_form::form_display(), roles_form::form_display(), and main().
| sublist_base& sublist_base::copyListTemplates | ( | const cgiTemplates & | in | ) | [inline] |
| bool sublist_base::getData | ( | string | sql | ) | [inline] |
Definition at line 69 of file sublist_base.hpp.
References openRS::getRecordCount(), openRS::open(), opened, recCount, and read_base::rs.
Referenced by links_List::list_display(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), Commission_Check_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), and Document_List::list_display().
| sublist_base& sublist_base::emitHeadings | ( | string | pipedelimited | ) | [inline] |
Definition at line 77 of file sublist_base.hpp.
References colCount, ocString::endOfParse(), cgiTemplates::getParagraph(), listTemplate, ocString::parse(), ocString::replace(), and webIO.
Referenced by links_List::list_display(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), Commission_Check_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), and Document_List::list_display().
| sublist_base& sublist_base::emitEnd | ( | void | ) | [inline] |
Definition at line 95 of file sublist_base.hpp.
References cgiTemplates::getParagraph(), listTemplate, and webIO.
Referenced by links_List::list_display(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), Commission_Check_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), and Document_List::list_display().
| void sublist_base::setColFormat | ( | string | fmt, | |
| int | pos | |||
| ) | [inline] |
Definition at line 102 of file sublist_base.hpp.
References openRS::getField(), openRS::getFieldCount(), read_base::rs, and basicField::setFormatMask().
| sublist_base& sublist_base::emitData | ( | void | ) | [inline] |
Definition at line 110 of file sublist_base.hpp.
References derived_commence_event(), derived_complete_event(), derived_data_event(), derived_predata_event(), openRS::getFieldCount(), cgiTemplates::getParagraph(), hotCol, listTemplate, openRS::next(), opened, read_base::rs, sendField(), sendHotField(), skipCol, td, and webIO.
Referenced by links_List::list_display(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), Commission_Check_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), and Document_List::list_display().
| virtual void sublist_base::sendField | ( | int | iField, | |
| ocString & | td | |||
| ) | [inline, virtual] |
Reimplemented in Scheme_Field_List, and Ordered_List.
Definition at line 145 of file sublist_base.hpp.
References basicField::format(), openRS::getField(), ocString::replace(), read_base::rs, and webIO.
Referenced by emitData(), and Scheme_Field_List::sendField().
| virtual void sublist_base::sendHotField | ( | int | iField, | |
| ocString & | td | |||
| ) | [inline, virtual] |
Reimplemented in Report_List, Report_List, services_List, services_List, and services_List.
Definition at line 151 of file sublist_base.hpp.
References editLink, basicField::format(), openRS::getField(), ocString::replace(), ocString::replaceAll(), read_base::rs, and webIO.
Referenced by emitData().
| virtual void sublist_base::derived_commence_event | ( | void | ) | [inline, virtual] |
| virtual bool sublist_base::derived_predata_event | ( | void | ) | [inline, virtual] |
| virtual void sublist_base::derived_data_event | ( | void | ) | [inline, virtual] |
Reimplemented in services_List.
Definition at line 161 of file sublist_base.hpp.
Referenced by emitData().
| virtual void sublist_base::derived_complete_event | ( | void | ) | [inline, virtual] |
Reimplemented in services_List, services_List, Ordered_List, and services_List.
Definition at line 162 of file sublist_base.hpp.
Referenced by emitData().
cgiTemplates sublist_base::listTemplate [protected] |
Definition at line 24 of file sublist_base.hpp.
Referenced by copyListTemplates(), emitData(), emitEnd(), emitHeadings(), links_List::list_display(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), Commission_Check_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), Document_List::list_display(), and loadListTemplates().
ostream& sublist_base::webIO [protected] |
Definition at line 25 of file sublist_base.hpp.
Referenced by emitData(), emitEnd(), emitHeadings(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), Document_List::list_display(), sendField(), and sendHotField().
ocString sublist_base::td [protected] |
| bool sublist_base::opened |
an edit link in the form of "<a target="_self" href='$prog$?Id=$key$'>$col$"
Definition at line 31 of file sublist_base.hpp.
Referenced by links_List::list_display(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), Commission_Check_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), Document_List::list_display(), and sendHotField().
-1 means no hot columns, -2 means all hot columns other-wise, the hot column is the ordinal final pos, MUST set edit link
Definition at line 33 of file sublist_base.hpp.
Referenced by emitData(), links_List::list_display(), Proofing_Text_Area_List::list_display(), Style_List::list_display(), Commission_Check_List::list_display(), paragraphs_List::list_display(), role_services_List::list_display(), and Document_List::list_display().
| string sublist_base::addedCriteria |
Definition at line 35 of file sublist_base.hpp.
| string sublist_base::cookiePrefix |
Definition at line 39 of file sublist_base.hpp.
1.5.5