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

AnnotationTableLocator Impala::Application::Repository::GetAnnotationTableLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 1632 of file mainRepository.cpp.

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

Referenced by DoCopyAnnotationTable(), DoDeleteAnnotationTable(), DoDiffAnnotationTable(), DoDumpAnnotationTable(), and DoMergeAnnotationTable().

01633 {
01634     ILOG_VAR(Impala.Application.Repository.GetAnnotationTableLocator);
01635 
01636     int nrArg = 6;
01637     if (!getSrcLoc)
01638         nrArg++;
01639     if (options.GetNrArg() < nrArg)
01640     {
01641         ILOG_ERROR("Need at least " << nrArg << " parameters");
01642     }
01643 
01644     int a = 1;
01645     String locString = options.GetArg(a++);
01646     String setName = options.GetArg(a++);
01647     int quidClass = StringToQuidClass(options.GetArg(a++));
01648     String conceptSet = options.GetArg(a++);
01649     String keyword = options.GetArg(a++);
01650     if (!getSrcLoc)
01651         locString = options.GetArg(a++);
01652     return AnnotationTableLocator(locString, setName, quidClass, conceptSet,
01653                                   keyword);
01654 }

Here is the call graph for this function:


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