Definition at line 1567 of file mainRepository.cpp. References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, and ILOG_VAR. Referenced by DoCopyKeywordList(), DoDiffKeywordList(), and DoDumpKeywordList(). 01568 { 01569 ILOG_VAR(Impala.Application.Repository.GetKeywordListLocator); 01570 01571 int nrArg = 3; 01572 if (!getSrcLoc) 01573 nrArg++; 01574 if (options.GetNrArg() < nrArg) 01575 { 01576 ILOG_ERROR("Need at least " << nrArg << " parameters"); 01577 } 01578 01579 int a = 1; 01580 String locString = options.GetArg(a++); 01581 String setName = options.GetArg(a++); 01582 String conceptSet = options.GetArg(a++); 01583 if (!getSrcLoc) 01584 locString = options.GetArg(a++); 01585 return KeywordListLocator(locString, setName, conceptSet); 01586 }
Here is the call graph for this function: ![]()
|