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

template<class Table>
std::vector<int> Impala::Core::Table::CollectQuidObjects ( Table *  t  ) 

Collect unique quid objects within a table.

Table must be of type TableTem with Col1ElemType == Quid.

Definition at line 19 of file CollectQuidObjects.h.

References Impala::QuidObject().

Referenced by Impala::Core::Table::AnnotationTable::DumpSummaryObject().

00020 {
00021     std::vector<int> res;
00022     for (int i=0 ; i<t->Size() ; i++)
00023     {
00024         Quid q = t->Get1(i);
00025         int qObj = QuidObject(q);
00026         if (std::find(res.begin(), res.end(), qObj) == res.end())
00027             res.push_back(qObj);
00028     }
00029     return res;
00030 }

Here is the call graph for this function:


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