Micro template library A library for building device drivers
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

structutl_1_1id__traits.html 10 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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: utl::id_traits&lt; _Tp, _Nm &gt; Struct Template 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('structutl_1_1id__traits.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-types">Public Types</a> &#124;
  89. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  90. <a href="structutl_1_1id__traits-members.html">List of all members</a> </div>
  91. <div class="headertitle">
  92. <div class="title">utl::id_traits&lt; _Tp, _Nm &gt; Struct Template Reference</div> </div>
  93. </div><!--header-->
  94. <div class="contents">
  95. <p>id container traits helper
  96. <a href="structutl_1_1id__traits.html#details">More...</a></p>
  97. <p><code>#include &lt;<a class="el" href="id_8h_source.html">id.h</a>&gt;</code></p>
  98. <table class="memberdecls">
  99. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  100. Public Types</h2></td></tr>
  101. <tr class="memitem:ae8c2dc9bc8ff3284dc89e7760ef601f8"><td class="memItemLeft" align="right" valign="top">typedef _Tp&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1id__traits.html#ae8c2dc9bc8ff3284dc89e7760ef601f8">type</a>[_Nm]</td></tr>
  102. <tr class="separator:ae8c2dc9bc8ff3284dc89e7760ef601f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. </table><table class="memberdecls">
  104. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  105. Static Public Member Functions</h2></td></tr>
  106. <tr class="memitem:adcca147b5e6dd495ce61272257867a13"><td class="memItemLeft" align="right" valign="top">static constexpr _Tp &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1id__traits.html#adcca147b5e6dd495ce61272257867a13">Ref</a> (const <a class="el" href="structutl_1_1id__traits.html#ae8c2dc9bc8ff3284dc89e7760ef601f8">type</a> &amp;t, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n) noexcept</td></tr>
  107. <tr class="separator:adcca147b5e6dd495ce61272257867a13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a570679371037d3f6716f2bb87f9e67d5"><td class="memItemLeft" align="right" valign="top">static constexpr _Tp *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1id__traits.html#a570679371037d3f6716f2bb87f9e67d5">Ptr</a> (const <a class="el" href="structutl_1_1id__traits.html#ae8c2dc9bc8ff3284dc89e7760ef601f8">type</a> &amp;t) noexcept</td></tr>
  109. <tr class="separator:a570679371037d3f6716f2bb87f9e67d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table>
  111. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  112. <div class="textblock"><h3>template&lt;typename _Tp, size_t _Nm&gt;<br />
  113. struct utl::id_traits&lt; _Tp, _Nm &gt;</h3>
  114. <p>id container traits helper </p>
  115. <p class="definition">Definition at line <a class="el" href="id_8h_source.html#l00038">38</a> of file <a class="el" href="id_8h_source.html">id.h</a>.</p>
  116. </div><h2 class="groupheader">Member Typedef Documentation</h2>
  117. <a id="ae8c2dc9bc8ff3284dc89e7760ef601f8"></a>
  118. <h2 class="memtitle"><span class="permalink"><a href="#ae8c2dc9bc8ff3284dc89e7760ef601f8">&#9670;&nbsp;</a></span>type</h2>
  119. <div class="memitem">
  120. <div class="memproto">
  121. <div class="memtemplate">
  122. template&lt;typename _Tp , size_t _Nm&gt; </div>
  123. <table class="memname">
  124. <tr>
  125. <td class="memname">typedef _Tp <a class="el" href="structutl_1_1id__traits.html">utl::id_traits</a>&lt; _Tp, _Nm &gt;::type[_Nm]</td>
  126. </tr>
  127. </table>
  128. </div><div class="memdoc">
  129. <p class="definition">Definition at line <a class="el" href="id_8h_source.html#l00039">39</a> of file <a class="el" href="id_8h_source.html">id.h</a>.</p>
  130. </div>
  131. </div>
  132. <h2 class="groupheader">Member Function Documentation</h2>
  133. <a id="a570679371037d3f6716f2bb87f9e67d5"></a>
  134. <h2 class="memtitle"><span class="permalink"><a href="#a570679371037d3f6716f2bb87f9e67d5">&#9670;&nbsp;</a></span>Ptr()</h2>
  135. <div class="memitem">
  136. <div class="memproto">
  137. <div class="memtemplate">
  138. template&lt;typename _Tp , size_t _Nm&gt; </div>
  139. <table class="mlabels">
  140. <tr>
  141. <td class="mlabels-left">
  142. <table class="memname">
  143. <tr>
  144. <td class="memname">static constexpr _Tp* <a class="el" href="structutl_1_1id__traits.html">utl::id_traits</a>&lt; _Tp, _Nm &gt;::Ptr </td>
  145. <td>(</td>
  146. <td class="paramtype">const <a class="el" href="structutl_1_1id__traits.html#ae8c2dc9bc8ff3284dc89e7760ef601f8">type</a> &amp;&#160;</td>
  147. <td class="paramname"><em>t</em></td><td>)</td>
  148. <td></td>
  149. </tr>
  150. </table>
  151. </td>
  152. <td class="mlabels-right">
  153. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
  154. </tr>
  155. </table>
  156. </div><div class="memdoc">
  157. <p class="definition">Definition at line <a class="el" href="id_8h_source.html#l00045">45</a> of file <a class="el" href="id_8h_source.html">id.h</a>.</p>
  158. </div>
  159. </div>
  160. <a id="adcca147b5e6dd495ce61272257867a13"></a>
  161. <h2 class="memtitle"><span class="permalink"><a href="#adcca147b5e6dd495ce61272257867a13">&#9670;&nbsp;</a></span>Ref()</h2>
  162. <div class="memitem">
  163. <div class="memproto">
  164. <div class="memtemplate">
  165. template&lt;typename _Tp , size_t _Nm&gt; </div>
  166. <table class="mlabels">
  167. <tr>
  168. <td class="mlabels-left">
  169. <table class="memname">
  170. <tr>
  171. <td class="memname">static constexpr _Tp&amp; <a class="el" href="structutl_1_1id__traits.html">utl::id_traits</a>&lt; _Tp, _Nm &gt;::Ref </td>
  172. <td>(</td>
  173. <td class="paramtype">const <a class="el" href="structutl_1_1id__traits.html#ae8c2dc9bc8ff3284dc89e7760ef601f8">type</a> &amp;&#160;</td>
  174. <td class="paramname"><em>t</em>, </td>
  175. </tr>
  176. <tr>
  177. <td class="paramkey"></td>
  178. <td></td>
  179. <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td>
  180. <td class="paramname"><em>n</em>&#160;</td>
  181. </tr>
  182. <tr>
  183. <td></td>
  184. <td>)</td>
  185. <td></td><td></td>
  186. </tr>
  187. </table>
  188. </td>
  189. <td class="mlabels-right">
  190. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">noexcept</span></span> </td>
  191. </tr>
  192. </table>
  193. </div><div class="memdoc">
  194. <p class="definition">Definition at line <a class="el" href="id_8h_source.html#l00041">41</a> of file <a class="el" href="id_8h_source.html">id.h</a>.</p>
  195. </div>
  196. </div>
  197. <hr/>The documentation for this struct was generated from the following file:<ul>
  198. <li>include/utl/container/<a class="el" href="id_8h_source.html">id.h</a></li>
  199. </ul>
  200. </div><!-- contents -->
  201. </div><!-- doc-content -->
  202. <!-- start footer part -->
  203. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  204. <ul>
  205. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="structutl_1_1id__traits.html">id_traits</a></li>
  206. <li class="footer">Generated by
  207. <a href="http://www.doxygen.org/index.html">
  208. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  209. </ul>
  210. </div>
  211. </body>
  212. </html>