Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

428 lines
19 KiB

  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.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: testing::internal::RE Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  18. $(document).ready(initResizable);
  19. /* @license-end */</script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/searchdata.js"></script>
  22. <script type="text/javascript" src="search/search.js"></script>
  23. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  27. <div id="titlearea">
  28. <table cellspacing="0" cellpadding="0">
  29. <tbody>
  30. <tr style="height: 56px;">
  31. <td id="projectalign" style="padding-left: 0.5em;">
  32. <div id="projectname">uTL
  33. </div>
  34. <div id="projectbrief">micro Template library</div>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. <!-- end header part -->
  41. <!-- Generated by Doxygen 1.8.14 -->
  42. <script type="text/javascript">
  43. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  44. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  45. /* @license-end */
  46. </script>
  47. <script type="text/javascript" src="menudata.js"></script>
  48. <script type="text/javascript" src="menu.js"></script>
  49. <script type="text/javascript">
  50. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  51. $(function() {
  52. initMenu('',true,false,'search.php','Search');
  53. $(document).ready(function() { init_search(); });
  54. });
  55. /* @license-end */</script>
  56. <div id="main-nav"></div>
  57. </div><!-- top -->
  58. <div id="side-nav" class="ui-resizable side-nav-resizable">
  59. <div id="nav-tree">
  60. <div id="nav-tree-contents">
  61. <div id="nav-sync" class="sync"></div>
  62. </div>
  63. </div>
  64. <div id="splitbar" style="-moz-user-select:none;"
  65. class="ui-resizable-handle">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  70. $(document).ready(function(){initNavTree('classtesting_1_1internal_1_1_r_e.html','');});
  71. /* @license-end */
  72. </script>
  73. <div id="doc-content">
  74. <!-- window showing the filter options -->
  75. <div id="MSearchSelectWindow"
  76. onmouseover="return searchBox.OnSearchSelectShow()"
  77. onmouseout="return searchBox.OnSearchSelectHide()"
  78. onkeydown="return searchBox.OnSearchSelectKey(event)">
  79. </div>
  80. <!-- iframe showing the search results (closed by default) -->
  81. <div id="MSearchResultsWindow">
  82. <iframe src="javascript:void(0)" frameborder="0"
  83. name="MSearchResults" id="MSearchResults">
  84. </iframe>
  85. </div>
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#pub-methods">Public Member Functions</a> &#124;
  89. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  90. <a href="classtesting_1_1internal_1_1_r_e-members.html">List of all members</a> </div>
  91. <div class="headertitle">
  92. <div class="title">testing::internal::RE Class Reference</div> </div>
  93. </div><!--header-->
  94. <div class="contents">
  95. <p><code>#include &lt;<a class="el" href="gtest_8h_source.html">gtest.h</a>&gt;</code></p>
  96. <table class="memberdecls">
  97. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  98. Public Member Functions</h2></td></tr>
  99. <tr class="memitem:ab215dbc2565fce641e1746ca43e9d68a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#ab215dbc2565fce641e1746ca43e9d68a">RE</a> (const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;other)</td></tr>
  100. <tr class="separator:ab215dbc2565fce641e1746ca43e9d68a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a8840bd639642f3d4769a94a68ce463c2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#a8840bd639642f3d4769a94a68ce463c2">RE</a> (const ::std::string &amp;regex)</td></tr>
  102. <tr class="separator:a8840bd639642f3d4769a94a68ce463c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a908ea936a5b7a14479a1b292a7189ca6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#a908ea936a5b7a14479a1b292a7189ca6">RE</a> (const char *regex)</td></tr>
  104. <tr class="separator:a908ea936a5b7a14479a1b292a7189ca6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:af3ad18e6c0b433f3d85ed23eda8119f3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#af3ad18e6c0b433f3d85ed23eda8119f3">~RE</a> ()</td></tr>
  106. <tr class="separator:af3ad18e6c0b433f3d85ed23eda8119f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:a24236aab3a6b0183a145a6f4c0bb9848"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#a24236aab3a6b0183a145a6f4c0bb9848">pattern</a> () const</td></tr>
  108. <tr class="separator:a24236aab3a6b0183a145a6f4c0bb9848"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. </table><table class="memberdecls">
  110. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  111. Static Public Member Functions</h2></td></tr>
  112. <tr class="memitem:aa79a950758d0f1d62f7762d1e9cefe86"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#aa79a950758d0f1d62f7762d1e9cefe86">FullMatch</a> (const ::std::string &amp;str, const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;re)</td></tr>
  113. <tr class="separator:aa79a950758d0f1d62f7762d1e9cefe86"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a1e81f9a87211bdca645e025f8f0236c8"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#a1e81f9a87211bdca645e025f8f0236c8">PartialMatch</a> (const ::std::string &amp;str, const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;re)</td></tr>
  115. <tr class="separator:a1e81f9a87211bdca645e025f8f0236c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a0892b449d80184a7074276377401895e"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#a0892b449d80184a7074276377401895e">FullMatch</a> (const char *str, const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;re)</td></tr>
  117. <tr class="separator:a0892b449d80184a7074276377401895e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:ab6b3d18a28c44d3ff9f42840d1fa8d00"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1internal_1_1_r_e.html#ab6b3d18a28c44d3ff9f42840d1fa8d00">PartialMatch</a> (const char *str, const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;re)</td></tr>
  119. <tr class="separator:ab6b3d18a28c44d3ff9f42840d1fa8d00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. </table>
  121. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  122. <div class="textblock">
  123. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l01136">1136</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  124. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  125. <a id="ab215dbc2565fce641e1746ca43e9d68a"></a>
  126. <h2 class="memtitle"><span class="permalink"><a href="#ab215dbc2565fce641e1746ca43e9d68a">&#9670;&nbsp;</a></span>RE() <span class="overload">[1/3]</span></h2>
  127. <div class="memitem">
  128. <div class="memproto">
  129. <table class="mlabels">
  130. <tr>
  131. <td class="mlabels-left">
  132. <table class="memname">
  133. <tr>
  134. <td class="memname">testing::internal::RE::RE </td>
  135. <td>(</td>
  136. <td class="paramtype">const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;&#160;</td>
  137. <td class="paramname"><em>other</em></td><td>)</td>
  138. <td></td>
  139. </tr>
  140. </table>
  141. </td>
  142. <td class="mlabels-right">
  143. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  144. </tr>
  145. </table>
  146. </div><div class="memdoc">
  147. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l01140">1140</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  148. </div>
  149. </div>
  150. <a id="a8840bd639642f3d4769a94a68ce463c2"></a>
  151. <h2 class="memtitle"><span class="permalink"><a href="#a8840bd639642f3d4769a94a68ce463c2">&#9670;&nbsp;</a></span>RE() <span class="overload">[2/3]</span></h2>
  152. <div class="memitem">
  153. <div class="memproto">
  154. <table class="mlabels">
  155. <tr>
  156. <td class="mlabels-left">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">testing::internal::RE::RE </td>
  160. <td>(</td>
  161. <td class="paramtype">const ::std::string &amp;&#160;</td>
  162. <td class="paramname"><em>regex</em></td><td>)</td>
  163. <td></td>
  164. </tr>
  165. </table>
  166. </td>
  167. <td class="mlabels-right">
  168. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  169. </tr>
  170. </table>
  171. </div><div class="memdoc">
  172. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l01143">1143</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  173. </div>
  174. </div>
  175. <a id="a908ea936a5b7a14479a1b292a7189ca6"></a>
  176. <h2 class="memtitle"><span class="permalink"><a href="#a908ea936a5b7a14479a1b292a7189ca6">&#9670;&nbsp;</a></span>RE() <span class="overload">[3/3]</span></h2>
  177. <div class="memitem">
  178. <div class="memproto">
  179. <table class="mlabels">
  180. <tr>
  181. <td class="mlabels-left">
  182. <table class="memname">
  183. <tr>
  184. <td class="memname">testing::internal::RE::RE </td>
  185. <td>(</td>
  186. <td class="paramtype">const char *&#160;</td>
  187. <td class="paramname"><em>regex</em></td><td>)</td>
  188. <td></td>
  189. </tr>
  190. </table>
  191. </td>
  192. <td class="mlabels-right">
  193. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  194. </tr>
  195. </table>
  196. </div><div class="memdoc">
  197. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l01151">1151</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  198. </div>
  199. </div>
  200. <a id="af3ad18e6c0b433f3d85ed23eda8119f3"></a>
  201. <h2 class="memtitle"><span class="permalink"><a href="#af3ad18e6c0b433f3d85ed23eda8119f3">&#9670;&nbsp;</a></span>~RE()</h2>
  202. <div class="memitem">
  203. <div class="memproto">
  204. <table class="memname">
  205. <tr>
  206. <td class="memname">testing::internal::RE::~RE </td>
  207. <td>(</td>
  208. <td class="paramname"></td><td>)</td>
  209. <td></td>
  210. </tr>
  211. </table>
  212. </div><div class="memdoc">
  213. <p class="definition">Definition at line <a class="el" href="gtest-all_8cc_source.html#l10308">10308</a> of file <a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a>.</p>
  214. </div>
  215. </div>
  216. <h2 class="groupheader">Member Function Documentation</h2>
  217. <a id="aa79a950758d0f1d62f7762d1e9cefe86"></a>
  218. <h2 class="memtitle"><span class="permalink"><a href="#aa79a950758d0f1d62f7762d1e9cefe86">&#9670;&nbsp;</a></span>FullMatch() <span class="overload">[1/2]</span></h2>
  219. <div class="memitem">
  220. <div class="memproto">
  221. <table class="mlabels">
  222. <tr>
  223. <td class="mlabels-left">
  224. <table class="memname">
  225. <tr>
  226. <td class="memname">static bool testing::internal::RE::FullMatch </td>
  227. <td>(</td>
  228. <td class="paramtype">const ::std::string &amp;&#160;</td>
  229. <td class="paramname"><em>str</em>, </td>
  230. </tr>
  231. <tr>
  232. <td class="paramkey"></td>
  233. <td></td>
  234. <td class="paramtype">const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;&#160;</td>
  235. <td class="paramname"><em>re</em>&#160;</td>
  236. </tr>
  237. <tr>
  238. <td></td>
  239. <td>)</td>
  240. <td></td><td></td>
  241. </tr>
  242. </table>
  243. </td>
  244. <td class="mlabels-right">
  245. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  246. </tr>
  247. </table>
  248. </div><div class="memdoc">
  249. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l01161">1161</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  250. </div>
  251. </div>
  252. <a id="a0892b449d80184a7074276377401895e"></a>
  253. <h2 class="memtitle"><span class="permalink"><a href="#a0892b449d80184a7074276377401895e">&#9670;&nbsp;</a></span>FullMatch() <span class="overload">[2/2]</span></h2>
  254. <div class="memitem">
  255. <div class="memproto">
  256. <table class="mlabels">
  257. <tr>
  258. <td class="mlabels-left">
  259. <table class="memname">
  260. <tr>
  261. <td class="memname">bool testing::internal::RE::FullMatch </td>
  262. <td>(</td>
  263. <td class="paramtype">const char *&#160;</td>
  264. <td class="paramname"><em>str</em>, </td>
  265. </tr>
  266. <tr>
  267. <td class="paramkey"></td>
  268. <td></td>
  269. <td class="paramtype">const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;&#160;</td>
  270. <td class="paramname"><em>re</em>&#160;</td>
  271. </tr>
  272. <tr>
  273. <td></td>
  274. <td>)</td>
  275. <td></td><td></td>
  276. </tr>
  277. </table>
  278. </td>
  279. <td class="mlabels-right">
  280. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  281. </tr>
  282. </table>
  283. </div><div class="memdoc">
  284. <p class="definition">Definition at line <a class="el" href="gtest-all_8cc_source.html#l10321">10321</a> of file <a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a>.</p>
  285. </div>
  286. </div>
  287. <a id="a1e81f9a87211bdca645e025f8f0236c8"></a>
  288. <h2 class="memtitle"><span class="permalink"><a href="#a1e81f9a87211bdca645e025f8f0236c8">&#9670;&nbsp;</a></span>PartialMatch() <span class="overload">[1/2]</span></h2>
  289. <div class="memitem">
  290. <div class="memproto">
  291. <table class="mlabels">
  292. <tr>
  293. <td class="mlabels-left">
  294. <table class="memname">
  295. <tr>
  296. <td class="memname">static bool testing::internal::RE::PartialMatch </td>
  297. <td>(</td>
  298. <td class="paramtype">const ::std::string &amp;&#160;</td>
  299. <td class="paramname"><em>str</em>, </td>
  300. </tr>
  301. <tr>
  302. <td class="paramkey"></td>
  303. <td></td>
  304. <td class="paramtype">const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;&#160;</td>
  305. <td class="paramname"><em>re</em>&#160;</td>
  306. </tr>
  307. <tr>
  308. <td></td>
  309. <td>)</td>
  310. <td></td><td></td>
  311. </tr>
  312. </table>
  313. </td>
  314. <td class="mlabels-right">
  315. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  316. </tr>
  317. </table>
  318. </div><div class="memdoc">
  319. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l01164">1164</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  320. </div>
  321. </div>
  322. <a id="ab6b3d18a28c44d3ff9f42840d1fa8d00"></a>
  323. <h2 class="memtitle"><span class="permalink"><a href="#ab6b3d18a28c44d3ff9f42840d1fa8d00">&#9670;&nbsp;</a></span>PartialMatch() <span class="overload">[2/2]</span></h2>
  324. <div class="memitem">
  325. <div class="memproto">
  326. <table class="mlabels">
  327. <tr>
  328. <td class="mlabels-left">
  329. <table class="memname">
  330. <tr>
  331. <td class="memname">bool testing::internal::RE::PartialMatch </td>
  332. <td>(</td>
  333. <td class="paramtype">const char *&#160;</td>
  334. <td class="paramname"><em>str</em>, </td>
  335. </tr>
  336. <tr>
  337. <td class="paramkey"></td>
  338. <td></td>
  339. <td class="paramtype">const <a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a> &amp;&#160;</td>
  340. <td class="paramname"><em>re</em>&#160;</td>
  341. </tr>
  342. <tr>
  343. <td></td>
  344. <td>)</td>
  345. <td></td><td></td>
  346. </tr>
  347. </table>
  348. </td>
  349. <td class="mlabels-right">
  350. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  351. </tr>
  352. </table>
  353. </div><div class="memdoc">
  354. <p class="definition">Definition at line <a class="el" href="gtest-all_8cc_source.html#l10330">10330</a> of file <a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a>.</p>
  355. </div>
  356. </div>
  357. <a id="a24236aab3a6b0183a145a6f4c0bb9848"></a>
  358. <h2 class="memtitle"><span class="permalink"><a href="#a24236aab3a6b0183a145a6f4c0bb9848">&#9670;&nbsp;</a></span>pattern()</h2>
  359. <div class="memitem">
  360. <div class="memproto">
  361. <table class="mlabels">
  362. <tr>
  363. <td class="mlabels-left">
  364. <table class="memname">
  365. <tr>
  366. <td class="memname">const char* testing::internal::RE::pattern </td>
  367. <td>(</td>
  368. <td class="paramname"></td><td>)</td>
  369. <td> const</td>
  370. </tr>
  371. </table>
  372. </td>
  373. <td class="mlabels-right">
  374. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  375. </tr>
  376. </table>
  377. </div><div class="memdoc">
  378. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l01155">1155</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  379. </div>
  380. </div>
  381. <hr/>The documentation for this class was generated from the following files:<ul>
  382. <li>test/eclipse-cygwin/lib/gtest/<a class="el" href="gtest_8h_source.html">gtest.h</a></li>
  383. <li>test/eclipse-cygwin/lib/gtest/<a class="el" href="gtest-all_8cc_source.html">gtest-all.cc</a></li>
  384. </ul>
  385. </div><!-- contents -->
  386. </div><!-- doc-content -->
  387. <!-- start footer part -->
  388. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  389. <ul>
  390. <li class="navelem"><a class="el" href="namespacetesting.html">testing</a></li><li class="navelem"><a class="el" href="namespacetesting_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="classtesting_1_1internal_1_1_r_e.html">RE</a></li>
  391. <li class="footer">Generated by
  392. <a href="http://www.doxygen.org/index.html">
  393. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  394. </ul>
  395. </div>
  396. </body>
  397. </html>