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

KeywordListLocator Impala::Application::Repository::GetKeywordListLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 654 of file mainRepository.cpp.

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

Referenced by DoCopyKeywordList(), DoDiffKeywordList(), and DoDumpKeywordList().

00655 {
00656     ILOG_VAR(Impala.Application.Repository.GetKeywordListLocator);
00657 
00658     int nrArg = 3;
00659     if (!getSrcLoc)
00660         nrArg++;
00661     if (options.GetNrArg() < nrArg)
00662     {
00663         ILOG_ERROR("Need at least " << nrArg << " parameters");
00664     }
00665 
00666     int a = 1;
00667     String locString = options.GetArg(a++);
00668     String setName = options.GetArg(a++);
00669     String conceptSet = options.GetArg(a++);
00670     if (!getSrcLoc)
00671         locString = options.GetArg(a++);
00672     return KeywordListLocator(locString, setName, conceptSet);
00673 }

Here is the call graph for this function:


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