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

bool DataPool::simple_compare ( DataPool pool ) const [inline]

Useful in comparing data pools. Returns true if dirived from same URL or bytestream.

Definition at line 603 of file DataPool.h.

References GURL::is_empty(), and GURL::is_valid().

  // return true if these pools are identical.  False means they may or may
  // not be identical.
  return (this == &pool)
    ||(furl.is_valid()&&!furl.is_empty()&&pool.furl.is_valid()&&(furl == pool.furl))
    ||(data && (data == pool.data));

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index