#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::ElementInSet |
enum PHTML::BorderCodes |
enum PHTML::DisableCodes |
enum PHTML::CheckedCodes |
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 | ( | ) |
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.
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.
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.
BOOL PHTML::Is | ( | ElementInSet | elmt | ) | const |
void PHTML::Set | ( | ElementInSet | elmt | ) |
void PHTML::Clr | ( | ElementInSet | elmt | ) |
void PHTML::Toggle | ( | ElementInSet | elmt | ) |
virtual void PHTML::AssignContents | ( | const PContainer & | c | ) | [protected, virtual] |
Reimplemented from PStringStream.
friend class TableStart [friend] |
friend class TableEnd [friend] |