Definition at line 208 of file ImageSet.h. References Impala::Core::Database::RawDataSet::GetAsPath(), GetQuidImage(), ILOG_DEBUG, ILOG_ERROR, and Impala::Core::Database::RawDataSet::NrFiles(). 00209 { 00210 if (NrFiles() != arg->NrFiles()) 00211 { 00212 ILOG_ERROR("Diff: nrFiles differs: " << NrFiles() << " vs " << 00213 arg->NrFiles()); 00214 return 1; 00215 } 00216 int nDiff = 0; 00217 for (int i=0 ; i<NrFiles() ; i++) 00218 { 00219 if (GetAsPath(i) != arg->GetAsPath(i)) 00220 { 00221 ILOG_DEBUG("File " << i << " differs " << GetAsPath(i) << 00222 " vs " << arg->GetAsPath(i)); 00223 nDiff++; 00224 } 00225 else if (GetQuidImage(i) != arg->GetQuidImage(i)) 00226 { 00227 ILOG_DEBUG("Quid " << i << " differs " << GetQuidImage(i) 00228 << " vs " << arg->GetQuidImage(i)); 00229 nDiff++; 00230 } 00231 } 00232 if (nDiff > 0) 00233 ILOG_ERROR("Found " << nDiff << " differences"); 00234 return nDiff; 00235 }
Here is the call graph for this function:
|