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

Mpeg7DocLocator Impala::Application::Repository::GetMpeg7ShotLocator ( CmdOptions &  options,
bool  getSrcLoc 
)

Definition at line 971 of file mainRepository.cpp.

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

Referenced by DoDeleteMpeg7Annotation(), DoDeleteMpeg7Concept(), DoDeleteMpeg7Shot(), DoDiffMpeg7Shot(), and DoDumpMpeg7Shot().

00972 {
00973     ILOG_VAR(Impala.Application.Repository.GetMpeg7ShotLocator);
00974 
00975     int nrArg = 4;
00976     if (!getSrcLoc)
00977         nrArg++;
00978     if (options.GetNrArg() < nrArg)
00979     {
00980         ILOG_ERROR("Need at least " << nrArg << " parameters");
00981     }
00982 
00983     int a = 1;
00984     String locString = options.GetArg(a++);
00985     String setName = options.GetArg(a++);
00986     String container = options.GetArg(a++);
00987     if (!getSrcLoc)
00988         locString = options.GetArg(a++);
00989     return Mpeg7DocLocator(locString, setName, Mpeg7DocLocator::MPEG7_SHOT,
00990                            container, "dummy");
00991 }

Here is the call graph for this function:


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