Definition at line 630 of file mainRepository.cpp. References Impala::Persistency::FeatureLocator::GetContainer(), GetFeatureLocator(), Impala::CmdOptions::GetInstance(), GetVideoSet(), ILOG_VAR, and Impala::Persistency::FeatureLocator::SetContainer(). Referenced by mainRepository(). 00631 { 00632 ILOG_VAR(Impala.Application.Repository.DoCopyFeatureTable); 00633 CmdOptions& options = CmdOptions::GetInstance(); 00634 00635 FeatureLocator loc1 = GetFeatureLocator(options, true); 00636 FeatureLocator loc2 = GetFeatureLocator(options, false); 00637 VideoSet* vidSet = GetVideoSet(options, true); 00638 String container = loc1.GetContainer(); 00639 int nrFiles = (container == "ALL") ? vidSet->NrFiles() : 1; 00640 for (int i=0 ; i<nrFiles ; i++) 00641 { 00642 String cur = (container == "ALL") ? vidSet->GetFile(i) : container; 00643 loc1.SetContainer(cur); 00644 FeatureTable* tab = FeatureTableRepository().Get(loc1); 00645 loc2.SetContainer(cur); 00646 FeatureTableRepository().Add(loc2, tab); 00647 delete tab; 00648 } 00649 }
Here is the call graph for this function:
|