Definition at line 585 of file mainRepository.cpp. References Impala::Persistency::FeatureLocator::GetContainer(), GetFeatureLocator(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), GetVideoSet(), ILOG_VAR, and Impala::Persistency::FeatureLocator::SetContainer(). Referenced by mainRepository(). 00586 { 00587 ILOG_VAR(Impala.Application.Repository.DoDumpFeatureTable); 00588 CmdOptions& options = CmdOptions::GetInstance(); 00589 00590 FeatureLocator loc = GetFeatureLocator(options, true); 00591 VideoSet* vidSet = GetVideoSet(options, true); 00592 String container = loc.GetContainer(); 00593 int nrFiles = (container == "ALL") ? vidSet->NrFiles() : 1; 00594 for (int i=0 ; i<nrFiles ; i++) 00595 { 00596 String cur = (container == "ALL") ? vidSet->GetFile(i) : container; 00597 loc.SetContainer(cur); 00598 FeatureTable* tab = FeatureTableRepository().Get(loc); 00599 std::cout << "loc = " << loc << std::endl; 00600 tab->Dump(0, options.GetInt("start"), options.GetInt("end")); 00601 delete tab; 00602 } 00603 }
Here is the call graph for this function:
|