Definition at line 84 of file mainVidSet.cpp. References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Add(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), Impala::Core::Table::QuidTable::GetNrQuidsObject(), Impala::Core::VideoSet::Walker::GetQuids(), ILOG_VAR, Impala::Core::Database::RawDataSet::NrFiles(), and Impala::Core::Table::Sort(). Referenced by MakeVideoTaskTable(). 00085 { 00086 ILOG_VAR(Impala.Application.VidSet.MakeVideoTaskTableByQuids); 00087 CmdOptions& options = CmdOptions::GetInstance(); 00088 int startFile = options.GetInt("startFile"); 00089 int numberFiles = options.GetInt("numberFiles"); 00090 if (numberFiles == -1) 00091 numberFiles = videoSet->NrFiles(); 00092 if (startFile + numberFiles >= videoSet->NrFiles()) 00093 numberFiles = videoSet->NrFiles() - startFile; 00094 TaskTable* taskTable = new TaskTable(); 00095 Core::Table::QuidTable* quids = walker->GetQuids(); 00096 for (int i=startFile ; i<startFile+numberFiles ; i++) 00097 taskTable->Add(i, 1, quids->GetNrQuidsObject(i)); 00098 Core::Table::Sort(taskTable, 3, false); 00099 for (int i=0 ; i<taskTable->Size() ; i++) 00100 taskTable->Set3(i, 0); 00101 return taskTable; 00102 }
Here is the call graph for this function:
|