Definition at line 244 of file ImageSet.h. References Impala::Core::Database::RawDataSet::GetAsPath(), GetQuidImage(), ILOG_DEBUG, ILOG_ERROR, and Impala::Core::Database::RawDataSet::NrFiles(). 00245 { 00246 if (NrFiles() != arg->NrFiles()) 00247 { 00248 ILOG_ERROR("Diff: nrFiles differs: " << NrFiles() << " vs " << 00249 arg->NrFiles()); 00250 return 1; 00251 } 00252 int nDiff = 0; 00253 for (int i=0 ; i<NrFiles() ; i++) 00254 { 00255 if (GetAsPath(i) != arg->GetAsPath(i)) 00256 { 00257 ILOG_DEBUG("File " << i << " differs " << GetAsPath(i) << 00258 " vs " << arg->GetAsPath(i)); 00259 nDiff++; 00260 } 00261 else if (GetQuidImage(i) != arg->GetQuidImage(i)) 00262 { 00263 ILOG_DEBUG("Quid " << i << " differs " << GetQuidImage(i) 00264 << " vs " << arg->GetQuidImage(i)); 00265 nDiff++; 00266 } 00267 } 00268 if (nDiff > 0) 00269 ILOG_ERROR("Found " << nDiff << " differences"); 00270 return nDiff; 00271 }
Here is the call graph for this function:
|