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

Locator Impala::Application::Repository::GetDataSetLocator ( CmdOptions &  options,
bool  getSrcLoc = true 
)

Definition at line 186 of file mainRepository.cpp.

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

Referenced by DoDiffFrameHashes(), and DoDumpFrameHashes().

00187 {
00188     ILOG_VAR(Impala.Application.Repository.GetVideoSet);
00189 
00190     int nrArg = 2;
00191     if (!getSrcLoc)
00192         nrArg++;
00193     if (options.GetNrArg() < nrArg)
00194     {
00195         ILOG_ERROR("Need at least " << nrArg << " parameters");
00196     }
00197     int a = 1;
00198     String locString = options.GetArg(a++);
00199     String setName = options.GetArg(a++);
00200     if (!getSrcLoc)
00201         locString = options.GetArg(a++);
00202     return Locator(locString, setName);
00203 }

Here is the call graph for this function:


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