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

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

Definition at line 696 of file mainRepository.cpp.

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

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

00697 {
00698     ILOG_VAR(Impala.Application.Repository.GetKeyframesLocator);
00699 
00700     int nrArg = 2;
00701     if (!getSrcLoc)
00702         nrArg++;
00703     if (options.GetNrArg() < nrArg)
00704     {
00705         ILOG_ERROR("Need at least " << nrArg << " parameters");
00706     }
00707 
00708     int a = 1;
00709     String locString = options.GetArg(a++);
00710     String setName = options.GetArg(a++);
00711     if (!getSrcLoc)
00712         locString = options.GetArg(a++);
00713     return KeyframesLocator(locString, setName, "keyframes");
00714 }

Here is the call graph for this function:


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