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

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

Definition at line 716 of file mainRepository.cpp.

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

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

00717 {
00718     ILOG_VAR(Impala.Application.Repository.GetAnnotationTableLocator);
00719 
00720     int nrArg = 6;
00721     if (!getSrcLoc)
00722         nrArg++;
00723     if (options.GetNrArg() < nrArg)
00724     {
00725         ILOG_ERROR("Need at least " << nrArg << " parameters");
00726     }
00727 
00728     int a = 1;
00729     String locString = options.GetArg(a++);
00730     String setName = options.GetArg(a++);
00731     int quidClass = StringToQuidClass(options.GetArg(a++));
00732     String conceptSet = options.GetArg(a++);
00733     String keyword = options.GetArg(a++);
00734     if (!getSrcLoc)
00735         locString = options.GetArg(a++);
00736     return AnnotationTableLocator(locString, setName, quidClass, conceptSet,
00737                                   keyword);
00738 }

Here is the call graph for this function:


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