Home || Visual Search || Applications || Architecture || 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 293 of file Criterion.h.

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

00302     {
00303         int qObj = QuidObject(e1);
00304         for (int i=0 ; i<mObjs.size() ; i++)
00305             if (qObj == mObjs[i])
00306                 return true;
00307         if (mObjs.size() < mMaxNumber)
00308         {
00309             mObjs.push_back(qObj);
00310             return true;
00311         }
00312         return false;
00313     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:50 2011 for ImpalaSrc by  doxygen 1.5.1