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

StillsLocator Impala::Application::Repository::GetStillsLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 794 of file mainRepository.cpp.

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

Referenced by DoCopyStills(), DoDeleteStills(), DoDiffStills(), and DoDumpStills().

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

Here is the call graph for this function:


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