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

PINLINE PString & PString::operator= ( const char *  cstr  ) 

Assign the C string to the current object. 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}

reference to the current PString object.
cstr  C string to assign.

Reimplemented in PHTML, PFilePath, PDirectory, PCaselessString, and PStringStream.

Definition at line 252 of file contain.inl.

References PString().

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

Generated by  Doxygen 1.6.0   Back to index