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.
 
 
 
 

282 lines
12 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::ScopedTrace 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_1_scoped_trace.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="classtesting_1_1_scoped_trace-members.html">List of all members</a> </div>
  90. <div class="headertitle">
  91. <div class="title">testing::ScopedTrace Class Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <p><code>#include &lt;<a class="el" href="gtest_8h_source.html">gtest.h</a>&gt;</code></p>
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  97. Public Member Functions</h2></td></tr>
  98. <tr class="memitem:a2da90b95d682d518cca472934d53c59c"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  99. <tr class="memitem:a2da90b95d682d518cca472934d53c59c"><td class="memTemplItemLeft" align="right" valign="top">&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classtesting_1_1_scoped_trace.html#a2da90b95d682d518cca472934d53c59c">ScopedTrace</a> (const char *file, int line, const T &amp;message)</td></tr>
  100. <tr class="separator:a2da90b95d682d518cca472934d53c59c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:accd2a06cc941ffd7d6fe109adfdb4f19"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1_scoped_trace.html#accd2a06cc941ffd7d6fe109adfdb4f19">ScopedTrace</a> (const char *file, int line, const char *message)</td></tr>
  102. <tr class="separator:accd2a06cc941ffd7d6fe109adfdb4f19"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:a1f453a2aade0db6955a111a7cb329615"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1_scoped_trace.html#a1f453a2aade0db6955a111a7cb329615">ScopedTrace</a> (const char *file, int line, const std::string &amp;message)</td></tr>
  104. <tr class="separator:a1f453a2aade0db6955a111a7cb329615"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:aa8320ec2679f205cf2c14f508ba35b4d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtesting_1_1_scoped_trace.html#aa8320ec2679f205cf2c14f508ba35b4d">~ScopedTrace</a> ()</td></tr>
  106. <tr class="separator:aa8320ec2679f205cf2c14f508ba35b4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. </table>
  108. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  109. <div class="textblock">
  110. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l16835">16835</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  111. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  112. <a id="a2da90b95d682d518cca472934d53c59c"></a>
  113. <h2 class="memtitle"><span class="permalink"><a href="#a2da90b95d682d518cca472934d53c59c">&#9670;&nbsp;</a></span>ScopedTrace() <span class="overload">[1/3]</span></h2>
  114. <div class="memitem">
  115. <div class="memproto">
  116. <div class="memtemplate">
  117. template&lt;typename T &gt; </div>
  118. <table class="mlabels">
  119. <tr>
  120. <td class="mlabels-left">
  121. <table class="memname">
  122. <tr>
  123. <td class="memname">testing::ScopedTrace::ScopedTrace </td>
  124. <td>(</td>
  125. <td class="paramtype">const char *&#160;</td>
  126. <td class="paramname"><em>file</em>, </td>
  127. </tr>
  128. <tr>
  129. <td class="paramkey"></td>
  130. <td></td>
  131. <td class="paramtype">int&#160;</td>
  132. <td class="paramname"><em>line</em>, </td>
  133. </tr>
  134. <tr>
  135. <td class="paramkey"></td>
  136. <td></td>
  137. <td class="paramtype">const T &amp;&#160;</td>
  138. <td class="paramname"><em>message</em>&#160;</td>
  139. </tr>
  140. <tr>
  141. <td></td>
  142. <td>)</td>
  143. <td></td><td></td>
  144. </tr>
  145. </table>
  146. </td>
  147. <td class="mlabels-right">
  148. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  149. </tr>
  150. </table>
  151. </div><div class="memdoc">
  152. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l16843">16843</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  153. </div>
  154. </div>
  155. <a id="accd2a06cc941ffd7d6fe109adfdb4f19"></a>
  156. <h2 class="memtitle"><span class="permalink"><a href="#accd2a06cc941ffd7d6fe109adfdb4f19">&#9670;&nbsp;</a></span>ScopedTrace() <span class="overload">[2/3]</span></h2>
  157. <div class="memitem">
  158. <div class="memproto">
  159. <table class="mlabels">
  160. <tr>
  161. <td class="mlabels-left">
  162. <table class="memname">
  163. <tr>
  164. <td class="memname">testing::ScopedTrace::ScopedTrace </td>
  165. <td>(</td>
  166. <td class="paramtype">const char *&#160;</td>
  167. <td class="paramname"><em>file</em>, </td>
  168. </tr>
  169. <tr>
  170. <td class="paramkey"></td>
  171. <td></td>
  172. <td class="paramtype">int&#160;</td>
  173. <td class="paramname"><em>line</em>, </td>
  174. </tr>
  175. <tr>
  176. <td class="paramkey"></td>
  177. <td></td>
  178. <td class="paramtype">const char *&#160;</td>
  179. <td class="paramname"><em>message</em>&#160;</td>
  180. </tr>
  181. <tr>
  182. <td></td>
  183. <td>)</td>
  184. <td></td><td></td>
  185. </tr>
  186. </table>
  187. </td>
  188. <td class="mlabels-right">
  189. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  190. </tr>
  191. </table>
  192. </div><div class="memdoc">
  193. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l16848">16848</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  194. </div>
  195. </div>
  196. <a id="a1f453a2aade0db6955a111a7cb329615"></a>
  197. <h2 class="memtitle"><span class="permalink"><a href="#a1f453a2aade0db6955a111a7cb329615">&#9670;&nbsp;</a></span>ScopedTrace() <span class="overload">[3/3]</span></h2>
  198. <div class="memitem">
  199. <div class="memproto">
  200. <table class="mlabels">
  201. <tr>
  202. <td class="mlabels-left">
  203. <table class="memname">
  204. <tr>
  205. <td class="memname">testing::ScopedTrace::ScopedTrace </td>
  206. <td>(</td>
  207. <td class="paramtype">const char *&#160;</td>
  208. <td class="paramname"><em>file</em>, </td>
  209. </tr>
  210. <tr>
  211. <td class="paramkey"></td>
  212. <td></td>
  213. <td class="paramtype">int&#160;</td>
  214. <td class="paramname"><em>line</em>, </td>
  215. </tr>
  216. <tr>
  217. <td class="paramkey"></td>
  218. <td></td>
  219. <td class="paramtype">const std::string &amp;&#160;</td>
  220. <td class="paramname"><em>message</em>&#160;</td>
  221. </tr>
  222. <tr>
  223. <td></td>
  224. <td>)</td>
  225. <td></td><td></td>
  226. </tr>
  227. </table>
  228. </td>
  229. <td class="mlabels-right">
  230. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  231. </tr>
  232. </table>
  233. </div><div class="memdoc">
  234. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l16858">16858</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  235. </div>
  236. </div>
  237. <a id="aa8320ec2679f205cf2c14f508ba35b4d"></a>
  238. <h2 class="memtitle"><span class="permalink"><a href="#aa8320ec2679f205cf2c14f508ba35b4d">&#9670;&nbsp;</a></span>~ScopedTrace()</h2>
  239. <div class="memitem">
  240. <div class="memproto">
  241. <table class="memname">
  242. <tr>
  243. <td class="memname">testing::ScopedTrace::~ScopedTrace </td>
  244. <td>(</td>
  245. <td class="paramname"></td><td>)</td>
  246. <td></td>
  247. </tr>
  248. </table>
  249. </div><div class="memdoc">
  250. </div>
  251. </div>
  252. <hr/>The documentation for this class was generated from the following file:<ul>
  253. <li>test/eclipse-cygwin/lib/gtest/<a class="el" href="gtest_8h_source.html">gtest.h</a></li>
  254. </ul>
  255. </div><!-- contents -->
  256. </div><!-- doc-content -->
  257. <!-- start footer part -->
  258. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  259. <ul>
  260. <li class="navelem"><a class="el" href="namespacetesting.html">testing</a></li><li class="navelem"><a class="el" href="classtesting_1_1_scoped_trace.html">ScopedTrace</a></li>
  261. <li class="footer">Generated by
  262. <a href="http://www.doxygen.org/index.html">
  263. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  264. </ul>
  265. </div>
  266. </body>
  267. </html>