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.

namespaceutl_1_1in__dev__details.html 18 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  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::in_dev_details Namespace 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('namespaceutl_1_1in__dev__details.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="#nested-classes">Classes</a> &#124;
  89. <a href="#typedef-members">Typedefs</a> </div>
  90. <div class="headertitle">
  91. <div class="title">utl::in_dev_details Namespace Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  96. Classes</h2></td></tr>
  97. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1in__dev__details_1_1is__in__dev__.html">is_in_dev_</a></td></tr>
  98. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Primary template to catch any non input device types. <a href="structutl_1_1in__dev__details_1_1is__in__dev__.html#details">More...</a><br /></td></tr>
  99. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structutl_1_1in__dev__details_1_1is__in__dev___3_01___tp_00_01void__t_3_01typename_01___tp_1_1dad922a62deb7c32e2cff18d66b8c887d2.html">is_in_dev_&lt; _Tp, void_t&lt; typename _Tp::data_type, typename _Tp::pointer_type, typename _Tp::iterator, typename _Tp::const_iterator, use_if_same_t&lt; try_get1_t&lt; _Tp &gt;, size_t &gt;, use_if_same_t&lt; try_get2_t&lt; _Tp &gt;, size_t &gt;, use_if_same_t&lt; try_begin_t&lt; _Tp &gt;, typename _Tp::iterator &gt;, use_if_same_t&lt; tryc_begin_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt;, use_if_same_t&lt; try_cbegin_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt;, use_if_same_t&lt; try_end_t&lt; _Tp &gt;, typename _Tp::iterator &gt;, use_if_same_t&lt; tryc_end_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt;, use_if_same_t&lt; try_cend_t&lt; _Tp &gt;, typename _Tp::const_iterator &gt; &gt; &gt;</a></td></tr>
  101. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">template to catch a proper input device type <a href="structutl_1_1in__dev__details_1_1is__in__dev___3_01___tp_00_01void__t_3_01typename_01___tp_1_1dad922a62deb7c32e2cff18d66b8c887d2.html#details">More...</a><br /></td></tr>
  102. <tr class="separator:"><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="typedef-members"></a>
  105. Typedefs</h2></td></tr>
  106. <tr class="memitem:a560eec1b326b0f6b91fa96f64f15ef61"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  107. <tr class="memitem:a560eec1b326b0f6b91fa96f64f15ef61"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#a560eec1b326b0f6b91fa96f64f15ef61">try_get1_t</a> = decltype(declval&lt; _Tp &gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a>(declval&lt; typename _Tp::data_type &amp; &gt;()))</td></tr>
  108. <tr class="separator:a560eec1b326b0f6b91fa96f64f15ef61"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:ae11bccc2282ed8f2aaac67687d756167"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  110. <tr class="memitem:ae11bccc2282ed8f2aaac67687d756167"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#ae11bccc2282ed8f2aaac67687d756167">try_get2_t</a> = decltype(declval&lt; _Tp &gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a>(declval&lt; typename _Tp::data_type * &gt;(), declval&lt; <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> &gt;()))</td></tr>
  111. <tr class="separator:ae11bccc2282ed8f2aaac67687d756167"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:af790d5cec9db9f80cc8d67e9755e823e"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  113. <tr class="memitem:af790d5cec9db9f80cc8d67e9755e823e"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#af790d5cec9db9f80cc8d67e9755e823e">try_begin_t</a> = decltype(declval&lt; _Tp &gt;().begin())</td></tr>
  114. <tr class="separator:af790d5cec9db9f80cc8d67e9755e823e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:af7cb4a98688e65b04793cef145a90202"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  116. <tr class="memitem:af7cb4a98688e65b04793cef145a90202"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#af7cb4a98688e65b04793cef145a90202">tryc_begin_t</a> = decltype(declval&lt; const _Tp &gt;().begin())</td></tr>
  117. <tr class="separator:af7cb4a98688e65b04793cef145a90202"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a857d70a4119a4ff5615141d68e59ba7b"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  119. <tr class="memitem:a857d70a4119a4ff5615141d68e59ba7b"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#a857d70a4119a4ff5615141d68e59ba7b">try_cbegin_t</a> = decltype(declval&lt; const _Tp &gt;().cbegin())</td></tr>
  120. <tr class="separator:a857d70a4119a4ff5615141d68e59ba7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:acc72ca7012e26a9a0de8b08047dc9de8"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  122. <tr class="memitem:acc72ca7012e26a9a0de8b08047dc9de8"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#acc72ca7012e26a9a0de8b08047dc9de8">try_end_t</a> = decltype(declval&lt; _Tp &gt;().begin())</td></tr>
  123. <tr class="separator:acc72ca7012e26a9a0de8b08047dc9de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:ad2dad6ed501b94ba1fa9cffade343762"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  125. <tr class="memitem:ad2dad6ed501b94ba1fa9cffade343762"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#ad2dad6ed501b94ba1fa9cffade343762">tryc_end_t</a> = decltype(declval&lt; const _Tp &gt;().begin())</td></tr>
  126. <tr class="separator:ad2dad6ed501b94ba1fa9cffade343762"><td class="memSeparator" colspan="2">&#160;</td></tr>
  127. <tr class="memitem:ab268028c81d5385f19bbeb0c978ec9b2"><td class="memTemplParams" colspan="2">template&lt;class _Tp &gt; </td></tr>
  128. <tr class="memitem:ab268028c81d5385f19bbeb0c978ec9b2"><td class="memTemplItemLeft" align="right" valign="top">using&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceutl_1_1in__dev__details.html#ab268028c81d5385f19bbeb0c978ec9b2">try_cend_t</a> = decltype(declval&lt; const _Tp &gt;().cend())</td></tr>
  129. <tr class="separator:ab268028c81d5385f19bbeb0c978ec9b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. </table>
  131. <h2 class="groupheader">Typedef Documentation</h2>
  132. <a id="af790d5cec9db9f80cc8d67e9755e823e"></a>
  133. <h2 class="memtitle"><span class="permalink"><a href="#af790d5cec9db9f80cc8d67e9755e823e">&#9670;&nbsp;</a></span>try_begin_t</h2>
  134. <div class="memitem">
  135. <div class="memproto">
  136. <div class="memtemplate">
  137. template&lt;class _Tp &gt; </div>
  138. <table class="memname">
  139. <tr>
  140. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#af790d5cec9db9f80cc8d67e9755e823e">utl::in_dev_details::try_begin_t</a> = typedef decltype (declval&lt;_Tp&gt;().begin())</td>
  141. </tr>
  142. </table>
  143. </div><div class="memdoc">
  144. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00298">298</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  145. </div>
  146. </div>
  147. <a id="a857d70a4119a4ff5615141d68e59ba7b"></a>
  148. <h2 class="memtitle"><span class="permalink"><a href="#a857d70a4119a4ff5615141d68e59ba7b">&#9670;&nbsp;</a></span>try_cbegin_t</h2>
  149. <div class="memitem">
  150. <div class="memproto">
  151. <div class="memtemplate">
  152. template&lt;class _Tp &gt; </div>
  153. <table class="memname">
  154. <tr>
  155. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#a857d70a4119a4ff5615141d68e59ba7b">utl::in_dev_details::try_cbegin_t</a> = typedef decltype (declval&lt;const _Tp&gt;().cbegin())</td>
  156. </tr>
  157. </table>
  158. </div><div class="memdoc">
  159. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00300">300</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  160. </div>
  161. </div>
  162. <a id="ab268028c81d5385f19bbeb0c978ec9b2"></a>
  163. <h2 class="memtitle"><span class="permalink"><a href="#ab268028c81d5385f19bbeb0c978ec9b2">&#9670;&nbsp;</a></span>try_cend_t</h2>
  164. <div class="memitem">
  165. <div class="memproto">
  166. <div class="memtemplate">
  167. template&lt;class _Tp &gt; </div>
  168. <table class="memname">
  169. <tr>
  170. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#ab268028c81d5385f19bbeb0c978ec9b2">utl::in_dev_details::try_cend_t</a> = typedef decltype (declval&lt;const _Tp&gt;().cend())</td>
  171. </tr>
  172. </table>
  173. </div><div class="memdoc">
  174. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00303">303</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  175. </div>
  176. </div>
  177. <a id="acc72ca7012e26a9a0de8b08047dc9de8"></a>
  178. <h2 class="memtitle"><span class="permalink"><a href="#acc72ca7012e26a9a0de8b08047dc9de8">&#9670;&nbsp;</a></span>try_end_t</h2>
  179. <div class="memitem">
  180. <div class="memproto">
  181. <div class="memtemplate">
  182. template&lt;class _Tp &gt; </div>
  183. <table class="memname">
  184. <tr>
  185. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#acc72ca7012e26a9a0de8b08047dc9de8">utl::in_dev_details::try_end_t</a> = typedef decltype (declval&lt;_Tp&gt;().begin())</td>
  186. </tr>
  187. </table>
  188. </div><div class="memdoc">
  189. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00301">301</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  190. </div>
  191. </div>
  192. <a id="a560eec1b326b0f6b91fa96f64f15ef61"></a>
  193. <h2 class="memtitle"><span class="permalink"><a href="#a560eec1b326b0f6b91fa96f64f15ef61">&#9670;&nbsp;</a></span>try_get1_t</h2>
  194. <div class="memitem">
  195. <div class="memproto">
  196. <div class="memtemplate">
  197. template&lt;class _Tp &gt; </div>
  198. <table class="memname">
  199. <tr>
  200. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#a560eec1b326b0f6b91fa96f64f15ef61">utl::in_dev_details::try_get1_t</a> = typedef decltype (declval&lt;_Tp&gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a> (declval&lt;typename _Tp::data_type&amp;&gt;()))</td>
  201. </tr>
  202. </table>
  203. </div><div class="memdoc">
  204. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00293">293</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  205. </div>
  206. </div>
  207. <a id="ae11bccc2282ed8f2aaac67687d756167"></a>
  208. <h2 class="memtitle"><span class="permalink"><a href="#ae11bccc2282ed8f2aaac67687d756167">&#9670;&nbsp;</a></span>try_get2_t</h2>
  209. <div class="memitem">
  210. <div class="memproto">
  211. <div class="memtemplate">
  212. template&lt;class _Tp &gt; </div>
  213. <table class="memname">
  214. <tr>
  215. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#ae11bccc2282ed8f2aaac67687d756167">utl::in_dev_details::try_get2_t</a> = typedef decltype (declval&lt;_Tp&gt;().<a class="el" href="namespaceutl.html#a29057d2e164fe6dd3f3095f0d69c6546">get</a> (declval&lt;typename _Tp::data_type*&gt;(), declval&lt;<a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&gt;()))</td>
  216. </tr>
  217. </table>
  218. </div><div class="memdoc">
  219. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00294">294</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  220. </div>
  221. </div>
  222. <a id="af7cb4a98688e65b04793cef145a90202"></a>
  223. <h2 class="memtitle"><span class="permalink"><a href="#af7cb4a98688e65b04793cef145a90202">&#9670;&nbsp;</a></span>tryc_begin_t</h2>
  224. <div class="memitem">
  225. <div class="memproto">
  226. <div class="memtemplate">
  227. template&lt;class _Tp &gt; </div>
  228. <table class="memname">
  229. <tr>
  230. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#af7cb4a98688e65b04793cef145a90202">utl::in_dev_details::tryc_begin_t</a> = typedef decltype (declval&lt;const _Tp&gt;().begin())</td>
  231. </tr>
  232. </table>
  233. </div><div class="memdoc">
  234. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00299">299</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  235. </div>
  236. </div>
  237. <a id="ad2dad6ed501b94ba1fa9cffade343762"></a>
  238. <h2 class="memtitle"><span class="permalink"><a href="#ad2dad6ed501b94ba1fa9cffade343762">&#9670;&nbsp;</a></span>tryc_end_t</h2>
  239. <div class="memitem">
  240. <div class="memproto">
  241. <div class="memtemplate">
  242. template&lt;class _Tp &gt; </div>
  243. <table class="memname">
  244. <tr>
  245. <td class="memname">using <a class="el" href="namespaceutl_1_1in__dev__details.html#ad2dad6ed501b94ba1fa9cffade343762">utl::in_dev_details::tryc_end_t</a> = typedef decltype (declval&lt;const _Tp&gt;().begin())</td>
  246. </tr>
  247. </table>
  248. </div><div class="memdoc">
  249. <p class="definition">Definition at line <a class="el" href="in__dev_8h_source.html#l00302">302</a> of file <a class="el" href="in__dev_8h_source.html">in_dev.h</a>.</p>
  250. </div>
  251. </div>
  252. </div><!-- contents -->
  253. </div><!-- doc-content -->
  254. <!-- start footer part -->
  255. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  256. <ul>
  257. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="namespaceutl_1_1in__dev__details.html">in_dev_details</a></li>
  258. <li class="footer">Generated by
  259. <a href="http://www.doxygen.org/index.html">
  260. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  261. </ul>
  262. </div>
  263. </body>
  264. </html>