Logo Search packages:      
Sourcecode: pwlib version File versions

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

Determine the relative rank of the two objects. This is essentially the string comparison of the PFilePath# names of the files.

Returns:
relative rank of the file paths.
Parameters:
obj  Other file to compare against.

Reimplemented from PFile.

Definition at line 69 of file memfile.cxx.

{
  PAssert(PIsDescendant(&obj, PMemoryFile), PInvalidCast);
  return data.Compare(((const PMemoryFile &)obj).data);
}


Generated by  Doxygen 1.6.0   Back to index