Definition at line 589 of file mainRepository.cpp. References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, and ILOG_VAR. Referenced by DoCopySegmentation(), DoDeleteSegmentation(), DoDiffSegmentation(), and DoDumpSegmentation(). 00590 { 00591 ILOG_VAR(Impala.Application.Repository.GetSegmentationLocator); 00592 00593 int nrArg = 2; 00594 if (!getSrcLoc) 00595 nrArg++; 00596 if (options.GetNrArg() < nrArg) 00597 { 00598 ILOG_ERROR("Need at least " << nrArg << " parameters"); 00599 } 00600 00601 int a = 1; 00602 String locString = options.GetArg(a++); 00603 String setName = options.GetArg(a++); 00604 if (!getSrcLoc) 00605 locString = options.GetArg(a++); 00606 return SegmentationLocator(locString, setName, "segmentation"); 00607 }
Here is the call graph for this function: ![]()
|