Definition at line 327 of file mainRepository.cpp. References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, and ILOG_VAR. Referenced by DoCopyImageArchiveSpecial(), DoCopyImageSetSpecial(), DoDeleteImageArchiveSpecial(), DoDeleteImageSetSpecial(), DoDiffImageArchiveSpecial(), DoDiffImageSetSpecial(), DoDumpImageArchiveSpecial(), and DoDumpImageSetSpecial(). 00328 { 00329 ILOG_VAR(Impala.Application.Repository.GetImageSetLocator); 00330 00331 int nrArg = 3; 00332 if (!getSrcLoc) 00333 nrArg++; 00334 if (options.GetNrArg() < nrArg) 00335 { 00336 ILOG_ERROR("Need at least " << nrArg << " parameters"); 00337 } 00338 00339 int a = 1; 00340 String locString = options.GetArg(a++); 00341 String videoSetName = options.GetArg(a++); 00342 String imageSetName = options.GetArg(a++); 00343 if (!getSrcLoc) 00344 locString = options.GetArg(a++); 00345 return ImageSetLocator(locString, videoSetName, imageSetName); 00346 }
Here is the call graph for this function: ![]()
|