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

PObject::Comparison PString::Compare ( const PObject obj ) const [virtual, inherited]

Get the relative rank of the two strings. The system standard function, eg strcmp(), is used.

comparison of the two objects, EqualTo# for same, LessThan# for obj# logically less than the object and GreaterThan# for obj# logically greater than the object.
objOther PString to compare against.

Definition at line 1613 of file contain.cxx.

Referenced by PRemoteConnection::Compare(), PPipeChannel::Compare(), PProcess::Compare(), PIpAccessControlEntry::Compare(), PHTTPField::Compare(), and PURL::Compare().

  PAssert(PIsDescendant(&obj, PString), PInvalidCast);
  return InternalCompare(0, P_MAX_INDEX, ((const PString &)obj).theArray);

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index