Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

int Impala::Core::Table::QuidTable::Diff ( QuidTable arg  )  const [inline]

Definition at line 112 of file QuidTable.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), ILOG_ERROR, ILOG_INFO, and Impala::Core::Table::Table::Size().

Referenced by Impala::Samples::MonetTest::CheckOneSimTable().

00113     {
00114         if (Size() != arg->Size())
00115         {
00116             ILOG_ERROR("Diff: Size differs: " << Size() << " vs " <<
00117                        arg->Size());
00118             //return 1;
00119         }
00120         int nDiff = 0;
00121         for (int i=0 ; i<Size() ; i++)
00122         {
00123             if (Get1(i) != arg->Get1(i))
00124             {
00125                 ILOG_INFO("Quid " << i << " differs " << Get1(i) <<
00126                            " vs " << arg->Get1(i));
00127                 nDiff++;
00128             }
00129         }
00130         if (nDiff > 0)
00131             ILOG_ERROR("Found " << nDiff << " differences");
00132         return nDiff;
00133     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:20:42 2010 for ImpalaSrc by  doxygen 1.5.1