#include <Html.h>
Public Member Functions | |
void | createLink (string urlToLinkTo, string urlDisplayName, string urlToLinkFrom) |
Creates the html web link on the web page. | |
void | createTemplateLink (string urlToLinkTo, string templateString, string urlToLinkFrom) |
Adds a template string to the web page instead of a link. | |
Html () | |
Creates the html directory and writes out the default style sheet if they do not exist. | |
void | writeDefaultStyleSheet (const string &fileName) |
Write out the hardcoded default style sheet. | |
void | writeHtmlFooter (ofstream &file) |
Writes the html footer. | |
void | writeHtmlHeader (ofstream &file) |
Writes out the html header given the file handle to write with. | |
void | writeWebPages () |
Write out all the web pages stored from the links in m_links. | |
Private Attributes | |
string | m_directoryName |
The directory name where all the html pages are being written to. | |
MapWebPageMapStringLinks | m_links |
Map of web pages to a map of strings to links. | |
string | m_topCaption |
The top caption of the web page. |
This class processes the head of the web page, the foot of the webpage, methods for creating the links on the webpage, writing out the style sheet, and for writing out the entire web page.
|
Creates the html directory and writes out the default style sheet if they do not exist.
|
|
Creates the html web link on the web page.
|
|
Adds a template string to the web page instead of a link.
|
|
Write out the hardcoded default style sheet.
|
|
Writes the html footer.
|
|
Writes out the html header given the file handle to write with.
|
|
Write out all the web pages stored from the links in m_links.
|
|
The directory name where all the html pages are being written to.
|
|
Map of web pages to a map of strings to links. It's a map of web pages and their links. This is the main data structure of webpages and their links. |
|
The top caption of the web page.
|