Sin descripción

psfunctions_8cpp.html 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.9.1"/>
  7. <title>My Project: psfunctions.cpp File Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td style="padding-left: 0.5em;">
  26. <div id="projectname">My Project
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.9.1 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  42. <li><a href="annotated.html"><span>Classes</span></a></li>
  43. <li class="current"><a href="files.html"><span>Files</span></a></li>
  44. <li>
  45. <div id="MSearchBox" class="MSearchBoxInactive">
  46. <span class="left">
  47. <img id="MSearchSelect" src="search/mag_sel.png"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. alt=""/>
  51. <input type="text" id="MSearchField" value="Search" accesskey="S"
  52. onfocus="searchBox.OnSearchFieldFocus(true)"
  53. onblur="searchBox.OnSearchFieldFocus(false)"
  54. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  55. </span><span class="right">
  56. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  57. </span>
  58. </div>
  59. </li>
  60. </ul>
  61. </div>
  62. <div id="navrow2" class="tabs2">
  63. <ul class="tablist">
  64. <li><a href="files.html"><span>File&#160;List</span></a></li>
  65. <li><a href="globals.html"><span>File&#160;Members</span></a></li>
  66. </ul>
  67. </div>
  68. <!-- window showing the filter options -->
  69. <div id="MSearchSelectWindow"
  70. onmouseover="return searchBox.OnSearchSelectShow()"
  71. onmouseout="return searchBox.OnSearchSelectHide()"
  72. onkeydown="return searchBox.OnSearchSelectKey(event)">
  73. </div>
  74. <!-- iframe showing the search results (closed by default) -->
  75. <div id="MSearchResultsWindow">
  76. <iframe src="javascript:void(0)" frameborder="0"
  77. name="MSearchResults" id="MSearchResults">
  78. </iframe>
  79. </div>
  80. </div><!-- top -->
  81. <div class="header">
  82. <div class="summary">
  83. <a href="#func-members">Functions</a> </div>
  84. <div class="headertitle">
  85. <div class="title">psfunctions.cpp File Reference</div> </div>
  86. </div><!--header-->
  87. <div class="contents">
  88. <div class="textblock"><code>#include &quot;<a class="el" href="psfunctions_8h_source.html">psfunctions.h</a>&quot;</code><br />
  89. </div><table class="memberdecls">
  90. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  91. Functions</h2></td></tr>
  92. <tr class="memitem:a1037ae10cf2e9029a971c4346a3ddbc3"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#a1037ae10cf2e9029a971c4346a3ddbc3">countCharsOfType</a> (const string &amp;st, int(*filterFunction)(int args), int fromIdx=0, int toIdx=-1)</td></tr>
  93. <tr class="memdesc:a1037ae10cf2e9029a971c4346a3ddbc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of characters of a certain type. <a href="#a1037ae10cf2e9029a971c4346a3ddbc3">More...</a><br /></td></tr>
  94. <tr class="separator:a1037ae10cf2e9029a971c4346a3ddbc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:ad579313c6ea7443438cffe04f4989846"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#ad579313c6ea7443438cffe04f4989846">countUppercase</a> (const string &amp;st)</td></tr>
  96. <tr class="memdesc:ad579313c6ea7443438cffe04f4989846"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of uppercase characters. <a href="#ad579313c6ea7443438cffe04f4989846">More...</a><br /></td></tr>
  97. <tr class="separator:ad579313c6ea7443438cffe04f4989846"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:a7d01626f2baa8c0c35a85b6a462e5adb"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#a7d01626f2baa8c0c35a85b6a462e5adb">countLowercase</a> (const string &amp;st)</td></tr>
  99. <tr class="memdesc:a7d01626f2baa8c0c35a85b6a462e5adb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of lowercase characters. <a href="#a7d01626f2baa8c0c35a85b6a462e5adb">More...</a><br /></td></tr>
  100. <tr class="separator:a7d01626f2baa8c0c35a85b6a462e5adb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:adb8d496f257d2b235032dd09af067ee1"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#adb8d496f257d2b235032dd09af067ee1">isSymbol</a> (int c)</td></tr>
  102. <tr class="memdesc:adb8d496f257d2b235032dd09af067ee1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 1 if the passed argument is a symbol. <a href="#adb8d496f257d2b235032dd09af067ee1">More...</a><br /></td></tr>
  103. <tr class="separator:adb8d496f257d2b235032dd09af067ee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:ab3370c00b77ef1b29e70f08d4e7eaaf6"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#ab3370c00b77ef1b29e70f08d4e7eaaf6">isDigitOrSymbol</a> (int c)</td></tr>
  105. <tr class="memdesc:ab3370c00b77ef1b29e70f08d4e7eaaf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 1 if the passed argument is a digit or symbol. <a href="#ab3370c00b77ef1b29e70f08d4e7eaaf6">More...</a><br /></td></tr>
  106. <tr class="separator:ab3370c00b77ef1b29e70f08d4e7eaaf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:acd1e5c55d28085d1be2e69f0819b7770"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#acd1e5c55d28085d1be2e69f0819b7770">countDigits</a> (const string &amp;st)</td></tr>
  108. <tr class="memdesc:acd1e5c55d28085d1be2e69f0819b7770"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of digits. <a href="#acd1e5c55d28085d1be2e69f0819b7770">More...</a><br /></td></tr>
  109. <tr class="separator:acd1e5c55d28085d1be2e69f0819b7770"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a4bdb8eb13658c5b22f256d14f3104e2e"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#a4bdb8eb13658c5b22f256d14f3104e2e">countSymbols</a> (const string &amp;st)</td></tr>
  111. <tr class="memdesc:a4bdb8eb13658c5b22f256d14f3104e2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of symbols. <a href="#a4bdb8eb13658c5b22f256d14f3104e2e">More...</a><br /></td></tr>
  112. <tr class="separator:a4bdb8eb13658c5b22f256d14f3104e2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a46157ef79156178bdf774a9315ea4d5c"><td class="memItemLeft" align="right" valign="top">string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#a46157ef79156178bdf774a9315ea4d5c">toUpperString</a> (const string &amp;st)</td></tr>
  114. <tr class="memdesc:a46157ef79156178bdf774a9315ea4d5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an uppercase version of the received string. <a href="#a46157ef79156178bdf774a9315ea4d5c">More...</a><br /></td></tr>
  115. <tr class="separator:a46157ef79156178bdf774a9315ea4d5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a3f78ae9f503ae80597803d018d5afec0"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#a3f78ae9f503ae80597803d018d5afec0">middleDigitsOrSymbols</a> (const string &amp;st)</td></tr>
  117. <tr class="memdesc:a3f78ae9f503ae80597803d018d5afec0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of digits and symbols that are not the first or last characters of the received string. <a href="#a3f78ae9f503ae80597803d018d5afec0">More...</a><br /></td></tr>
  118. <tr class="separator:a3f78ae9f503ae80597803d018d5afec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:afe0bd6a220d8dd86082921912596f812"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afe0bd6a220d8dd86082921912596f812"></a>
  120. unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>countConsecutive</b> (const string &amp;st, int(*filterFunction)(int args))</td></tr>
  121. <tr class="separator:afe0bd6a220d8dd86082921912596f812"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:aed852eb177989f956aa44943c993f723"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#aed852eb177989f956aa44943c993f723">consecUppercase</a> (const string &amp;st)</td></tr>
  123. <tr class="memdesc:aed852eb177989f956aa44943c993f723"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of uppercase characters that follow a character of that same type. <a href="#aed852eb177989f956aa44943c993f723">More...</a><br /></td></tr>
  124. <tr class="separator:aed852eb177989f956aa44943c993f723"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a9ebde4a11e5ad25a85ab40428ea2b03f"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#a9ebde4a11e5ad25a85ab40428ea2b03f">consecLowercase</a> (const string &amp;st)</td></tr>
  126. <tr class="memdesc:a9ebde4a11e5ad25a85ab40428ea2b03f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of lowercase characters that follow a character of that same type. <a href="#a9ebde4a11e5ad25a85ab40428ea2b03f">More...</a><br /></td></tr>
  127. <tr class="separator:a9ebde4a11e5ad25a85ab40428ea2b03f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:aa9ab4449505a06cee6a2d754aa748a33"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="psfunctions_8cpp.html#aa9ab4449505a06cee6a2d754aa748a33">consecDigits</a> (const string &amp;st)</td></tr>
  129. <tr class="memdesc:aa9ab4449505a06cee6a2d754aa748a33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a string will return the number of digits that follow a digit. <a href="#aa9ab4449505a06cee6a2d754aa748a33">More...</a><br /></td></tr>
  130. <tr class="separator:aa9ab4449505a06cee6a2d754aa748a33"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. </table>
  132. <h2 class="groupheader">Function Documentation</h2>
  133. <a class="anchor" id="aa9ab4449505a06cee6a2d754aa748a33"></a>
  134. <div class="memitem">
  135. <div class="memproto">
  136. <table class="memname">
  137. <tr>
  138. <td class="memname">unsigned int consecDigits </td>
  139. <td>(</td>
  140. <td class="paramtype">const string &amp;&#160;</td>
  141. <td class="paramname"><em>st</em></td><td>)</td>
  142. <td></td>
  143. </tr>
  144. </table>
  145. </div><div class="memdoc">
  146. <p>Given a string will return the number of digits that follow a digit. </p>
  147. <dl class="params"><dt>Parameters</dt><dd>
  148. <table class="params">
  149. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  150. </table>
  151. </dd>
  152. </dl>
  153. </div>
  154. </div>
  155. <a class="anchor" id="a9ebde4a11e5ad25a85ab40428ea2b03f"></a>
  156. <div class="memitem">
  157. <div class="memproto">
  158. <table class="memname">
  159. <tr>
  160. <td class="memname">unsigned int consecLowercase </td>
  161. <td>(</td>
  162. <td class="paramtype">const string &amp;&#160;</td>
  163. <td class="paramname"><em>st</em></td><td>)</td>
  164. <td></td>
  165. </tr>
  166. </table>
  167. </div><div class="memdoc">
  168. <p>Given a string will return the number of lowercase characters that follow a character of that same type. </p>
  169. <dl class="params"><dt>Parameters</dt><dd>
  170. <table class="params">
  171. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  172. </table>
  173. </dd>
  174. </dl>
  175. </div>
  176. </div>
  177. <a class="anchor" id="aed852eb177989f956aa44943c993f723"></a>
  178. <div class="memitem">
  179. <div class="memproto">
  180. <table class="memname">
  181. <tr>
  182. <td class="memname">unsigned int consecUppercase </td>
  183. <td>(</td>
  184. <td class="paramtype">const string &amp;&#160;</td>
  185. <td class="paramname"><em>st</em></td><td>)</td>
  186. <td></td>
  187. </tr>
  188. </table>
  189. </div><div class="memdoc">
  190. <p>Given a string will return the number of uppercase characters that follow a character of that same type. </p>
  191. <dl class="params"><dt>Parameters</dt><dd>
  192. <table class="params">
  193. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  194. </table>
  195. </dd>
  196. </dl>
  197. </div>
  198. </div>
  199. <a class="anchor" id="a1037ae10cf2e9029a971c4346a3ddbc3"></a>
  200. <div class="memitem">
  201. <div class="memproto">
  202. <table class="memname">
  203. <tr>
  204. <td class="memname">unsigned int countCharsOfType </td>
  205. <td>(</td>
  206. <td class="paramtype">const string &amp;&#160;</td>
  207. <td class="paramname"><em>st</em>, </td>
  208. </tr>
  209. <tr>
  210. <td class="paramkey"></td>
  211. <td></td>
  212. <td class="paramtype">int(*)(int args)&#160;</td>
  213. <td class="paramname"><em>filterFunction</em>, </td>
  214. </tr>
  215. <tr>
  216. <td class="paramkey"></td>
  217. <td></td>
  218. <td class="paramtype">int&#160;</td>
  219. <td class="paramname"><em>fromIdx</em> = <code>0</code>, </td>
  220. </tr>
  221. <tr>
  222. <td class="paramkey"></td>
  223. <td></td>
  224. <td class="paramtype">int&#160;</td>
  225. <td class="paramname"><em>toIdx</em> = <code>-1</code>&#160;</td>
  226. </tr>
  227. <tr>
  228. <td></td>
  229. <td>)</td>
  230. <td></td><td></td>
  231. </tr>
  232. </table>
  233. </div><div class="memdoc">
  234. <p>Given a string will return the number of characters of a certain type. </p>
  235. <p>Given a string will return the number of characters of a certain type that follow a character of that same type.</p>
  236. <dl class="params"><dt>Parameters</dt><dd>
  237. <table class="params">
  238. <tr><td class="paramname">st</td><td>string to analyze </td></tr>
  239. <tr><td class="paramname">filterFunction</td><td>a function pointer to a function that returns 1 when a character of the type is given. For example, if function is islower, then countCharsOfType will count lowercase characters. </td></tr>
  240. <tr><td class="paramname">fromIdx</td><td>index from where to start count </td></tr>
  241. <tr><td class="paramname">toIdx</td><td>last index for count</td></tr>
  242. <tr><td class="paramname">st</td><td>string to analyze </td></tr>
  243. <tr><td class="paramname">filterFunction</td><td>a function pointer to a function that returns 1 when a character of the type is given. For example, if function is islower, then countConsecutive will count consecutive lowercase characters. </td></tr>
  244. </table>
  245. </dd>
  246. </dl>
  247. </div>
  248. </div>
  249. <a class="anchor" id="acd1e5c55d28085d1be2e69f0819b7770"></a>
  250. <div class="memitem">
  251. <div class="memproto">
  252. <table class="memname">
  253. <tr>
  254. <td class="memname">unsigned int countDigits </td>
  255. <td>(</td>
  256. <td class="paramtype">const string &amp;&#160;</td>
  257. <td class="paramname"><em>st</em></td><td>)</td>
  258. <td></td>
  259. </tr>
  260. </table>
  261. </div><div class="memdoc">
  262. <p>Given a string will return the number of digits. </p>
  263. <dl class="params"><dt>Parameters</dt><dd>
  264. <table class="params">
  265. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  266. </table>
  267. </dd>
  268. </dl>
  269. </div>
  270. </div>
  271. <a class="anchor" id="a7d01626f2baa8c0c35a85b6a462e5adb"></a>
  272. <div class="memitem">
  273. <div class="memproto">
  274. <table class="memname">
  275. <tr>
  276. <td class="memname">unsigned int countLowercase </td>
  277. <td>(</td>
  278. <td class="paramtype">const string &amp;&#160;</td>
  279. <td class="paramname"><em>st</em></td><td>)</td>
  280. <td></td>
  281. </tr>
  282. </table>
  283. </div><div class="memdoc">
  284. <p>Given a string will return the number of lowercase characters. </p>
  285. <dl class="params"><dt>Parameters</dt><dd>
  286. <table class="params">
  287. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  288. </table>
  289. </dd>
  290. </dl>
  291. </div>
  292. </div>
  293. <a class="anchor" id="a4bdb8eb13658c5b22f256d14f3104e2e"></a>
  294. <div class="memitem">
  295. <div class="memproto">
  296. <table class="memname">
  297. <tr>
  298. <td class="memname">unsigned int countSymbols </td>
  299. <td>(</td>
  300. <td class="paramtype">const string &amp;&#160;</td>
  301. <td class="paramname"><em>st</em></td><td>)</td>
  302. <td></td>
  303. </tr>
  304. </table>
  305. </div><div class="memdoc">
  306. <p>Given a string will return the number of symbols. </p>
  307. <dl class="params"><dt>Parameters</dt><dd>
  308. <table class="params">
  309. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  310. </table>
  311. </dd>
  312. </dl>
  313. </div>
  314. </div>
  315. <a class="anchor" id="ad579313c6ea7443438cffe04f4989846"></a>
  316. <div class="memitem">
  317. <div class="memproto">
  318. <table class="memname">
  319. <tr>
  320. <td class="memname">unsigned int countUppercase </td>
  321. <td>(</td>
  322. <td class="paramtype">const string &amp;&#160;</td>
  323. <td class="paramname"><em>st</em></td><td>)</td>
  324. <td></td>
  325. </tr>
  326. </table>
  327. </div><div class="memdoc">
  328. <p>Given a string will return the number of uppercase characters. </p>
  329. <dl class="params"><dt>Parameters</dt><dd>
  330. <table class="params">
  331. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  332. </table>
  333. </dd>
  334. </dl>
  335. </div>
  336. </div>
  337. <a class="anchor" id="ab3370c00b77ef1b29e70f08d4e7eaaf6"></a>
  338. <div class="memitem">
  339. <div class="memproto">
  340. <table class="memname">
  341. <tr>
  342. <td class="memname">int isDigitOrSymbol </td>
  343. <td>(</td>
  344. <td class="paramtype">int&#160;</td>
  345. <td class="paramname"><em>c</em></td><td>)</td>
  346. <td></td>
  347. </tr>
  348. </table>
  349. </div><div class="memdoc">
  350. <p>Returns 1 if the passed argument is a digit or symbol. </p>
  351. <dl class="params"><dt>Parameters</dt><dd>
  352. <table class="params">
  353. <tr><td class="paramname">c</td><td>the character to be analyzed. </td></tr>
  354. </table>
  355. </dd>
  356. </dl>
  357. </div>
  358. </div>
  359. <a class="anchor" id="adb8d496f257d2b235032dd09af067ee1"></a>
  360. <div class="memitem">
  361. <div class="memproto">
  362. <table class="memname">
  363. <tr>
  364. <td class="memname">int isSymbol </td>
  365. <td>(</td>
  366. <td class="paramtype">int&#160;</td>
  367. <td class="paramname"><em>c</em></td><td>)</td>
  368. <td></td>
  369. </tr>
  370. </table>
  371. </div><div class="memdoc">
  372. <p>Returns 1 if the passed argument is a symbol. </p>
  373. <dl class="params"><dt>Parameters</dt><dd>
  374. <table class="params">
  375. <tr><td class="paramname">c</td><td>the character to be analyzed. </td></tr>
  376. </table>
  377. </dd>
  378. </dl>
  379. </div>
  380. </div>
  381. <a class="anchor" id="a3f78ae9f503ae80597803d018d5afec0"></a>
  382. <div class="memitem">
  383. <div class="memproto">
  384. <table class="memname">
  385. <tr>
  386. <td class="memname">unsigned int middleDigitsOrSymbols </td>
  387. <td>(</td>
  388. <td class="paramtype">const string &amp;&#160;</td>
  389. <td class="paramname"><em>st</em></td><td>)</td>
  390. <td></td>
  391. </tr>
  392. </table>
  393. </div><div class="memdoc">
  394. <p>Returns the number of digits and symbols that are not the first or last characters of the received string. </p>
  395. <dl class="params"><dt>Parameters</dt><dd>
  396. <table class="params">
  397. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  398. </table>
  399. </dd>
  400. </dl>
  401. </div>
  402. </div>
  403. <a class="anchor" id="a46157ef79156178bdf774a9315ea4d5c"></a>
  404. <div class="memitem">
  405. <div class="memproto">
  406. <table class="memname">
  407. <tr>
  408. <td class="memname">string toUpperString </td>
  409. <td>(</td>
  410. <td class="paramtype">const string &amp;&#160;</td>
  411. <td class="paramname"><em>st</em></td><td>)</td>
  412. <td></td>
  413. </tr>
  414. </table>
  415. </div><div class="memdoc">
  416. <p>Returns an uppercase version of the received string. </p>
  417. <dl class="params"><dt>Parameters</dt><dd>
  418. <table class="params">
  419. <tr><td class="paramname">st</td><td>string by reference to analyze </td></tr>
  420. </table>
  421. </dd>
  422. </dl>
  423. </div>
  424. </div>
  425. </div><!-- contents -->
  426. <!-- start footer part -->
  427. <hr class="footer"/><address class="footer"><small>
  428. Generated on Wed Jun 3 2015 15:04:11 for My Project by &#160;<a href="http://www.doxygen.org/index.html">
  429. <img class="footer" src="doxygen.png" alt="doxygen"/>
  430. </a> 1.8.9.1
  431. </small></address>
  432. </body>
  433. </html>