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

PObject::Comparison PRemoteConnection::Compare ( const PObject obj  )  const [virtual]

Compare two connections.

Returns:
EqualTo of same RAS connectionconfiguration.
Parameters:
obj  Another connection instance.

Reimplemented from PObject.

Definition at line 231 of file remconn.cxx.

References PString::Compare().

{
  PAssert(PIsDescendant(&obj, PRemoteConnection), PInvalidCast);
  return remoteName.Compare(((const PRemoteConnection &)obj).remoteName);
}


Generated by  Doxygen 1.6.0   Back to index