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

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

Definition at line 125 of file mainRepository.cpp.

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

00126 {
00127     ILOG_VAR(Impala.Application.Repository.GetImageSet);
00128 
00129     int nrArg = 2;
00130     if (!getSrcLoc)
00131         nrArg++;
00132     if (options.GetNrArg() < nrArg)
00133     {
00134         ILOG_ERROR("Need at least " << nrArg << " parameters");
00135     }
00136     int a = 1;
00137     String locString = options.GetArg(a++);
00138     String setName = options.GetArg(a++);
00139     if (!getSrcLoc)
00140         locString = options.GetArg(a++);
00141     return GetImageSet(locString, setName, required);
00142 }

Here is the call graph for this function:


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