Definition at line 2101 of file mainRepository.cpp. References Impala::atol(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, ILOG_VAR, and Impala::StringToQuidClass(). Referenced by DoCopyFold(), DoDeleteFold(), DoDiffFold(), and DoDumpFold(). 02102 { 02103 ILOG_VAR(Impala.Application.Repository.GetFoldLocator); 02104 02105 int nrArg = 8; 02106 if (!getSrcLoc) 02107 nrArg++; 02108 if (options.GetNrArg() < nrArg) 02109 { 02110 ILOG_ERROR("Need at least " << nrArg << " parameters"); 02111 } 02112 02113 int a = 1; 02114 String locString = options.GetArg(a++); 02115 String setName = options.GetArg(a++); 02116 int quidClass = StringToQuidClass(options.GetArg(a++)); 02117 String conceptSet = options.GetArg(a++); 02118 String keyword = options.GetArg(a++); 02119 String foldType = options.GetArg(a++); 02120 int foldNr = atol(options.GetArg(a++)); 02121 if (!getSrcLoc) 02122 locString = options.GetArg(a++); 02123 return FoldLocator(locString, setName, quidClass, conceptSet, keyword, 02124 foldType, foldNr); 02125 }
Here is the call graph for this function: ![]()
|