Classes |
class | Abbrev |
class | Acronym |
class | Address |
class | Author |
class | Banner |
class | Big |
class | BlockQuote |
class | Body |
class | Bold |
class | BreakLine |
class | BulletList |
class | CheckBox |
class | Cite |
class | Code |
class | Credit |
class | Definition |
class | DefinitionItem |
class | DefinitionList |
class | DefinitionTerm |
class | DeletedText |
class | Division |
class | Element |
class | Emphasis |
class | FieldElement |
class | Form |
class | FormField |
class | Head |
class | Heading |
class | HiddenField |
class | HotLink |
class | HRule |
class | HTML |
class | Image |
class | ImageElement |
class | InputField |
class | InputFile |
class | InputImage |
class | InputPassword |
class | InputRange |
class | InputScribble |
class | InputText |
class | InsertedText |
class | Italic |
class | Keyboard |
class | ListHeading |
class | ListItem |
class | Note |
class | Option |
class | OrderedList |
class | Paragraph |
class | Person |
class | PreFormat |
class | Quote |
class | RadioButton |
class | ResetButton |
class | Sample |
class | Select |
class | SetTab |
class | SimpleList |
class | Small |
class | StrikeThrough |
class | Strong |
class | SubmitButton |
class | Subscript |
class | Superscript |
class | Tab |
class | TableData |
class | TableEnd |
class | TableHeader |
class | TableRow |
class | TableStart |
class | Target |
class | TeleType |
class | TextArea |
class | Title |
class | Underline |
class | Variable |
Public Types |
enum | ElementInSet {
InHTML,
InHead,
InBody,
InTitle,
InHeading,
InDivision,
InPreFormat,
InAnchor,
InNote,
InAddress,
InBlockQuote,
InCredit,
InBold,
InItalic,
InTeleType,
InUnderline,
InStrikeThrough,
InBig,
InSmall,
InSubscript,
InSuperscript,
InEmphasis,
InCite,
InStrong,
InCode,
InSample,
InKeyboard,
InVariable,
InDefinition,
InQuote,
InAuthor,
InPerson,
InAcronym,
InAbbrev,
InInsertedText,
InDeletedText,
InList,
InListHeading,
InDefinitionTerm,
InTable,
InForm,
InSelect,
InTextArea,
NumElementsInSet
} |
enum | BorderCodes { NoBorder,
Border
} |
enum | DisableCodes { Enabled,
Disabled
} |
enum | SelectionCodes { NotSelected,
Selected
} |
enum | CheckedCodes { UnChecked,
Checked
} |
Public Member Functions |
| PHTML (ElementInSet initialState=NumElementsInSet) |
| PHTML (const char *cstr) |
| PHTML (const PString &str) |
| ~PHTML () |
PHTML & | operator= (const PHTML &html) |
PHTML & | operator= (const PString &str) |
PHTML & | operator= (const char *cstr) |
PHTML & | operator= (char ch) |
BOOL | Is (ElementInSet elmt) const |
void | Set (ElementInSet elmt) |
void | Clr (ElementInSet elmt) |
void | Toggle (ElementInSet elmt) |
Protected Member Functions |
virtual void | AssignContents (const PContainer &c) |
Friends |
class | TableStart |
class | TableEnd |
This class describes a HyperText markup Language string as used by the World Wide Web and the PURL# and #PHTTPSocket# class.
All of the standard stream I/O operators, manipulators etc will operate on the PString class.
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.
- Returns:
- reference to the current PStringStream object.
- Parameters:
-
cstr | String for title in restating HTML. |
Reimplemented from PStringStream.
References AssignContents(), and PString::PString().