Definition at line 937 of file mainRepository.cpp. References Impala::Persistency::SimilarityTableSetLocator::GetContainer(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), GetSimilarityTableSetLocator(), GetVideoSet(), ILOG_VAR, and Impala::Persistency::SimilarityTableSetLocator::SetContainer(). Referenced by mainRepository(). 00938 { 00939 ILOG_VAR(Impala.Application.Repository.DoDumpSimilarityTableSet); 00940 CmdOptions& options = CmdOptions::GetInstance(); 00941 00942 SimilarityTableSetLocator loc = GetSimilarityTableSetLocator(options, true); 00943 VideoSet* vidSet = GetVideoSet(options, true); 00944 String container = loc.GetContainer(); 00945 int nrFiles = (container == "ALL") ? vidSet->NrFiles() : 1; 00946 for (int i=0 ; i<nrFiles ; i++) 00947 { 00948 String cur = (container == "ALL") ? vidSet->GetFile(i) : container; 00949 loc.SetContainer(cur); 00950 SimilarityTableSet* simSet = SimilarityTableSetRepository().Get(loc); 00951 simSet->DumpRanking(0, options.GetInt("start"), options.GetInt("end")); 00952 delete simSet; 00953 } 00954 }
Here is the call graph for this function:
|