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

void Impala::Core::Table::AnnotationTable::Correct ( AnnotationTable corrections  )  [inline]

Definition at line 349 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::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Set2(), and Impala::Core::Table::Table::Size().

Referenced by Impala::Core::Table::AnnotationTableSet::Correct().

00350     {
00351         for (int i=0 ; i<corrections->Size() ; i++)
00352         {
00353             Quid annotee = corrections->Get1(i);
00354             int index = GetIndex(annotee);
00355             if (index == Size())
00356             {
00357                 Add(annotee, corrections->Get2(i));
00358             }
00359             else
00360             {
00361                 Set2(index, corrections->Get2(i));
00362             }
00363         }
00364     }

Here is the call graph for this function:


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