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

template<class T, class Criterion>
void Impala::Core::Table::SelectQuids ( QuidTable *&  dst,
T *  src,
Criterion &  c,
bool  doClearDst 
)

Select all items from the first column of src satisfying c.

Assume T is a table with Col1ElemType == Quid, and Criterion has function bool Check(e1...e9)

Definition at line 22 of file SelectQuids.h.

References Filter(), and SelectOneColumn().

Referenced by Impala::Core::Table::AnnotationTable::GetAnnotatedQuids(), Impala::Core::Table::AnnotationTable::GetNegative(), Impala::Core::Table::AnnotationTable::GetPositive(), SelectQuids(), SelectQuidsByObject(), and SelectQuidsByObjectSet().

00023 {
00024     if (dst == 0)
00025         dst = new QuidTable(0);
00026     bool* filter = Filter(src, c);
00027     SelectOneColumn(dst, src, 1, filter, doClearDst);
00028     delete filter;
00029 }

Here is the call graph for this function:


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