#include <cgiTemplates.h>


Public Member Functions | |
| cgiTemplates () | |
| ~cgiTemplates () | |
| bool | load (const char *filename) |
| cgiTemplates & | operator= (const cgiTemplates &in) |
| string & | getParagraph (const string &key) |
| string & | getParagraph (const char *key) |
| void | commentsOn (void) |
| void | commentsOff (void) |
| string & | getUnparsedHtml (void) |
| paragraphMap & | getParagraphs (void) |
| cgiTemplates () | |
| ~cgiTemplates () | |
| bool | load (const char *filename) |
| cgiTemplates & | operator= (const cgiTemplates &in) |
| string & | getParagraph (const string &key) |
| string & | getParagraph (const char *key) |
| void | commentsOn (void) |
| void | commentsOff (void) |
| string & | getUnparsedHtml (void) |
| paragraphMap & | getParagraphs (void) |
Private Member Functions | |
| bool | parse (void) |
| bool | parse (void) |
Private Attributes | |
| ocString | unparsed |
| paragraphMap | parsed |
| bool | comments |
Definition at line 68 of file cgiTemplates.h.
| cgiTemplates::cgiTemplates | ( | ) |
Definition at line 13 of file cgiTemplates.cpp.
| cgiTemplates::~cgiTemplates | ( | ) |
Definition at line 28 of file cgiTemplates.cpp.
| cgiTemplates::cgiTemplates | ( | ) |
| cgiTemplates::~cgiTemplates | ( | ) |
| bool cgiTemplates::parse | ( | void | ) | [private] |
Definition at line 65 of file cgiTemplates.cpp.
References comments, ocString::endOfParse(), ocString::parse(), parsed, ocString::parseInit(), and unparsed.
Referenced by load().
| bool cgiTemplates::load | ( | const char * | filename | ) |
Definition at line 34 of file cgiTemplates.cpp.
References parse(), and unparsed.
Referenced by Category_List::Category_List(), controlLayout::controlLayout(), page::createPageMenus(), mailpage::emitFormOrAck(), filePicker::fileList(), group_siteForm(), group_siteList(), imagePicker::imageList(), intraMain(), linkForm(), linkList(), ReportEmitter::listReports(), page_template::load(), forms_base::loadControlTemplates(), sublist_base::loadListTemplates(), list_base::loadListTemplates(), reform_base::loadTemplate(), rep_base::loadTemplates(), main(), menu_item_List::menu_item_List(), ocTreeControl::ocTreeControl(), pageForm(), paramForm(), ReportEmitter::paramForm(), presentation(), proofs::proofs(), richForm::richForm(), show(), virtualStore::showDesigner(), tagList(), templateList(), and templateTests().
| cgiTemplates & cgiTemplates::operator= | ( | const cgiTemplates & | in | ) |
| string & cgiTemplates::getParagraph | ( | const string & | key | ) |
Definition at line 112 of file cgiTemplates.cpp.
References parsed.
Referenced by baseTreeNode::baseTreeNode(), controlLayout::controlLayout(), page::createPageMenus(), global_content_List::derived_complete_event(), menu_item_List::derived_complete_event(), Ordered_List::derived_complete_event(), services_List::derived_complete_event(), reform_base::doSubReport(), sublist_base::emitData(), list_base::emitData(), sublist_base::emitEnd(), list_base::emitEnd(), page::emitEnd(), list_base::emitFilter(), list_base::emitFilters(), mailpage::emitFormOrAck(), sublist_base::emitHeadings(), list_base::emitHeadings(), list_base::emitNavigation(), rep_base::emitTop(), page::emitTop(), filePicker::fileList(), Report_Parameters_form::filterList(), page_menu_form::form_display(), menu_form::form_display(), menu_item_form::form_display(), links_Form::form_display(), Unit_form::form_display(), Style_form::form_display(), Size_form::form_display(), Size_Price_form::form_display(), Proofing_form::form_display(), Proofing_Text_Area_form::form_display(), Promotion_form::form_display(), Product_form::form_display(), Product_Line_form::form_display(), Product_Categories_form::form_display(), Payment_Type_Parameter_form::form_display(), Payment_Service_form::form_display(), Ordered_form::form_display(), Ordered_Item_Option_form::form_display(), Order_Status_form::form_display(), Manufacturer_form::form_display(), Designer_form::form_display(), Customer_form::form_display(), Commission_Check_form::form_display(), Color_form::form_display(), Category_form::form_display(), Affiliate_form::form_display(), page_form::form_display(), global_content_form::form_display(), services_form::form_display(), roles_form::form_display(), role_services_form::form_display(), paragraph_form::form_display(), users_form::form_display(), groups_form::form_display(), group_services_form::form_display(), Document_form::form_display(), paragraphs_form::form_display(), Work_form::form_display(), Scheme_Table_form::form_display(), Scheme_Field_form::form_display(), Report_form::form_display(), Report_Type_form::form_display(), Report_Templates_form::form_display(), Report_Parameters_form::form_display(), Query_form::form_display(), Composite_Query_form::form_display(), col_handling_rep::fpart(), page::getEnd(), col_handling_rep::getHeadCell(), page::getTop(), group_siteForm(), group_siteList(), imagePicker::imageList(), intraMain(), linkForm(), linkList(), group_sites_List::list_display(), XXXX_List::list_display(), global_content_List::list_display(), page_item_List::list_display(), menu_item_List::list_display(), links_List::list_display(), Unit_List::list_display(), Size_List::list_display(), Size_Price_List::list_display(), Proofing_List::list_display(), Proofing_Text_Area_List::list_display(), Promotion_List::list_display(), Product_List::list_display(), Style_List::list_display(), Product_Line_List::list_display(), Payment_Type_Parameter_List::list_display(), Payment_Service_List::list_display(), Ordered_Item_Option_List::list_display(), Order_Status_List::list_display(), Manufacturer_List::list_display(), Font_List::list_display(), Designer_List::list_display(), Customer_List::list_display(), Commission_Check_List::list_display(), Color_List::list_display(), Product_Categories_List::list_display(), Affiliate_List::list_display(), Ordered_List::list_display(), pages_List::list_display(), paragraphs_List::list_display(), roles_List::list_display(), role_services_List::list_display(), users_List::list_display(), groups_List::list_display(), services_List::list_display(), Document_List::list_display(), Work_List::list_display(), WorkItems::list_display(), Scheme_Table_List::list_display(), Scheme_Field_List::list_display(), Report_Conditioning_List::list_display(), Report_Type_List::list_display(), Report_Templates_List::list_display(), Report_Parameters_List::list_display(), Report_List::list_display(), ReportEmitter::listReports(), main(), forms_base::makeBoolBox(), forms_base::makeBottom(), Payment_Form::makeButtonedBottom(), Customer_form::makeButtonedBottom(), forms_base::makeButtons(), forms_base::makeCheckBoxes(), forms_base::makeComboBox(), forms_base::makeDateBox(), forms_base::makeDateGroup(), forms_base::makeEmailBox(), forms_base::makeFileBox(), forms_base::makeGenericBox(), forms_base::makeImageBox(), forms_base::makeManualComboBox(), forms_base::makeMetaBox(), forms_base::makeNumberBox(), forms_base::makePasswordBox(), forms_base::makePhoneBox(), forms_base::makeRadios(), richForm::makeRichEntry(), forms_base::makeShortBox(), forms_base::makeStateBox(), forms_base::makeStaticBox(), forms_base::makeTextArea(), forms_base::makeTextBox(), forms_base::makeTimeBox(), forms_base::makeTop(), Payment_Form::makeTop(), Customer_form::makeTop(), forms_base::makeZipBox(), ocTreeControl::ocTreeControl(), page_menuList(), pageForm(), paragraphList(), paramForm(), ReportEmitter::paramForm(), WorkItems::part(), rep_base::part(), Payment_Form::paymentSetupElement(), presentation(), reporter::rollup(), Ordered_List::sendField(), menu_item_List::sendHotField(), Category_List::sendHotField(), Report_List::sendHotField(), show(), Ordered_form::showCustomer(), proofs::showDesign(), virtualStore::showDesigner(), showMenus(), proofs::showOrderedItem(), proofs::showOrderedItems(), showPages(), showSites(), showTemplates(), tagList(), templateList(), reporter::tickMarks(), and Payment_Form::titledSep().
| string & cgiTemplates::getParagraph | ( | const char * | key | ) |
| void cgiTemplates::commentsOn | ( | void | ) |
| void cgiTemplates::commentsOff | ( | void | ) |
| string & cgiTemplates::getUnparsedHtml | ( | void | ) |
Definition at line 124 of file cgiTemplates.cpp.
References unparsed.
Referenced by mailpage::emitFormOrAck(), and reform_base::loadTemplate().
| paragraphMap& cgiTemplates::getParagraphs | ( | void | ) | [inline] |
Definition at line 99 of file cgiTemplates.h.
References parsed.
Referenced by page::emitContent(), show_page::emitDetail(), page::emitMenu(), show_page::emitSlides(), page::loaded_control_string(), reform_base::loadTemplate(), document_list_functor::operator()(), qrystr_content_functor::operator()(), page::paragraph_string(), virtualStore::putForm(), tagList(), and templateTests().
| bool cgiTemplates::parse | ( | void | ) | [private] |
| bool cgiTemplates::load | ( | const char * | filename | ) |
| cgiTemplates& cgiTemplates::operator= | ( | const cgiTemplates & | in | ) |
| string& cgiTemplates::getParagraph | ( | const string & | key | ) |
| string& cgiTemplates::getParagraph | ( | const char * | key | ) |
| void cgiTemplates::commentsOn | ( | void | ) |
| void cgiTemplates::commentsOff | ( | void | ) |
| string& cgiTemplates::getUnparsedHtml | ( | void | ) |
| paragraphMap& cgiTemplates::getParagraphs | ( | void | ) | [inline] |
ocString cgiTemplates::unparsed [private] |
paragraphMap cgiTemplates::parsed [private] |
Definition at line 72 of file cgiTemplates.h.
Referenced by getParagraph(), getParagraphs(), operator=(), and parse().
bool cgiTemplates::comments [private] |
Definition at line 73 of file cgiTemplates.h.
Referenced by commentsOff(), commentsOn(), and parse().
1.5.5