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

ImageSet* Impala::Application::Repository::GetImageSet ( CmdOptions &  options,
bool  required,
bool  getSrcLoc = true 
)

Definition at line 95 of file mainRepository.cpp.

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

00096 {
00097     ILOG_VAR(Impala.Application.Repository.GetImageSet);
00098 
00099     int nrArg = 2;
00100     if (!getSrcLoc)
00101         nrArg++;
00102     if (options.GetNrArg() < nrArg)
00103     {
00104         ILOG_ERROR("Need at least " << nrArg << " parameters");
00105     }
00106     int a = 1;
00107     String locString = options.GetArg(a++);
00108     String setName = options.GetArg(a++);
00109     if (!getSrcLoc)
00110         locString = options.GetArg(a++);
00111     return GetImageSet(locString, setName, required);
00112 }

Here is the call graph for this function:


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