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

AnnotationTableSetLocator Impala::Application::Repository::GetAnnotationTableSetLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 1758 of file mainRepository.cpp.

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

Referenced by DoCopyAnnotationTableSet(), DoCorrectAnnotationTableSet(), DoDeleteAnnotationTableSet(), DoDiffAnnotationTableSet(), DoDumpAnnotationTableSet(), DoIndexAnnotatedFeatures(), and DoSelectAnnotationTableSet().

01759 {
01760     ILOG_VAR(Impala.Application.Repository.GetAnnotationTableSetLocator);
01761 
01762     int nrArg = 5;
01763     if (!getSrcLoc)
01764         nrArg++;
01765     if (options.GetNrArg() < nrArg)
01766     {
01767         ILOG_ERROR("Need at least " << nrArg << " parameters");
01768     }
01769 
01770     int a = 1;
01771     String locString = options.GetArg(a++);
01772     String setName = options.GetArg(a++);
01773     int quidClass = StringToQuidClass(options.GetArg(a++));
01774     String conceptSet = options.GetArg(a++);
01775     if (!getSrcLoc)
01776         locString = options.GetArg(a++);
01777     return AnnotationTableSetLocator(locString, setName, quidClass, conceptSet);
01778 }

Here is the call graph for this function:


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