#include <rep_base.hpp>


Public Member Functions | |
| rep_base (ostream &sc) | |
| virtual | ~rep_base () |
| bool | loadTemplates (string path) |
| ocString | part (string id) |
| rep_base & | copyTemplates (const cgiTemplates &in) |
| virtual bool | getData (string sql) |
| virtual bool | iGetData (string sql) |
| rep_base & | emitTop (string Name) |
| rep_base & | emitEmptySet (void) |
| int | simulateHeader (void) |
| rep_base & | emitHeadings (string pipedelimited="") |
| rep_base & | emitEnd (string extra="") |
| void | setColFormat (string fmt, int pos) |
| rep_base & | emitHeader (void) |
| virtual string | getHeadCell (int iField, ocString &th) |
| rep_base & | emitData (void) |
| virtual void | sendField (int iField, ocString &td) |
| virtual void | derived_commence_event (void) |
| virtual void | derived_prerow_event (void) |
| virtual void | derived_postrow_event (void) |
| virtual void | derived_complete_event (void) |
| rep_base (ostream &sc) | |
| virtual | ~rep_base () |
| bool | loadTemplates (string path) |
| ocString | part (string id) |
| rep_base & | copyTemplates (const cgiTemplates &in) |
| virtual bool | getData (string sql) |
| virtual bool | iGetData (string sql) |
| rep_base & | emitTop (string Name) |
| rep_base & | emitEmptySet (void) |
| int | simulateHeader (void) |
| rep_base & | emitHeadings (string pipedelimited="") |
| rep_base & | emitEnd (string extra="") |
| void | setColFormat (string fmt, int pos) |
| rep_base & | emitHeader (void) |
| virtual string | getHeadCell (int iField, ocString &th) |
| rep_base & | emitData (void) |
| virtual void | sendField (int iField, ocString &td) |
| virtual void | derived_commence_event (void) |
| virtual void | derived_prerow_event (void) |
| virtual void | derived_postrow_event (void) |
| virtual void | derived_complete_event (void) |
Public Attributes | |
| cgiTemplates | reportParts |
| string | head |
| string | cachedSQL |
| ostream & | webIO |
| bool | opened |
| bool | more_data |
| long | row |
| string | topKey |
| string | endKey |
| string | rowKey |
| string | endRowKey |
| string | headingKey |
| string | dataKey |
| ostream & | webIO |
Definition at line 31 of file rep_base.hpp.
| rep_base::rep_base | ( | ostream & | sc | ) | [inline] |
Definition at line 47 of file rep_base.hpp.
| virtual rep_base::~rep_base | ( | ) | [inline, virtual] |
Definition at line 53 of file rep_base.hpp.
| rep_base::rep_base | ( | ostream & | sc | ) | [inline] |
Definition at line 47 of file rep_base.hpp.
| virtual rep_base::~rep_base | ( | ) | [inline, virtual] |
Definition at line 53 of file rep_base.hpp.
| bool rep_base::loadTemplates | ( | string | path | ) | [inline] |
Definition at line 56 of file rep_base.hpp.
References cgiTemplates::load(), reportParts, and webIO.
Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), and main().
| ocString rep_base::part | ( | string | id | ) | [inline] |
Definition at line 66 of file rep_base.hpp.
References cgiTemplates::getParagraph(), reportParts, and webIO.
Referenced by commissions_report::derived_complete_event(), col_handling_rep::derived_complete_event(), col_handling_rep::derived_prerow_event(), reform_base::doSubReport(), emitData(), emitEmptySet(), emitEnd(), emitHeader(), emitHeadings(), groupHandler::operator()(), avgHandler::operator()(), sumHandler::operator()(), lookupHandler::operator()(), groupHandler::pre(), groupHandler::preSums(), commissions_report::sendField(), sendField(), and simulateHeader().
| rep_base& rep_base::copyTemplates | ( | const cgiTemplates & | in | ) | [inline] |
Definition at line 73 of file rep_base.hpp.
References reportParts.
Referenced by commissions_report::commissions_report().
| virtual bool rep_base::getData | ( | string | sql | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 79 of file rep_base.hpp.
References cachedSQL, iGetData(), and opened.
Referenced by col_handling_rep::getData(), and commissions_report::run().
| virtual bool rep_base::iGetData | ( | string | sql | ) | [inline, virtual] |
Definition at line 86 of file rep_base.hpp.
References openRS::open(), opened, and read_base::rs.
Referenced by getData().
| rep_base& rep_base::emitTop | ( | string | Name | ) | [inline] |
Definition at line 92 of file rep_base.hpp.
References cgiTemplates::getParagraph(), ocString::replace(), reportParts, topKey, and webIO.
Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), main(), and commissions_report::run().
| rep_base& rep_base::emitEmptySet | ( | void | ) | [inline] |
Definition at line 99 of file rep_base.hpp.
References ocString::append(), cachedSQL, dataKey, endRowKey, part(), ocString::replace(), rowKey, simulateHeader(), and webIO.
Referenced by ReportEmitter::genReport().
| int rep_base::simulateHeader | ( | void | ) | [inline] |
Definition at line 112 of file rep_base.hpp.
References cachedSQL, ocString::endOfParse(), endRowKey, headingKey, ocString::parse(), ocString::parseInit(), part(), ocString::replace(), rowKey, ocString::tokenParse(), and webIO.
Referenced by emitEmptySet().
| rep_base& rep_base::emitHeadings | ( | string | pipedelimited = "" |
) | [inline] |
Definition at line 136 of file rep_base.hpp.
References ocString::endOfParse(), endRowKey, head, headingKey, ocString::parse(), ocString::parseInit(), part(), ocString::replace(), rowKey, and webIO.
Referenced by commissions_report::run().
| rep_base& rep_base::emitEnd | ( | string | extra = "" |
) | [inline] |
Definition at line 163 of file rep_base.hpp.
References endKey, part(), ocString::replace(), and webIO.
Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), main(), and commissions_report::run().
| void rep_base::setColFormat | ( | string | fmt, | |
| int | pos | |||
| ) | [inline] |
Definition at line 170 of file rep_base.hpp.
References openRS::getField(), openRS::getFieldCount(), read_base::rs, and basicField::setFormatMask().
| rep_base& rep_base::emitHeader | ( | void | ) | [inline] |
Definition at line 178 of file rep_base.hpp.
References endRowKey, openRS::getFieldCount(), getHeadCell(), head, headingKey, part(), rowKey, read_base::rs, and webIO.
Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), main(), and groupHandler::pre().
| virtual string rep_base::getHeadCell | ( | int | iField, | |
| ocString & | th | |||
| ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 201 of file rep_base.hpp.
References openRS::getField(), basicField::getName(), ocString::replace(), and read_base::rs.
Referenced by emitHeader().
| rep_base& rep_base::emitData | ( | void | ) | [inline] |
Definition at line 207 of file rep_base.hpp.
References dataKey, derived_commence_event(), derived_complete_event(), derived_postrow_event(), derived_prerow_event(), endRowKey, openRS::getFieldCount(), more_data, openRS::next(), opened, part(), row, rowKey, read_base::rs, sendField(), and webIO.
Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), main(), and commissions_report::run().
| virtual void rep_base::sendField | ( | int | iField, | |
| ocString & | td | |||
| ) | [inline, virtual] |
Reimplemented in col_handling_rep, col_handling_rep, and commissions_report.
Definition at line 232 of file rep_base.hpp.
References dataKey, basicField::format(), openRS::getField(), part(), ocString::replace(), read_base::rs, and webIO.
Referenced by emitData().
| virtual void rep_base::derived_commence_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 238 of file rep_base.hpp.
Referenced by emitData().
| virtual void rep_base::derived_prerow_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 242 of file rep_base.hpp.
Referenced by emitData().
| virtual void rep_base::derived_postrow_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 246 of file rep_base.hpp.
Referenced by emitData().
| virtual void rep_base::derived_complete_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, col_handling_rep, and commissions_report.
Definition at line 250 of file rep_base.hpp.
Referenced by emitData().
| bool rep_base::loadTemplates | ( | string | path | ) | [inline] |
Definition at line 56 of file rep_base.hpp.
References cgiTemplates::load(), reportParts, and webIO.
| ocString rep_base::part | ( | string | id | ) | [inline] |
Definition at line 66 of file rep_base.hpp.
References cgiTemplates::getParagraph(), reportParts, and webIO.
| rep_base& rep_base::copyTemplates | ( | const cgiTemplates & | in | ) | [inline] |
| virtual bool rep_base::getData | ( | string | sql | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 79 of file rep_base.hpp.
References cachedSQL, iGetData(), and opened.
| virtual bool rep_base::iGetData | ( | string | sql | ) | [inline, virtual] |
| rep_base& rep_base::emitTop | ( | string | Name | ) | [inline] |
Definition at line 92 of file rep_base.hpp.
References cgiTemplates::getParagraph(), ocString::replace(), reportParts, topKey, and webIO.
| rep_base& rep_base::emitEmptySet | ( | void | ) | [inline] |
Definition at line 99 of file rep_base.hpp.
References ocString::append(), cachedSQL, dataKey, endRowKey, part(), ocString::replace(), rowKey, simulateHeader(), and webIO.
| int rep_base::simulateHeader | ( | void | ) | [inline] |
Definition at line 112 of file rep_base.hpp.
References cachedSQL, ocString::endOfParse(), endRowKey, headingKey, ocString::parse(), ocString::parseInit(), part(), ocString::replace(), rowKey, ocString::tokenParse(), and webIO.
| rep_base& rep_base::emitHeadings | ( | string | pipedelimited = "" |
) | [inline] |
Definition at line 136 of file rep_base.hpp.
References ocString::endOfParse(), endRowKey, head, headingKey, ocString::parse(), ocString::parseInit(), part(), ocString::replace(), rowKey, and webIO.
| rep_base& rep_base::emitEnd | ( | string | extra = "" |
) | [inline] |
Definition at line 163 of file rep_base.hpp.
References endKey, part(), ocString::replace(), and webIO.
| void rep_base::setColFormat | ( | string | fmt, | |
| int | pos | |||
| ) | [inline] |
Definition at line 170 of file rep_base.hpp.
References openRS::getField(), openRS::getFieldCount(), read_base::rs, and basicField::setFormatMask().
| rep_base& rep_base::emitHeader | ( | void | ) | [inline] |
Definition at line 178 of file rep_base.hpp.
References endRowKey, openRS::getFieldCount(), getHeadCell(), head, headingKey, part(), rowKey, read_base::rs, and webIO.
| virtual string rep_base::getHeadCell | ( | int | iField, | |
| ocString & | th | |||
| ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 201 of file rep_base.hpp.
References openRS::getField(), basicField::getName(), ocString::replace(), and read_base::rs.
| rep_base& rep_base::emitData | ( | void | ) | [inline] |
Definition at line 207 of file rep_base.hpp.
References dataKey, derived_commence_event(), derived_complete_event(), derived_postrow_event(), derived_prerow_event(), endRowKey, openRS::getFieldCount(), more_data, openRS::next(), opened, part(), row, rowKey, read_base::rs, sendField(), and webIO.
| virtual void rep_base::sendField | ( | int | iField, | |
| ocString & | td | |||
| ) | [inline, virtual] |
Reimplemented in col_handling_rep, col_handling_rep, and commissions_report.
Definition at line 232 of file rep_base.hpp.
References dataKey, basicField::format(), openRS::getField(), part(), ocString::replace(), read_base::rs, and webIO.
| virtual void rep_base::derived_commence_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 238 of file rep_base.hpp.
| virtual void rep_base::derived_prerow_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 242 of file rep_base.hpp.
| virtual void rep_base::derived_postrow_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, and col_handling_rep.
Definition at line 246 of file rep_base.hpp.
| virtual void rep_base::derived_complete_event | ( | void | ) | [inline, virtual] |
Reimplemented in col_handling_rep, col_handling_rep, and commissions_report.
Definition at line 250 of file rep_base.hpp.
Definition at line 34 of file rep_base.hpp.
Referenced by copyTemplates(), reform_base::doSubReport(), emitTop(), col_handling_rep::fpart(), col_handling_rep::getHeadCell(), loadTemplates(), and part().
| string rep_base::head |
| string rep_base::cachedSQL |
Definition at line 36 of file rep_base.hpp.
Referenced by emitEmptySet(), getData(), and simulateHeader().
| ostream& rep_base::webIO |
Definition at line 37 of file rep_base.hpp.
Referenced by commissions_report::derived_complete_event(), col_handling_rep::derived_complete_event(), col_handling_rep::derived_postrow_event(), col_handling_rep::derived_prerow_event(), emitData(), emitEmptySet(), emitEnd(), emitHeader(), emitHeadings(), emitTop(), col_handling_rep::getData(), loadTemplates(), groupHandler::operator()(), avgHandler::operator()(), sumHandler::operator()(), lookupHandler::operator()(), spawnHandler::operator()(), part(), groupHandler::pre(), groupHandler::preSums(), commissions_report::sendField(), sendField(), col_handling_rep::sendField(), and simulateHeader().
| bool rep_base::opened |
| bool rep_base::more_data |
Definition at line 39 of file rep_base.hpp.
Referenced by col_handling_rep::derived_prerow_event(), and emitData().
| long rep_base::row |
Definition at line 40 of file rep_base.hpp.
Referenced by col_handling_rep::derived_prerow_event(), and emitData().
| string rep_base::topKey |
Definition at line 42 of file rep_base.hpp.
Referenced by commissions_report::commissions_report(), and emitTop().
| string rep_base::endKey |
Definition at line 42 of file rep_base.hpp.
Referenced by commissions_report::commissions_report(), and emitEnd().
| string rep_base::rowKey |
Definition at line 42 of file rep_base.hpp.
Referenced by commissions_report::derived_complete_event(), emitData(), emitEmptySet(), emitHeader(), emitHeadings(), and simulateHeader().
| string rep_base::endRowKey |
Definition at line 42 of file rep_base.hpp.
Referenced by commissions_report::derived_complete_event(), emitData(), emitEmptySet(), emitHeader(), emitHeadings(), and simulateHeader().
| string rep_base::headingKey |
Definition at line 42 of file rep_base.hpp.
Referenced by emitHeader(), emitHeadings(), and simulateHeader().
| string rep_base::dataKey |
Definition at line 42 of file rep_base.hpp.
Referenced by commissions_report::derived_complete_event(), emitData(), emitEmptySet(), commissions_report::sendField(), and sendField().
| ostream& rep_base::webIO |
Definition at line 37 of file rep_base.hpp.
1.5.5