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

PObject * PString::Clone (  ) const [virtual, inherited]

Make a complete duplicate of the string. Note that the data in the array of characters is duplicated as well and the new object is a unique reference to that data.

Reimplemented in PCaselessString.

Definition at line 1580 of file contain.cxx.

References PString::PString().

  return new PString(*this);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index