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

template<class T>
bool Impala::Core::Table::CriterionQuidObjectMaxNumber< T >::Check ( const typename T::Col1ElemType &  e1,
const typename T::Col2ElemType &  e2,
const typename T::Col3ElemType &  e3,
const typename T::Col4ElemType &  e4,
const typename T::Col5ElemType &  e5,
const typename T::Col6ElemType &  e6,
const typename T::Col7ElemType &  e7,
const typename T::Col8ElemType &  e8,
const typename T::Col9ElemType &  e9 
) [inline]

Definition at line 266 of file Criterion.h.

References Impala::Core::Table::CriterionQuidObjectMaxNumber< T >::mMaxNumber, Impala::Core::Table::CriterionQuidObjectMaxNumber< T >::mObjs, and Impala::QuidObject().

00275     {
00276         int qObj = QuidObject(e1);
00277         for (int i=0 ; i<mObjs.size() ; i++)
00278             if (qObj == mObjs[i])
00279                 return true;
00280         if (mObjs.size() < mMaxNumber)
00281         {
00282             mObjs.push_back(qObj);
00283             return true;
00284         }
00285         return false;
00286     }

Here is the call graph for this function:


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