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

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

Definition at line 793 of file mainRepository.cpp.

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

Referenced by DoCopyAnnotationTableSet(), DoDiffAnnotationTableSet(), and DoDumpAnnotationTableSet().

00794 {
00795     ILOG_VAR(Impala.Application.Repository.GetAnnotationTableSetLocator);
00796 
00797     int nrArg = 5;
00798     if (!getSrcLoc)
00799         nrArg++;
00800     if (options.GetNrArg() < nrArg)
00801     {
00802         ILOG_ERROR("Need at least " << nrArg << " parameters");
00803     }
00804 
00805     int a = 1;
00806     String locString = options.GetArg(a++);
00807     String setName = options.GetArg(a++);
00808     int quidClass = StringToQuidClass(options.GetArg(a++));
00809     String conceptSet = options.GetArg(a++);
00810     if (!getSrcLoc)
00811         locString = options.GetArg(a++);
00812     return AnnotationTableSetLocator(locString, setName, quidClass, conceptSet);
00813 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:48:05 2010 for ImpalaSrc by  doxygen 1.5.1