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

FeatureLocator Impala::Application::Repository::GetFeatureLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 1415 of file mainRepository.cpp.

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

Referenced by DoCopyFeatureTable(), DoDeleteFeatureTable(), DoDiffFeatureTable(), DoDumpFeatureTable(), and DoSetQuidSetFeatureTable().

01416 {
01417     ILOG_VAR(Impala.Application.Repository.GetFeatureLocator);
01418 
01419     int nrArg = 8;
01420     if (!getSrcLoc)
01421         nrArg++;
01422     if (options.GetNrArg() < nrArg)
01423     {
01424         ILOG_ERROR("Need at least " << nrArg << " parameters");
01425     }
01426 
01427     int a = 1;
01428     String locString = options.GetArg(a++);
01429     String setName = options.GetArg(a++);
01430     bool isCodebook = StringToBool(options.GetArg(a++));
01431     bool isIndex = StringToBool(options.GetArg(a++));
01432     String walkType = options.GetArg(a++);
01433     String feature = options.GetArg(a++);
01434     String container = options.GetArg(a++);
01435     if (!getSrcLoc)
01436         locString = options.GetArg(a++);
01437     return FeatureLocator(locString, setName, isCodebook, isIndex, walkType,
01438                           feature, container);
01439 }

Here is the call graph for this function:


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