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:
|