#include <html.h>
Inheritance diagram for PHTML:
All of the standard stream I/O operators, manipulators etc will operate on the PString class.
enum PHTML::BorderCodes |
enum PHTML::CheckedCodes |
enum PHTML::DisableCodes |
enum PHTML::ElementInSet |
PHTML::PHTML | ( | ElementInSet | initialState = NumElementsInSet |
) |
Construct a new HTML object. If a title is specified in the constructor then the HEAD, TITLE and BODY elements are output and the string is used in a H1 element.
PHTML::PHTML | ( | const char * | cstr | ) |
cstr | C string representation of the title string. |
PHTML::PHTML | ( | const PString & | str | ) |
str | String representation of the title string. |
PHTML::~PHTML | ( | ) |
virtual void PHTML::AssignContents | ( | const PContainer & | c | ) | [protected, virtual] |
Copy the container contents. This copies the contents from one reference to another.
No duplication of contents occurs, for instance if the container is an array, the pointer to the array memory is copied, not the array memory block itself.
This function will get called by the base assignment operator.
Reimplemented from PStringStream.
void PHTML::Clr | ( | ElementInSet | elmt | ) |
PBoolean PHTML::Is | ( | ElementInSet | elmt | ) | const |
PHTML& PHTML::operator= | ( | char | ch | ) | [inline] |
Assign the character to the current object. The current instance then becomes a unique reference to a copy of the character parameter. eg: {verbatim} myStr = 'A'; {verbatim}
ch | String for title in restating HTML. |
Reimplemented from PStringStream.
PHTML& PHTML::operator= | ( | const char * | cstr | ) | [inline] |
Assign the C string to the string stream. The current instance then becomes a unique reference to a copy of the cstr# parameter. The cstr# parameter is typically a literal string, eg: {verbatim} myStr = "fred"; {verbatim}
This will reset the read pointer for input to the beginning of the string. Also, any data output to the string up until the asasignement will be lost.
cstr | String for title in restating HTML. |
Reimplemented from PStringStream.
Assign the string to the current object. The current instance then becomes another reference to the same string in the str# parameter.
This will reset the read pointer for input to the beginning of the string. Also, any data output to the string up until the asasignement will be lost.
str | String for title in restating HTML. |
Reimplemented from PStringStream.
void PHTML::Set | ( | ElementInSet | elmt | ) |
void PHTML::Toggle | ( | ElementInSet | elmt | ) |
friend class TableEnd [friend] |
friend class TableStart [friend] |