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

bool Impala::Core::Table::AnnotationTableSet::SaveTables ( Database::RawDataSet dataSet,
String  conceptSet,
bool  report 
) [inline]

Definition at line 166 of file AnnotationTableSet.h.

References Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Core::Database::RawDataSet::GetFilePathAnnotation(), GetLabel(), Impala::Core::Table::AnnotationTable::GetQuidClass(), GetTable(), Size(), and Impala::Core::Table::Write().

Referenced by Impala::Core::VideoSet::IndexAnnotation::HandleDoneWalk().

00167     {
00168         bool ok = true;
00169         for (int i=0 ; i<Size() ; i++)
00170         {
00171             AnnotationTable* annoTable = GetTable(i);
00172             if (annoTable->Size() == 0)
00173                 continue;
00174             int qClass = annoTable->GetQuidClass();
00175             String fName = dataSet->GetFilePathAnnotation(qClass, conceptSet,
00176                                                           GetLabel(i) + ".tab",
00177                                                           true, false);
00178             if (fName.empty())
00179             {
00180                 ok = false;
00181                 continue;
00182             }
00183             Write(annoTable, fName, dataSet->GetDatabase(), true);
00184             if (report)
00185                 annoTable->DumpSummary();
00186         }
00187         return ok;
00188     }

Here is the call graph for this function:


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