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.
Other PString to compare against. |
Reimplemented from PObject.
Reimplemented in PMemoryFile, PFile, PIndirectChannel, and PPipeChannel.
Definition at line 306 of file pchannel.cxx.
PAssert(PIsDescendant(&obj, PChannel), PInvalidCast);
int h1 = GetHandle();
int h2 = ((const PChannel&)obj).GetHandle();
if (h1 < h2)
if (h1 > h2)