Definition at line 763 of file mainTable.cpp. References Impala::CmdOptions::GetArg(), Impala::Core::Database::RawDataSet::GetDatabase(), Impala::Util::Database::GetInstance(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), Impala::CmdOptions::GetString(), Impala::Core::ImageSet::MakeImageSet(), Impala::Core::VideoSet::MakeVideoSet(), and Impala::Core::Table::Read(). Referenced by mainTable(). 00764 { 00765 typedef Core::Table::AnnotationTable AnnotationTable; 00766 00767 CmdOptions& options = CmdOptions::GetInstance(); 00768 String fName = options.GetArg(1); 00769 Core::Database::RawDataSet* dataSet = 0; 00770 String setName = options.GetString("videoSet"); 00771 if (! setName.empty()) 00772 dataSet = Core::VideoSet::MakeVideoSet(setName); 00773 setName = options.GetString("imageSet"); 00774 if (! setName.empty()) 00775 dataSet = Core::ImageSet::MakeImageSet(setName); 00776 Util::Database* db = &Util::Database::GetInstance(); 00777 if (dataSet) 00778 db = dataSet->GetDatabase(); 00779 AnnotationTable table; 00780 Core::Table::Read(&table, fName, db); 00781 table.Dump(dataSet, options.GetInt("start"), options.GetInt("end")); 00782 table.DumpSummary(); 00783 }
Here is the call graph for this function:
|