Definition at line 443 of file mainRepository.cpp. References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, ILOG_VAR, and Impala::StringToBool(). Referenced by DoCopyImageArchive(), DoDiffImageArchive(), and DoDumpImageArchive(). 00444 { 00445 ILOG_VAR(Impala.Application.Repository.GetImageArchiveLocator); 00446 00447 int nrArg = 6; 00448 if (!getSrcLoc) 00449 nrArg++; 00450 if (options.GetNrArg() < nrArg) 00451 { 00452 ILOG_ERROR("Need at least " << nrArg << " parameters"); 00453 } 00454 00455 int a = 1; 00456 String locString = options.GetArg(a++); 00457 String setName = options.GetArg(a++); 00458 bool frames = StringToBool(options.GetArg(a++)); 00459 String container = options.GetArg(a++); 00460 String name = options.GetArg(a++); 00461 if (!getSrcLoc) 00462 locString = options.GetArg(a++); 00463 return ImageArchiveLocator(locString, setName, frames, container, name, 0); 00464 }
Here is the call graph for this function:
|