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

void Impala::Core::Table::AnnotationTable::Merge ( AnnotationTable arg  )  [inline]

Definition at line 330 of file AnnotationTable.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Add(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get2(), GetIndex(), Impala::Max(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Set2(), and Impala::Core::Table::Table::Size().

00331     {
00332         for (int i=0 ; i<arg->Size() ; i++)
00333         {
00334             Quid annotee = arg->Get1(i);
00335             int index = GetIndex(annotee);
00336             if (index == Size())
00337             {
00338                 Add(annotee, arg->Get2(i));
00339             }
00340             else
00341             {
00342                 Real64 qualification = Max(Get2(index), arg->Get2(i));
00343                 Set2(index, qualification);
00344             }
00345         }
00346     }

Here is the call graph for this function:


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