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

int Impala::CmdOptions::GetOptIdx ( String  s  )  [inline, private]

Definition at line 258 of file CmdOptions.h.

References mOptNameL, mOptNameS, and NrOpt().

Referenced by DoParseArgs(), GetBool(), GetDouble(), GetInt(), GetString(), HideUsageFor(), ReadIniFile(), and SetDefault().

00259     {
00260         for (int i=0 ; i<NrOpt() ; i++)
00261         {
00262             if ((s.size() == 1) && (s[0] == mOptNameS[i]))
00263                 return i;
00264             if (s.compare(mOptNameL[i]) == 0)
00265                 return i;
00266         }
00267         return -1;
00268     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:35:37 2010 for ImpalaSrc by  doxygen 1.5.1