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

KeyframesLocator Impala::Application::Repository::GetKeyframesLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 358 of file mainRepository.cpp.

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

Referenced by DoCopyKeyframes(), DoDiffKeyframes(), and DoDumpKeyframes().

00359 {
00360     ILOG_VAR(Impala.Application.Repository.GetKeyframesLocator);
00361 
00362     int nrArg = 2;
00363     if (!getSrcLoc)
00364         nrArg++;
00365     if (options.GetNrArg() < nrArg)
00366     {
00367         ILOG_ERROR("Need at least " << nrArg << " parameters");
00368     }
00369 
00370     int a = 1;
00371     String locString = options.GetArg(a++);
00372     String setName = options.GetArg(a++);
00373     if (!getSrcLoc)
00374         locString = options.GetArg(a++);
00375     return KeyframesLocator(locString, setName, "keyframes");
00376 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:47:54 2010 for ImpalaSrc by  doxygen 1.5.1