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

template<class ArrayT>
void Impala::Core::Test::TestImage::CompareList ( std::vector< ArrayT * >  srcList,
String  refName 
) [inline, protected]

Definition at line 112 of file TestImage.h.

References Impala::Core::Array::ArrayListDelete(), DoCompare(), Impala::Core::Database::RawDataSet::GetDatabase(), mImSet, Impala::Core::Array::ReadRawList(), and Impala::Core::Test::TestBase::SetFailure().

Referenced by Impala::Core::Test::TestInvWiccest::Run().

00113     {
00114         std::vector<ArrayT*> refList;
00115         Array::ReadRawList(refList, refName, mImSet->GetDatabase());
00116         if (refList.size() == 0)
00117         {
00118             SetFailure("unable to read reference");
00119             return;
00120         }
00121         if (srcList.size() != refList.size())
00122         {
00123             SetFailure("unequal list size");
00124             Array::ArrayListDelete(&refList);
00125             return;
00126         }
00127         for (int i=0 ; i<srcList.size() ; i++)
00128             DoCompare(srcList[i], refList[i]);
00129         Array::ArrayListDelete(&refList);
00130     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:21:40 2010 for ImpalaSrc by  doxygen 1.5.1