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

ModelLocator Impala::Application::Repository::GetModelLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 2372 of file mainRepository.cpp.

References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, and ILOG_VAR.

Referenced by DoCopyBestFile(), DoCopyModel(), DoCopySvmProblem(), DoDeleteModel(), DoDeleteSvmProblem(), DoDiffAllParameterFile(), DoDiffBestFile(), DoDiffFikSvm(), DoDiffModel(), DoDiffScoreFile(), DoDiffSvmProblem(), DoDumpBestFile(), DoDumpFikSvm(), DoDumpModel(), and DoDumpSvmProblem().

02373 {
02374     ILOG_VAR(Impala.Application.Repository.GetModelLocator);
02375 
02376     int nrArg = 7;
02377     if (!getSrcLoc)
02378         nrArg++;
02379     if (options.GetNrArg() < nrArg)
02380     {
02381         ILOG_ERROR("Need at least " << nrArg << " parameters");
02382     }
02383 
02384     int a = 1;
02385     String locString = options.GetArg(a++);
02386     String setName = options.GetArg(a++);
02387     String conceptSet = options.GetArg(a++);
02388     String model = options.GetArg(a++);
02389     String feature = options.GetArg(a++);
02390     String concept = options.GetArg(a++);
02391     if (!getSrcLoc)
02392         locString = options.GetArg(a++);
02393     return ModelLocator(locString, setName, conceptSet, model, feature, concept);
02394 }

Here is the call graph for this function:


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