Definition at line 264 of file mainRepository.cpp. References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, and ILOG_VAR. Referenced by DoCopySegmentation(), DoDiffSegmentation(), and DoDumpSegmentation(). 00265 { 00266 ILOG_VAR(Impala.Application.Repository.GetSegmentationLocator); 00267 00268 int nrArg = 2; 00269 if (!getSrcLoc) 00270 nrArg++; 00271 if (options.GetNrArg() < nrArg) 00272 { 00273 ILOG_ERROR("Need at least " << nrArg << " parameters"); 00274 } 00275 00276 int a = 1; 00277 String locString = options.GetArg(a++); 00278 String setName = options.GetArg(a++); 00279 if (!getSrcLoc) 00280 locString = options.GetArg(a++); 00281 return SegmentationLocator(locString, setName, "segmentation"); 00282 }
Here is the call graph for this function:
|