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

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

Definition at line 271 of file CmdOptions.h.

References mOptNameL, mOptNameS, and NrOpt().

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

00272     {
00273         for (int i=0 ; i<NrOpt() ; i++)
00274         {
00275             if ((s.size() == 1) && (s[0] == mOptNameS[i]))
00276                 return i;
00277             if (s.compare(mOptNameL[i]) == 0)
00278                 return i;
00279         }
00280         return -1;
00281     }

Here is the call graph for this function:


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