Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

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:
cstrString for title in restating HTML.

Reimplemented from PStringStream.

Definition at line 212 of file html.h.

References PString::PString().

      { AssignContents(PString(cstr)); return *this; }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index