#include <col_handling_rep.hpp>


handles reports that perform special operations on columns like grouping. summing and specialized formatting.
Definition at line 172 of file col_handling_rep.hpp.
events described as follows:
| commence_event | |
| prerow_event | |
| field_event | |
| postfield_event | |
| postrow_event | |
| complete_event | |
| commence_event | |
| prerow_event | |
| field_event | |
| postfield_event | |
| postrow_event | |
| complete_event |
Definition at line 190 of file col_handling_rep.hpp.
events described as follows:
| commence_event | |
| prerow_event | |
| field_event | |
| postfield_event | |
| postrow_event | |
| complete_event | |
| commence_event | |
| prerow_event | |
| field_event | |
| postfield_event | |
| postrow_event | |
| complete_event |
Definition at line 190 of file col_handling_rep.hpp.
| col_handling_rep::col_handling_rep | ( | ostream & | sc | ) | [inline] |
Definition at line 199 of file col_handling_rep.hpp.
| virtual col_handling_rep::~col_handling_rep | ( | ) | [inline, virtual] |
| col_handling_rep::col_handling_rep | ( | ostream & | sc | ) | [inline] |
Definition at line 199 of file col_handling_rep.hpp.
| virtual col_handling_rep::~col_handling_rep | ( | ) | [inline, virtual] |
Definition at line 204 of file col_handling_rep.hpp.
References ocString::append(), ocString::parse(), ocString::replace(), and ocString::replaceAll().
Referenced by filter().
| string col_handling_rep::filter | ( | string & | sql | ) | [inline] |
Definition at line 230 of file col_handling_rep.hpp.
References Session_Obj::GetData(), paramFilter(), and ocString::parse().
Referenced by getData().
| bool col_handling_rep::getData | ( | string | sql | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 248 of file col_handling_rep.hpp.
References doParamFilter, filter(), rep_base::getData(), and rep_base::webIO.
Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), and main().
| void col_handling_rep::addColumnHandlers | ( | long long | Report_Id | ) | [inline] |
Definition at line 258 of file col_handling_rep.hpp.
References addFormat(), addHandler(), ocString::append(), openRS::close(), handlerSQL, openRS::next(), openRS::open(), and read_base::rs.
Referenced by reform_base::doSubReport(), ReportEmitter::genReport(), and main().
| void col_handling_rep::addFormat | ( | void | ) | [inline] |
Definition at line 272 of file col_handling_rep.hpp.
References colFormats, basicField::format(), openRS::getField(), and read_base::rs.
Referenced by addColumnHandlers().
| string col_handling_rep::formatField | ( | int | iField | ) | [inline] |
Definition at line 294 of file col_handling_rep.hpp.
References colFormats, basicField::format(), openRS::getField(), and read_base::rs.
Referenced by sendField().
| string col_handling_rep::formatValue | ( | int | iField, | |
| string | val | |||
| ) | [inline] |
Definition at line 308 of file col_handling_rep.hpp.
References colFormats.
Referenced by avgHandler::operator()(), and sumHandler::operator()().
| ocString col_handling_rep::fpart | ( | string | key, | |
| int | iField, | |||
| bool | doReplace = true | |||
| ) | [inline] |
Definition at line 319 of file col_handling_rep.hpp.
References colFormats, formatHandler::ftype, cgiTemplates::getParagraph(), and rep_base::reportParts.
Referenced by sendField().
| void col_handling_rep::addHandler | ( | void | ) |
Definition at line 1059 of file col_handling_rep.hpp.
References basicField::format(), openRS::getField(), and read_base::rs.
Referenced by addColumnHandlers().
| void col_handling_rep::addHandler | ( | colHandler * | hndlr | ) | [inline] |
Definition at line 337 of file col_handling_rep.hpp.
References colHandlers, and colHandler::column().
| virtual void col_handling_rep::sendField | ( | int | iField, | |
| ocString & | td | |||
| ) | [inline, virtual] |
NEW post field event
Reimplemented from rep_base.
Definition at line 358 of file col_handling_rep.hpp.
References colHandlers, field_event, formatField(), fpart(), openRS::getField(), basicField::getName(), postfield_event, ocString::replace(), read_base::rs, and rep_base::webIO.
| virtual string col_handling_rep::getHeadCell | ( | int | iField, | |
| ocString & | th | |||
| ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 381 of file col_handling_rep.hpp.
References colHandlers, openRS::getField(), basicField::getName(), cgiTemplates::getParagraph(), ocString::replace(), rep_base::reportParts, and read_base::rs.
| virtual void col_handling_rep::derived_commence_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 406 of file col_handling_rep.hpp.
References colHandlers, commence_event, fieldCount, openRS::getFieldCount(), and read_base::rs.
| virtual void col_handling_rep::derived_prerow_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 423 of file col_handling_rep.hpp.
References colHandlers, fieldCount, Items_Per_Page, rep_base::more_data, rep_base::part(), prerow_event, rep_base::row, and rep_base::webIO.
| virtual void col_handling_rep::derived_postrow_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 446 of file col_handling_rep.hpp.
References colHandlers, fieldCount, postrow_event, and rep_base::webIO.
| virtual void col_handling_rep::derived_complete_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 461 of file col_handling_rep.hpp.
References colHandlers, complete_event, fieldCount, rep_base::part(), ocString::replace(), and rep_base::webIO.
| openRS& col_handling_rep::getRS | ( | ) | [inline] |
Definition at line 514 of file col_handling_rep.hpp.
References read_base::rs.
Referenced by groupHandler::commence(), groupHandler::operator()(), avgHandler::operator()(), sumHandler::operator()(), lookupHandler::operator()(), and spawnHandler::operator()().
Definition at line 204 of file col_handling_rep.hpp.
References ocString::append(), ocString::parse(), ocString::replace(), and ocString::replaceAll().
| string col_handling_rep::filter | ( | string & | sql | ) | [inline] |
Definition at line 230 of file col_handling_rep.hpp.
References Session_Obj::GetData(), paramFilter(), and ocString::parse().
| bool col_handling_rep::getData | ( | string | sql | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 248 of file col_handling_rep.hpp.
References doParamFilter, filter(), rep_base::getData(), and rep_base::webIO.
| void col_handling_rep::addColumnHandlers | ( | long long | Report_Id | ) | [inline] |
Definition at line 258 of file col_handling_rep.hpp.
References addFormat(), addHandler(), ocString::append(), openRS::close(), handlerSQL, openRS::next(), openRS::open(), and read_base::rs.
| void col_handling_rep::addFormat | ( | void | ) | [inline] |
Definition at line 272 of file col_handling_rep.hpp.
References colFormats, basicField::format(), openRS::getField(), and read_base::rs.
| string col_handling_rep::formatField | ( | int | iField | ) | [inline] |
Definition at line 294 of file col_handling_rep.hpp.
References colFormats, basicField::format(), openRS::getField(), and read_base::rs.
| string col_handling_rep::formatValue | ( | int | iField, | |
| string | val | |||
| ) | [inline] |
| ocString col_handling_rep::fpart | ( | string | key, | |
| int | iField, | |||
| bool | doReplace = true | |||
| ) | [inline] |
Definition at line 319 of file col_handling_rep.hpp.
References colFormats, formatHandler::ftype, cgiTemplates::getParagraph(), and rep_base::reportParts.
| void col_handling_rep::addHandler | ( | void | ) |
| void col_handling_rep::addHandler | ( | colHandler * | hndlr | ) | [inline] |
Definition at line 337 of file col_handling_rep.hpp.
References colHandlers, and colHandler::column().
| virtual void col_handling_rep::sendField | ( | int | iField, | |
| ocString & | td | |||
| ) | [inline, virtual] |
NEW post field event
Reimplemented from rep_base.
Definition at line 358 of file col_handling_rep.hpp.
References colHandlers, field_event, formatField(), fpart(), openRS::getField(), basicField::getName(), postfield_event, ocString::replace(), read_base::rs, and rep_base::webIO.
| virtual string col_handling_rep::getHeadCell | ( | int | iField, | |
| ocString & | th | |||
| ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 381 of file col_handling_rep.hpp.
References colHandlers, openRS::getField(), basicField::getName(), cgiTemplates::getParagraph(), ocString::replace(), rep_base::reportParts, and read_base::rs.
| virtual void col_handling_rep::derived_commence_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 406 of file col_handling_rep.hpp.
References colHandlers, commence_event, fieldCount, openRS::getFieldCount(), and read_base::rs.
| virtual void col_handling_rep::derived_prerow_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 423 of file col_handling_rep.hpp.
References colHandlers, fieldCount, Items_Per_Page, rep_base::more_data, rep_base::part(), prerow_event, rep_base::row, and rep_base::webIO.
| virtual void col_handling_rep::derived_postrow_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 446 of file col_handling_rep.hpp.
References colHandlers, fieldCount, postrow_event, and rep_base::webIO.
| virtual void col_handling_rep::derived_complete_event | ( | void | ) | [inline, virtual] |
Reimplemented from rep_base.
Definition at line 461 of file col_handling_rep.hpp.
References colHandlers, complete_event, fieldCount, rep_base::part(), ocString::replace(), and rep_base::webIO.
| openRS& col_handling_rep::getRS | ( | ) | [inline] |
colHandler [friend] |
Definition at line 519 of file col_handling_rep.hpp.
ocString col_handling_rep::handlerSQL [private] |
Definition at line 192 of file col_handling_rep.hpp.
Referenced by addHandler(), groupHandler::commence(), derived_commence_event(), derived_complete_event(), derived_postrow_event(), derived_prerow_event(), getHeadCell(), groupHandler::operator()(), groupHandler::preGroups(), groupHandler::preSums(), sendField(), and ~col_handling_rep().
Definition at line 193 of file col_handling_rep.hpp.
Referenced by addFormat(), formatField(), formatValue(), fpart(), and ~col_handling_rep().
Definition at line 194 of file col_handling_rep.hpp.
Referenced by groupHandler::commence(), derived_commence_event(), derived_complete_event(), derived_postrow_event(), derived_prerow_event(), groupHandler::preGroups(), and groupHandler::preSums().
Definition at line 195 of file col_handling_rep.hpp.
Referenced by reform_base::doSubReport(), and ReportEmitter::genReport().
Definition at line 197 of file col_handling_rep.hpp.
Referenced by ReportEmitter::genReport(), and getData().
1.5.5