Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Application::Repository::DoDumpFeatureTable (  ) 

Definition at line 1442 of file mainRepository.cpp.

References Impala::Persistency::FeatureLocator::GetContainer(), GetFeatureLocator(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetInt(), GetRawDataSet(), ILOG_VAR, and Impala::Persistency::FeatureLocator::SetContainer().

Referenced by mainRepository().

01443 {
01444     ILOG_VAR(Impala.Application.Repository.DoDumpFeatureTable);
01445     CmdOptions& options = CmdOptions::GetInstance();
01446 
01447     FeatureLocator loc = GetFeatureLocator(options, true);
01448     RawDataSet* dataSet = GetRawDataSet(options, true);
01449     String container = loc.GetContainer();
01450     int nrContainers = (container == "ALL") ? dataSet->GetNrContainers() : 1;
01451     for (int i=0 ; i<nrContainers ; i++)
01452     {
01453         String cur = (container == "ALL") ? dataSet->GetContainer(i) : container;
01454         loc.SetContainer(cur);
01455         FeatureTable* tab = FeatureTableRepository().Get(loc);
01456         tab->Dump(0, options.GetInt("start"), options.GetInt("end"));
01457         delete tab;
01458     }
01459 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:48 2011 for ImpalaSrc by  doxygen 1.5.1