page Class Reference

#include <page.hpp>

Inheritance diagram for page:

Inheritance graph
[legend]
Collaboration diagram for page:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 page (cgiScript &in)
virtual ~page ()
string getLoadResult (void)
virtual bool load (void)
void addGlobalContent (string tag, ocString &part)
virtual bool emitTop (void)
virtual bool emitSpacer (string name)
virtual bool emitEnd (void)
virtual bool emitMenu (string startTag, string endTag, string boundStart="", string boundEnd="")
virtual bool emitContent (string contentTags, string replaceTag)
long long id (void)
long long site_id (void)
long long template_id (void)
string name (void)
string url (void)
string meta_description (void)
string loaded_control_string (void)
string paragraph_string (string name)
page_paragraphsget_page_paragraphs (void)
page_templateget_template (void)
void id (long long in)
void site_id (long long in)
void template_id (long long in)
void name (string in)
void url (string in)
void meta_description (string in)
cgiScriptget_script (void)
page_menusget_menus (void)
 page (cgiScript &in)
virtual ~page ()
string getLoadResult (void)
virtual bool load (void)
void addGlobalContent (string tag, ocString &part)
virtual string getTop (void)
virtual string getSpacer (string name)
virtual string getEnd (void)
virtual bool emitMenu (string name, string startTag, string endTag, string boundStart="", string boundEnd="")
virtual bool emitContent (string contentTags, string replaceTag, string section="")
long long id (void)
long long site_id (void)
long long template_id (void)
string name (void)
string url (void)
string meta_description (void)
string loaded_control_string (void)
string paragraph_string (string name)
page_paragraphsget_page_paragraphs (void)
page_templateget_template (void)
void id (long long in)
void site_id (long long in)
void template_id (long long in)
void name (string in)
void url (string in)
void meta_description (string in)
cgiScriptget_script (void)
page_menusget_menus (void)
 page ()
virtual bool uvalidate (changeMap &changes)
bool usupplemental (changeMap &changes)
bool isupplemental (void)
void deletePageMenus (void)
void deletePageParagraphs (void)
void createPageMenus (void)
virtual bool dsupplemental (void)
 page (cgiScript &in)
virtual ~page ()
string getLoadResult (void)
virtual bool load (void)
void addGlobalContent (string tag, ocString &part)
virtual bool emitTop (void)
virtual bool emitSpacer (string name)
virtual bool emitEnd (void)
virtual bool emitMenu (string startTag, string endTag, string boundStart="", string boundEnd="")
virtual bool emitContent (string contentTags, string replaceTag)
long long id (void)
long long site_id (void)
long long template_id (void)
string name (void)
string url (void)
string meta_description (void)
string loaded_control_string (void)
string paragraph_string (string name)
page_paragraphsget_page_paragraphs (void)
page_templateget_template (void)
void id (long long in)
void site_id (long long in)
void template_id (long long in)
void name (string in)
void url (string in)
void meta_description (string in)
cgiScriptget_script (void)
page_menusget_menus (void)
 page ()
virtual bool uvalidate (changeMap &changes)
bool usupplemental (changeMap &changes)
bool isupplemental (void)
void deletePageMenus (void)
void deletePageParagraphs (void)
void createPageMenus (void)
virtual bool dsupplemental (void)

Public Attributes

string editIcon
identifier id
long long site_id
long long template_id
string name
string url
string meta_description

Protected Member Functions

string getSql (string url, string domain)
void propset (void)
string getSql (string url, string domain)
void propset (void)
string getSql (string url, string domain)
void propset (void)

Protected Attributes

long long m_id
long long m_site_id
long long m_template_id
string m_name
string m_url
string m_meta_description
string sql
bool defaultPage
cgiScriptscript
page_template pg_template
page_menus pg_menus
page_paragraphs pg_paragraphs
global_contents m_global_contents
ocString loadResults
cgiScriptscript
cgiScriptscript


Detailed Description

Definition at line 114 of file page.hpp.


Constructor & Destructor Documentation

page::page ( cgiScript in  )  [inline]

Definition at line 175 of file page.hpp.

virtual page::~page (  )  [inline, virtual]

Definition at line 182 of file page.hpp.

page::page ( cgiScript in  )  [inline]

Definition at line 94 of file page.hpp.

virtual page::~page (  )  [inline, virtual]

Definition at line 101 of file page.hpp.

page::page (  )  [inline]

page::page ( cgiScript in  )  [inline]

Definition at line 175 of file page.hpp.

virtual page::~page (  )  [inline, virtual]

Definition at line 182 of file page.hpp.

page::page (  )  [inline]


Member Function Documentation

string page::getSql ( string  url,
string  domain 
) [inline, protected]

Definition at line 117 of file page.hpp.

References sql.

Referenced by load().

void page::propset ( void   )  [inline, protected]

string page::getLoadResult ( void   )  [inline]

Definition at line 186 of file page.hpp.

References loadResults.

Referenced by main().

virtual bool page::load ( void   )  [inline, virtual]

void page::addGlobalContent ( string  tag,
ocString part 
) [inline]

Definition at line 237 of file page.hpp.

References m_global_contents, and ocString::replace().

Referenced by emitEnd(), emitSpacer(), emitTop(), getEnd(), getSpacer(), and getTop().

virtual bool page::emitTop ( void   )  [inline, virtual]

virtual bool page::emitSpacer ( string  name  )  [inline, virtual]

Definition at line 262 of file page.hpp.

References addGlobalContent(), m_name, paragraph_string(), ocString::replace(), and script.

Referenced by spacer_functor::operator()().

virtual bool page::emitEnd ( void   )  [inline, virtual]

virtual bool page::emitMenu ( string  startTag,
string  endTag,
string  boundStart = "",
string  boundEnd = "" 
) [inline, virtual]

virtual bool page::emitContent ( string  contentTags,
string  replaceTag 
) [inline, virtual]

long long page::id ( void   )  [inline]

Definition at line 301 of file page.hpp.

References m_id.

Referenced by createPageMenus().

long long page::site_id ( void   )  [inline]

long long page::template_id ( void   )  [inline]

string page::name ( void   )  [inline]

Definition at line 304 of file page.hpp.

References m_name.

Referenced by page_form::form_data_transfer(), page_form::form_display(), isupplemental(), and page().

string page::url ( void   )  [inline]

Definition at line 305 of file page.hpp.

References m_url.

Referenced by page_form::form_data_transfer(), page_form::form_display(), isupplemental(), page(), and uvalidate().

string page::meta_description ( void   )  [inline]

Definition at line 306 of file page.hpp.

References m_meta_description.

Referenced by page_form::form_data_transfer(), page_form::form_display(), and page().

string page::loaded_control_string ( void   )  [inline]

Definition at line 309 of file page.hpp.

References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.

Referenced by main().

string page::paragraph_string ( string  name  )  [inline]

page_paragraphs& page::get_page_paragraphs ( void   )  [inline]

page_template& page::get_template ( void   )  [inline]

void page::id ( long long  in  )  [inline]

Definition at line 369 of file page.hpp.

References m_id.

void page::site_id ( long long  in  )  [inline]

Definition at line 370 of file page.hpp.

References m_site_id.

void page::template_id ( long long  in  )  [inline]

Definition at line 371 of file page.hpp.

References m_template_id.

void page::name ( string  in  )  [inline]

Definition at line 372 of file page.hpp.

References m_name.

void page::url ( string  in  )  [inline]

Definition at line 373 of file page.hpp.

References m_url.

void page::meta_description ( string  in  )  [inline]

Definition at line 374 of file page.hpp.

References m_meta_description.

cgiScript& page::get_script ( void   )  [inline]

Definition at line 376 of file page.hpp.

References script.

Referenced by spacer_functor::operator()(), end_functor::operator()(), and top_functor::operator()().

page_menus& page::get_menus ( void   )  [inline]

Definition at line 377 of file page.hpp.

References pg_menus.

Referenced by menu_functor::operator()().

string page::getSql ( string  url,
string  domain 
) [inline, protected]

Definition at line 32 of file page.hpp.

References sql.

void page::propset ( void   )  [inline, protected]

string page::getLoadResult ( void   )  [inline]

Definition at line 105 of file page.hpp.

References loadResults.

virtual bool page::load ( void   )  [inline, virtual]

void page::addGlobalContent ( string  tag,
ocString part 
) [inline]

Definition at line 155 of file page.hpp.

References m_global_contents, and ocString::replace().

virtual string page::getTop ( void   )  [inline, virtual]

virtual string page::getSpacer ( string  name  )  [inline, virtual]

Definition at line 180 of file page.hpp.

References addGlobalContent(), m_name, paragraph_string(), and ocString::replace().

Referenced by spacer_functor::operator()().

virtual string page::getEnd ( void   )  [inline, virtual]

Definition at line 186 of file page.hpp.

References addGlobalContent(), cgiTemplates::getParagraph(), and pg_template.

Referenced by end_functor::operator()().

virtual bool page::emitMenu ( string  name,
string  startTag,
string  endTag,
string  boundStart = "",
string  boundEnd = "" 
) [inline, virtual]

virtual bool page::emitContent ( string  contentTags,
string  replaceTag,
string  section = "" 
) [inline, virtual]

long long page::id ( void   )  [inline]

Definition at line 216 of file page.hpp.

References m_id.

long long page::site_id ( void   )  [inline]

Definition at line 217 of file page.hpp.

References m_site_id.

long long page::template_id ( void   )  [inline]

Definition at line 218 of file page.hpp.

References m_template_id.

string page::name ( void   )  [inline]

Definition at line 219 of file page.hpp.

References m_name.

string page::url ( void   )  [inline]

Definition at line 220 of file page.hpp.

References m_url.

string page::meta_description ( void   )  [inline]

Definition at line 221 of file page.hpp.

References m_meta_description.

string page::loaded_control_string ( void   )  [inline]

Definition at line 224 of file page.hpp.

References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.

string page::paragraph_string ( string  name  )  [inline]

Definition at line 249 of file page.hpp.

References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.

page_paragraphs& page::get_page_paragraphs ( void   )  [inline]

Definition at line 272 of file page.hpp.

References pg_paragraphs.

page_template& page::get_template ( void   )  [inline]

Definition at line 278 of file page.hpp.

References pg_template.

void page::id ( long long  in  )  [inline]

Definition at line 284 of file page.hpp.

References m_id.

void page::site_id ( long long  in  )  [inline]

Definition at line 285 of file page.hpp.

References m_site_id.

void page::template_id ( long long  in  )  [inline]

Definition at line 286 of file page.hpp.

References m_template_id.

void page::name ( string  in  )  [inline]

Definition at line 287 of file page.hpp.

References m_name.

void page::url ( string  in  )  [inline]

Definition at line 288 of file page.hpp.

References m_url.

void page::meta_description ( string  in  )  [inline]

Definition at line 289 of file page.hpp.

References m_meta_description.

cgiScript& page::get_script ( void   )  [inline]

Definition at line 291 of file page.hpp.

References script.

page_menus& page::get_menus ( void   )  [inline]

Definition at line 292 of file page.hpp.

References pg_menus.

virtual bool page::uvalidate ( changeMap changes  )  [inline, virtual]

bool page::usupplemental ( changeMap changes  )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 98 of file page_obj.hpp.

References createPageMenus(), and deletePageMenus().

bool page::isupplemental ( void   )  [inline, virtual]

void page::deletePageMenus ( void   )  [inline]

Definition at line 119 of file page_obj.hpp.

References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.

Referenced by dsupplemental(), and usupplemental().

void page::deletePageParagraphs ( void   )  [inline]

Definition at line 125 of file page_obj.hpp.

References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.

Referenced by dsupplemental().

void page::createPageMenus ( void   )  [inline]

virtual bool page::dsupplemental ( void   )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 194 of file page_obj.hpp.

References deletePageMenus(), and deletePageParagraphs().

string page::getSql ( string  url,
string  domain 
) [inline, protected]

Definition at line 117 of file page.hpp.

References sql.

void page::propset ( void   )  [inline, protected]

string page::getLoadResult ( void   )  [inline]

Definition at line 186 of file page.hpp.

References loadResults.

virtual bool page::load ( void   )  [inline, virtual]

void page::addGlobalContent ( string  tag,
ocString part 
) [inline]

Definition at line 237 of file page.hpp.

References m_global_contents, and ocString::replace().

virtual bool page::emitTop ( void   )  [inline, virtual]

virtual bool page::emitSpacer ( string  name  )  [inline, virtual]

Definition at line 262 of file page.hpp.

References addGlobalContent(), m_name, paragraph_string(), ocString::replace(), and script.

virtual bool page::emitEnd ( void   )  [inline, virtual]

Definition at line 269 of file page.hpp.

References addGlobalContent(), cgiTemplates::getParagraph(), pg_template, and script.

virtual bool page::emitMenu ( string  startTag,
string  endTag,
string  boundStart = "",
string  boundEnd = "" 
) [inline, virtual]

virtual bool page::emitContent ( string  contentTags,
string  replaceTag 
) [inline, virtual]

long long page::id ( void   )  [inline]

Definition at line 301 of file page.hpp.

References m_id.

long long page::site_id ( void   )  [inline]

Definition at line 302 of file page.hpp.

References m_site_id.

long long page::template_id ( void   )  [inline]

Definition at line 303 of file page.hpp.

References m_template_id.

string page::name ( void   )  [inline]

Definition at line 304 of file page.hpp.

References m_name.

string page::url ( void   )  [inline]

Definition at line 305 of file page.hpp.

References m_url.

string page::meta_description ( void   )  [inline]

Definition at line 306 of file page.hpp.

References m_meta_description.

string page::loaded_control_string ( void   )  [inline]

Definition at line 309 of file page.hpp.

References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.

string page::paragraph_string ( string  name  )  [inline]

Definition at line 334 of file page.hpp.

References cgiTemplates::getParagraphs(), page_template::id(), and pg_template.

page_paragraphs& page::get_page_paragraphs ( void   )  [inline]

Definition at line 357 of file page.hpp.

References pg_paragraphs.

page_template& page::get_template ( void   )  [inline]

Definition at line 363 of file page.hpp.

References pg_template.

void page::id ( long long  in  )  [inline]

Definition at line 369 of file page.hpp.

References m_id.

void page::site_id ( long long  in  )  [inline]

Definition at line 370 of file page.hpp.

References m_site_id.

void page::template_id ( long long  in  )  [inline]

Definition at line 371 of file page.hpp.

References m_template_id.

void page::name ( string  in  )  [inline]

Definition at line 372 of file page.hpp.

References m_name.

void page::url ( string  in  )  [inline]

Definition at line 373 of file page.hpp.

References m_url.

void page::meta_description ( string  in  )  [inline]

Definition at line 374 of file page.hpp.

References m_meta_description.

cgiScript& page::get_script ( void   )  [inline]

Definition at line 376 of file page.hpp.

References script.

page_menus& page::get_menus ( void   )  [inline]

Definition at line 377 of file page.hpp.

References pg_menus.

virtual bool page::uvalidate ( changeMap changes  )  [inline, virtual]

bool page::usupplemental ( changeMap changes  )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 92 of file page.hpp.

References createPageMenus(), and deletePageMenus().

bool page::isupplemental ( void   )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 101 of file page.hpp.

References createPageMenus(), read_write_base::db_insert(), name(), link::name, site_id(), link::site_id, url(), and link::url.

void page::deletePageMenus ( void   )  [inline]

Definition at line 113 of file page.hpp.

References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.

void page::deletePageParagraphs ( void   )  [inline]

Definition at line 119 of file page.hpp.

References ocString::append(), read_write_base::cmd, openCMD::execute(), and sql.

void page::createPageMenus ( void   )  [inline]

virtual bool page::dsupplemental ( void   )  [inline, virtual]

Reimplemented from read_write_base.

Definition at line 183 of file page.hpp.

References deletePageMenus(), and deletePageParagraphs().


Member Data Documentation

long long page::m_id [protected]

Definition at line 146 of file page.hpp.

Referenced by id(), and propset().

long long page::m_site_id [protected]

Definition at line 147 of file page.hpp.

Referenced by propset(), and site_id().

long long page::m_template_id [protected]

Definition at line 148 of file page.hpp.

Referenced by propset(), and template_id().

string page::m_name [protected]

Reimplemented from read_write_base.

Definition at line 149 of file page.hpp.

Referenced by emitSpacer(), emitTop(), getSpacer(), getTop(), name(), and propset().

string page::m_url [protected]

Definition at line 150 of file page.hpp.

Referenced by propset(), and url().

string page::m_meta_description [protected]

Definition at line 151 of file page.hpp.

Referenced by emitTop(), getTop(), meta_description(), and propset().

string page::sql [protected]

bool page::defaultPage [protected]

Definition at line 155 of file page.hpp.

Referenced by emitMenu(), and load().

cgiScript& page::script [protected]

Definition at line 165 of file page.hpp.

Referenced by emitMenu(), get_menus(), and load().

Definition at line 168 of file page.hpp.

Referenced by emitContent(), get_page_paragraphs(), load(), and show_page::loadSlides().

Definition at line 171 of file page.hpp.

Referenced by addGlobalContent(), and load().

Definition at line 172 of file page.hpp.

Referenced by getLoadResult(), and load().

cgiScript& page::script [protected]

Definition at line 73 of file page.hpp.

Definition at line 91 of file page.hpp.

long long page::site_id

Definition at line 55 of file page_obj.hpp.

Referenced by servicelist_functor::fixURI(), and importPages().

long long page::template_id

Definition at line 56 of file page_obj.hpp.

Referenced by exportPages(), and importPages().

string page::name

Definition at line 57 of file page_obj.hpp.

Referenced by exportPages(), and importPages().

string page::url

Definition at line 58 of file page_obj.hpp.

Referenced by exportPages(), and importPages().

Definition at line 59 of file page_obj.hpp.

Referenced by exportPages(), and importPages().

cgiScript& page::script [protected]

Definition at line 158 of file page.hpp.


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

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