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: ![]()
|