Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

QuidTableLocator Impala::Application::Repository::GetQuidTableLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 887 of file mainRepository.cpp.

References Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, and ILOG_VAR.

Referenced by DoCopyQuidTable(), DoDeleteQuidTable(), DoDiffQuidTable(), and DoDumpQuidTable().

00888 {
00889     ILOG_VAR(Impala.Application.Repository.GetQuidTableLocator);
00890 
00891     int nrArg = 5;
00892     if (!getSrcLoc)
00893         nrArg++;
00894     if (options.GetNrArg() < nrArg)
00895     {
00896         ILOG_ERROR("Need at least " << nrArg << " parameters");
00897     }
00898 
00899     int a = 1;
00900     String locString = options.GetArg(a++);
00901     String setName = options.GetArg(a++);
00902     String dir = options.GetArg(a++);
00903     String name = options.GetArg(a++);
00904     if (!getSrcLoc)
00905         locString = options.GetArg(a++);
00906     return QuidTableLocator(locString, setName, dir, name);
00907 }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:46 2011 for ImpalaSrc by  doxygen 1.5.1