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.
 
 
 
 

947 lines
51 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: utl::out_dev&lt; impl_t, data_t, streamsize &gt; Class 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('classutl_1_1out__dev.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="#pri-types">Private Types</a> &#124;
  90. <a href="#pri-methods">Private Member Functions</a> &#124;
  91. <a href="classutl_1_1out__dev-members.html">List of all members</a> </div>
  92. <div class="headertitle">
  93. <div class="title">utl::out_dev&lt; impl_t, data_t, streamsize &gt; Class Template Reference</div> </div>
  94. </div><!--header-->
  95. <div class="contents">
  96. <p>Abstract base classes for output devices.
  97. <a href="classutl_1_1out__dev.html#details">More...</a></p>
  98. <p><code>#include &lt;<a class="el" href="out__dev_8h_source.html">out_dev.h</a>&gt;</code></p>
  99. <table class="memberdecls">
  100. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  101. Public Types</h2></td></tr>
  102. <tr class="memitem:aebda5d42d26027e9266bfe74bf71a960"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#aebda5d42d26027e9266bfe74bf71a960">type</a> = <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a></td></tr>
  103. <tr class="memdesc:aebda5d42d26027e9266bfe74bf71a960"><td class="mdescLeft">&#160;</td><td class="mdescRight">Export type as identity meta-function. <a href="#aebda5d42d26027e9266bfe74bf71a960">More...</a><br /></td></tr>
  104. <tr class="separator:aebda5d42d26027e9266bfe74bf71a960"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  106. <tr class="memitem:ac6b32afc51452a7dd2297a41f74e63e4"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#ac6b32afc51452a7dd2297a41f74e63e4">data_type</a> = data_t</td></tr>
  107. <tr class="separator:ac6b32afc51452a7dd2297a41f74e63e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:abfb6a95c13fc63c09776141ad16e98e3"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#abfb6a95c13fc63c09776141ad16e98e3">pointer_type</a> = data_t *</td></tr>
  109. <tr class="separator:abfb6a95c13fc63c09776141ad16e98e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. </table><table class="memberdecls">
  111. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  112. Public Member Functions</h2></td></tr>
  113. <tr><td colspan="2"><div class="groupHeader">Common output device interface</div></td></tr>
  114. <tr class="memitem:a640214f205468c235dec25bab8fb6c08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a640214f205468c235dec25bab8fb6c08">put</a> (const data_t &amp;data)</td></tr>
  115. <tr class="memdesc:a640214f205468c235dec25bab8fb6c08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Put interface. This function should send a single data_t object to device. <a href="#a640214f205468c235dec25bab8fb6c08">More...</a><br /></td></tr>
  116. <tr class="separator:a640214f205468c235dec25bab8fb6c08"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:a0cfe5f4d3c3e4fb21abe9e88101e0bb8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a0cfe5f4d3c3e4fb21abe9e88101e0bb8">put</a> (const data_t *data, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n)</td></tr>
  118. <tr class="memdesc:a0cfe5f4d3c3e4fb21abe9e88101e0bb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Put interface. This function should send a stream of data_t objects to device. <a href="#a0cfe5f4d3c3e4fb21abe9e88101e0bb8">More...</a><br /></td></tr>
  119. <tr class="separator:a0cfe5f4d3c3e4fb21abe9e88101e0bb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr><td colspan="2"><div class="groupHeader">Stream operator &lt;&lt; interface</div></td></tr>
  121. <tr class="memitem:a73612dfcce721cbc386bad3e7d6864b4"><td class="memTemplParams" colspan="2">template&lt;typename _Src_t &gt; </td></tr>
  122. <tr class="memitem:a73612dfcce721cbc386bad3e7d6864b4"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a73612dfcce721cbc386bad3e7d6864b4">operator&lt;&lt;</a> (_Src_t &amp;src)</td></tr>
  123. <tr class="memdesc:a73612dfcce721cbc386bad3e7d6864b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Template operator&lt;&lt; implementation for for all by value/ref parameters. <a href="#a73612dfcce721cbc386bad3e7d6864b4">More...</a><br /></td></tr>
  124. <tr class="separator:a73612dfcce721cbc386bad3e7d6864b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a934913c0d594e8fd366b248bc01116aa"><td class="memTemplParams" colspan="2">template&lt;typename _Src_t &gt; </td></tr>
  126. <tr class="memitem:a934913c0d594e8fd366b248bc01116aa"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a934913c0d594e8fd366b248bc01116aa">operator&lt;&lt;</a> (_Src_t *src)=delete</td></tr>
  127. <tr class="memdesc:a934913c0d594e8fd366b248bc01116aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload to disallow pointer types as source. <a href="#a934913c0d594e8fd366b248bc01116aa">More...</a><br /></td></tr>
  128. <tr class="separator:a934913c0d594e8fd366b248bc01116aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  129. <tr class="memitem:a22dce1d313a4f6b4686d4253cbd7f485"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a22dce1d313a4f6b4686d4253cbd7f485">operator&lt;&lt;</a> (const data_t &amp;src)</td></tr>
  130. <tr class="memdesc:a22dce1d313a4f6b4686d4253cbd7f485"><td class="mdescLeft">&#160;</td><td class="mdescRight">Overload for single data_t object. <a href="#a22dce1d313a4f6b4686d4253cbd7f485">More...</a><br /></td></tr>
  131. <tr class="separator:a22dce1d313a4f6b4686d4253cbd7f485"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr><td colspan="2"><div class="groupHeader"></div></td></tr>
  133. <tr class="memitem:a34aeac23c0184d243c6631e713208e27"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#ad7f16990cdb6d54a54c774224f758f13">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a34aeac23c0184d243c6631e713208e27">end</a> () noexcept</td></tr>
  134. <tr class="separator:a34aeac23c0184d243c6631e713208e27"><td class="memSeparator" colspan="2">&#160;</td></tr>
  135. <tr class="memitem:a0e89b3e0a5bddc3031b543ef32eb401e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a0e89b3e0a5bddc3031b543ef32eb401e">end</a> () const noexcept</td></tr>
  136. <tr class="separator:a0e89b3e0a5bddc3031b543ef32eb401e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:a71487ce8df820dd688d1698b035fe4fe"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a71487ce8df820dd688d1698b035fe4fe">cend</a> () const noexcept</td></tr>
  138. <tr class="separator:a71487ce8df820dd688d1698b035fe4fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  139. </table><table class="memberdecls">
  140. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  141. Protected Member Functions</h2></td></tr>
  142. <tr><td colspan="2"><div class="groupHeader">Constructor / Destructor</div></td></tr>
  143. <tr class="memitem:a0c04af11ec0f3f9954399d22069e314d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a0c04af11ec0f3f9954399d22069e314d">~out_dev</a> ()=default</td></tr>
  144. <tr class="memdesc:a0c04af11ec0f3f9954399d22069e314d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Allow destructor from derived only. <a href="#a0c04af11ec0f3f9954399d22069e314d">More...</a><br /></td></tr>
  145. <tr class="separator:a0c04af11ec0f3f9954399d22069e314d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a0ceaf76475484f35174d96561dea73bf"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a0ceaf76475484f35174d96561dea73bf">out_dev</a> ()=default</td></tr>
  147. <tr class="memdesc:a0ceaf76475484f35174d96561dea73bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">A default constructor from derived only. <a href="#a0ceaf76475484f35174d96561dea73bf">More...</a><br /></td></tr>
  148. <tr class="separator:a0ceaf76475484f35174d96561dea73bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a36aed8619cf12b4f04334c7e0b219fb6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a36aed8619cf12b4f04334c7e0b219fb6">out_dev</a> (const <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;)=delete</td></tr>
  150. <tr class="memdesc:a36aed8619cf12b4f04334c7e0b219fb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">No copies. <a href="#a36aed8619cf12b4f04334c7e0b219fb6">More...</a><br /></td></tr>
  151. <tr class="separator:a36aed8619cf12b4f04334c7e0b219fb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:aba2f65a858ae47167f46979337299f44"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#aba2f65a858ae47167f46979337299f44">operator=</a> (const <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;)=delete</td></tr>
  153. <tr class="separator:aba2f65a858ae47167f46979337299f44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. </table><table class="memberdecls">
  155. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
  156. Private Types</h2></td></tr>
  157. <tr class="memitem:a17ccf13d527b4c220b0e937e20d81aba"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> = <a class="el" href="classutl_1_1out__dev.html">out_dev</a>&lt; impl_t, data_t, streamsize &gt;</td></tr>
  158. <tr class="memdesc:a17ccf13d527b4c220b0e937e20d81aba"><td class="mdescLeft">&#160;</td><td class="mdescRight">class type syntactic sugar <a href="#a17ccf13d527b4c220b0e937e20d81aba">More...</a><br /></td></tr>
  159. <tr class="separator:a17ccf13d527b4c220b0e937e20d81aba"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. </table><table class="memberdecls">
  161. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
  162. Private Member Functions</h2></td></tr>
  163. <tr class="memitem:aad8c005ab9627877ea38997cdf5f07dc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#aad8c005ab9627877ea38997cdf5f07dc">_CRTP_IMPL</a> (impl_t)</td></tr>
  164. <tr class="separator:aad8c005ab9627877ea38997cdf5f07dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr><td colspan="2"><div class="groupHeader">Common output device interface requirements</div></td></tr>
  166. <tr class="memitem:a29e236940e8fb13387b264379136b504"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a29e236940e8fb13387b264379136b504">put_</a> (const data_t &amp;data)</td></tr>
  167. <tr class="separator:a29e236940e8fb13387b264379136b504"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a3bbf2bb1c25bae601cd0d6e2b1f886b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a3bbf2bb1c25bae601cd0d6e2b1f886b2">put_</a> (const data_t *data, <a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> n)</td></tr>
  169. <tr class="separator:a3bbf2bb1c25bae601cd0d6e2b1f886b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. </table><table class="memberdecls">
  171. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
  172. STL-like Output iterator interface</h2></td></tr>
  173. <tr class="memitem:ad7f16990cdb6d54a54c774224f758f13"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#ad7f16990cdb6d54a54c774224f758f13">iterator</a> = <a class="el" href="classutl_1_1outdev__it.html">outdev_it</a>&lt; <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>, data_t *, streamsize &gt;</td></tr>
  174. <tr class="memdesc:ad7f16990cdb6d54a54c774224f758f13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Iterator. <a href="#ad7f16990cdb6d54a54c774224f758f13">More...</a><br /></td></tr>
  175. <tr class="separator:ad7f16990cdb6d54a54c774224f758f13"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:acaf94b09de592226f78d4d2d43f348ed"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a> = <a class="el" href="classutl_1_1outdev__it.html">outdev_it</a>&lt; const <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>, data_t *, streamsize &gt;</td></tr>
  177. <tr class="memdesc:acaf94b09de592226f78d4d2d43f348ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Const iterator. <a href="#acaf94b09de592226f78d4d2d43f348ed">More...</a><br /></td></tr>
  178. <tr class="separator:acaf94b09de592226f78d4d2d43f348ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:a6396fb83348828e37d853d1566b0d742"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#ad7f16990cdb6d54a54c774224f758f13">iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#a6396fb83348828e37d853d1566b0d742">begin</a> () noexcept</td></tr>
  180. <tr class="memdesc:a6396fb83348828e37d853d1566b0d742"><td class="mdescLeft">&#160;</td><td class="mdescRight">.begin implementation <a href="#a6396fb83348828e37d853d1566b0d742">More...</a><br /></td></tr>
  181. <tr class="separator:a6396fb83348828e37d853d1566b0d742"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:ab08cdc4935ec15a388e34610e905d375"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#ab08cdc4935ec15a388e34610e905d375">begin</a> () const noexcept</td></tr>
  183. <tr class="separator:ab08cdc4935ec15a388e34610e905d375"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:ace309e9fd1a113691c5a84fde268c676"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classutl_1_1out__dev.html#ace309e9fd1a113691c5a84fde268c676">cbegin</a> () const noexcept</td></tr>
  185. <tr class="separator:ace309e9fd1a113691c5a84fde268c676"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. </table>
  187. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  188. <div class="textblock"><h3>template&lt;typename impl_t, typename data_t, size_t streamsize = 0&gt;<br />
  189. class utl::out_dev&lt; impl_t, data_t, streamsize &gt;</h3>
  190. <p>Abstract base classes for output devices. </p>
  191. <p>Template base class for output devices. using CRTP</p>
  192. <p>This class force a common interface for output devices. By using this common interface the class implements</p><ul>
  193. <li>Stream-like inserting operator</li>
  194. <li>Output iterator</li>
  195. <li>Const output iterator to inherit to implementation.</li>
  196. </ul>
  197. <dl class="params"><dt>Parameters</dt><dd>
  198. <table class="params">
  199. <tr><td class="paramname">impl_t</td><td>The CRTP type (the derived/implementation class typename). </td></tr>
  200. <tr><td class="paramname">data_t</td><td>The devices base type of data </td></tr>
  201. <tr><td class="paramname">streamsize</td><td>The number of elements to indicate eos. <ul>
  202. <li>None or 0 Stream only. No iterator as <a class="el" href="classutl_1_1out__dev.html#a6396fb83348828e37d853d1566b0d742" title=".begin implementation ">begin()</a> now equals <a class="el" href="classutl_1_1out__dev.html#a34aeac23c0184d243c6631e713208e27">end()</a>. </li>
  203. </ul>
  204. </td></tr>
  205. </table>
  206. </dd>
  207. </dl>
  208. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00054">54</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  209. </div><h2 class="groupheader">Member Typedef Documentation</h2>
  210. <a id="acaf94b09de592226f78d4d2d43f348ed"></a>
  211. <h2 class="memtitle"><span class="permalink"><a href="#acaf94b09de592226f78d4d2d43f348ed">&#9670;&nbsp;</a></span>const_iterator</h2>
  212. <div class="memitem">
  213. <div class="memproto">
  214. <div class="memtemplate">
  215. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  216. <table class="memname">
  217. <tr>
  218. <td class="memname">using <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a> = <a class="el" href="classutl_1_1outdev__it.html">outdev_it</a> &lt;const <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>, data_t*, streamsize&gt;</td>
  219. </tr>
  220. </table>
  221. </div><div class="memdoc">
  222. <p>Const iterator. </p>
  223. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00153">153</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  224. </div>
  225. </div>
  226. <a id="ac6b32afc51452a7dd2297a41f74e63e4"></a>
  227. <h2 class="memtitle"><span class="permalink"><a href="#ac6b32afc51452a7dd2297a41f74e63e4">&#9670;&nbsp;</a></span>data_type</h2>
  228. <div class="memitem">
  229. <div class="memproto">
  230. <div class="memtemplate">
  231. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  232. <table class="memname">
  233. <tr>
  234. <td class="memname">using <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html#ac6b32afc51452a7dd2297a41f74e63e4">data_type</a> = data_t</td>
  235. </tr>
  236. </table>
  237. </div><div class="memdoc">
  238. <p>Export types as input device concept demands </p>
  239. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00061">61</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  240. </div>
  241. </div>
  242. <a id="ad7f16990cdb6d54a54c774224f758f13"></a>
  243. <h2 class="memtitle"><span class="permalink"><a href="#ad7f16990cdb6d54a54c774224f758f13">&#9670;&nbsp;</a></span>iterator</h2>
  244. <div class="memitem">
  245. <div class="memproto">
  246. <div class="memtemplate">
  247. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  248. <table class="memname">
  249. <tr>
  250. <td class="memname">using <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html#ad7f16990cdb6d54a54c774224f758f13">iterator</a> = <a class="el" href="classutl_1_1outdev__it.html">outdev_it</a> &lt;<a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>, data_t*, streamsize&gt;</td>
  251. </tr>
  252. </table>
  253. </div><div class="memdoc">
  254. <p>Iterator. </p>
  255. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00152">152</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  256. </div>
  257. </div>
  258. <a id="a17ccf13d527b4c220b0e937e20d81aba"></a>
  259. <h2 class="memtitle"><span class="permalink"><a href="#a17ccf13d527b4c220b0e937e20d81aba">&#9670;&nbsp;</a></span>out_dev_t</h2>
  260. <div class="memitem">
  261. <div class="memproto">
  262. <div class="memtemplate">
  263. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  264. <table class="mlabels">
  265. <tr>
  266. <td class="mlabels-left">
  267. <table class="memname">
  268. <tr>
  269. <td class="memname">using <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> = <a class="el" href="classutl_1_1out__dev.html">out_dev</a> &lt;impl_t, data_t, streamsize&gt;</td>
  270. </tr>
  271. </table>
  272. </td>
  273. <td class="mlabels-right">
  274. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  275. </tr>
  276. </table>
  277. </div><div class="memdoc">
  278. <p>class type syntactic sugar </p>
  279. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00056">56</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  280. </div>
  281. </div>
  282. <a id="abfb6a95c13fc63c09776141ad16e98e3"></a>
  283. <h2 class="memtitle"><span class="permalink"><a href="#abfb6a95c13fc63c09776141ad16e98e3">&#9670;&nbsp;</a></span>pointer_type</h2>
  284. <div class="memitem">
  285. <div class="memproto">
  286. <div class="memtemplate">
  287. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  288. <table class="memname">
  289. <tr>
  290. <td class="memname">using <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html#abfb6a95c13fc63c09776141ad16e98e3">pointer_type</a> = data_t*</td>
  291. </tr>
  292. </table>
  293. </div><div class="memdoc">
  294. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00062">62</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  295. </div>
  296. </div>
  297. <a id="aebda5d42d26027e9266bfe74bf71a960"></a>
  298. <h2 class="memtitle"><span class="permalink"><a href="#aebda5d42d26027e9266bfe74bf71a960">&#9670;&nbsp;</a></span>type</h2>
  299. <div class="memitem">
  300. <div class="memproto">
  301. <div class="memtemplate">
  302. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  303. <table class="memname">
  304. <tr>
  305. <td class="memname">using <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html#aebda5d42d26027e9266bfe74bf71a960">type</a> = <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a></td>
  306. </tr>
  307. </table>
  308. </div><div class="memdoc">
  309. <p>Export type as identity meta-function. </p>
  310. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00064">64</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  311. </div>
  312. </div>
  313. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  314. <a id="a0c04af11ec0f3f9954399d22069e314d"></a>
  315. <h2 class="memtitle"><span class="permalink"><a href="#a0c04af11ec0f3f9954399d22069e314d">&#9670;&nbsp;</a></span>~out_dev()</h2>
  316. <div class="memitem">
  317. <div class="memproto">
  318. <div class="memtemplate">
  319. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  320. <table class="mlabels">
  321. <tr>
  322. <td class="mlabels-left">
  323. <table class="memname">
  324. <tr>
  325. <td class="memname"><a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::~<a class="el" href="classutl_1_1out__dev.html">out_dev</a> </td>
  326. <td>(</td>
  327. <td class="paramname"></td><td>)</td>
  328. <td></td>
  329. </tr>
  330. </table>
  331. </td>
  332. <td class="mlabels-right">
  333. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
  334. </tr>
  335. </table>
  336. </div><div class="memdoc">
  337. <p>Allow destructor from derived only. </p>
  338. </div>
  339. </div>
  340. <a id="a0ceaf76475484f35174d96561dea73bf"></a>
  341. <h2 class="memtitle"><span class="permalink"><a href="#a0ceaf76475484f35174d96561dea73bf">&#9670;&nbsp;</a></span>out_dev() <span class="overload">[1/2]</span></h2>
  342. <div class="memitem">
  343. <div class="memproto">
  344. <div class="memtemplate">
  345. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  346. <table class="mlabels">
  347. <tr>
  348. <td class="mlabels-left">
  349. <table class="memname">
  350. <tr>
  351. <td class="memname"><a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html">out_dev</a> </td>
  352. <td>(</td>
  353. <td class="paramname"></td><td>)</td>
  354. <td></td>
  355. </tr>
  356. </table>
  357. </td>
  358. <td class="mlabels-right">
  359. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">default</span></span> </td>
  360. </tr>
  361. </table>
  362. </div><div class="memdoc">
  363. <p>A default constructor from derived only. </p>
  364. </div>
  365. </div>
  366. <a id="a36aed8619cf12b4f04334c7e0b219fb6"></a>
  367. <h2 class="memtitle"><span class="permalink"><a href="#a36aed8619cf12b4f04334c7e0b219fb6">&#9670;&nbsp;</a></span>out_dev() <span class="overload">[2/2]</span></h2>
  368. <div class="memitem">
  369. <div class="memproto">
  370. <div class="memtemplate">
  371. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  372. <table class="mlabels">
  373. <tr>
  374. <td class="mlabels-left">
  375. <table class="memname">
  376. <tr>
  377. <td class="memname"><a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::<a class="el" href="classutl_1_1out__dev.html">out_dev</a> </td>
  378. <td>(</td>
  379. <td class="paramtype">const <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;&#160;</td>
  380. <td class="paramname"></td><td>)</td>
  381. <td></td>
  382. </tr>
  383. </table>
  384. </td>
  385. <td class="mlabels-right">
  386. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
  387. </tr>
  388. </table>
  389. </div><div class="memdoc">
  390. <p>No copies. </p>
  391. </div>
  392. </div>
  393. <h2 class="groupheader">Member Function Documentation</h2>
  394. <a id="aad8c005ab9627877ea38997cdf5f07dc"></a>
  395. <h2 class="memtitle"><span class="permalink"><a href="#aad8c005ab9627877ea38997cdf5f07dc">&#9670;&nbsp;</a></span>_CRTP_IMPL()</h2>
  396. <div class="memitem">
  397. <div class="memproto">
  398. <div class="memtemplate">
  399. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  400. <table class="mlabels">
  401. <tr>
  402. <td class="mlabels-left">
  403. <table class="memname">
  404. <tr>
  405. <td class="memname"><a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::_CRTP_IMPL </td>
  406. <td>(</td>
  407. <td class="paramtype">impl_t&#160;</td>
  408. <td class="paramname"></td><td>)</td>
  409. <td></td>
  410. </tr>
  411. </table>
  412. </td>
  413. <td class="mlabels-right">
  414. <span class="mlabels"><span class="mlabel">private</span></span> </td>
  415. </tr>
  416. </table>
  417. </div><div class="memdoc">
  418. </div>
  419. </div>
  420. <a id="a6396fb83348828e37d853d1566b0d742"></a>
  421. <h2 class="memtitle"><span class="permalink"><a href="#a6396fb83348828e37d853d1566b0d742">&#9670;&nbsp;</a></span>begin() <span class="overload">[1/2]</span></h2>
  422. <div class="memitem">
  423. <div class="memproto">
  424. <div class="memtemplate">
  425. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  426. <table class="mlabels">
  427. <tr>
  428. <td class="mlabels-left">
  429. <table class="memname">
  430. <tr>
  431. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#ad7f16990cdb6d54a54c774224f758f13">iterator</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::begin </td>
  432. <td>(</td>
  433. <td class="paramname"></td><td>)</td>
  434. <td></td>
  435. </tr>
  436. </table>
  437. </td>
  438. <td class="mlabels-right">
  439. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  440. </tr>
  441. </table>
  442. </div><div class="memdoc">
  443. <p>.begin implementation </p>
  444. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00156">156</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  445. </div>
  446. </div>
  447. <a id="ab08cdc4935ec15a388e34610e905d375"></a>
  448. <h2 class="memtitle"><span class="permalink"><a href="#ab08cdc4935ec15a388e34610e905d375">&#9670;&nbsp;</a></span>begin() <span class="overload">[2/2]</span></h2>
  449. <div class="memitem">
  450. <div class="memproto">
  451. <div class="memtemplate">
  452. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  453. <table class="mlabels">
  454. <tr>
  455. <td class="mlabels-left">
  456. <table class="memname">
  457. <tr>
  458. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::begin </td>
  459. <td>(</td>
  460. <td class="paramname"></td><td>)</td>
  461. <td> const</td>
  462. </tr>
  463. </table>
  464. </td>
  465. <td class="mlabels-right">
  466. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  467. </tr>
  468. </table>
  469. </div><div class="memdoc">
  470. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00157">157</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  471. </div>
  472. </div>
  473. <a id="ace309e9fd1a113691c5a84fde268c676"></a>
  474. <h2 class="memtitle"><span class="permalink"><a href="#ace309e9fd1a113691c5a84fde268c676">&#9670;&nbsp;</a></span>cbegin()</h2>
  475. <div class="memitem">
  476. <div class="memproto">
  477. <div class="memtemplate">
  478. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  479. <table class="mlabels">
  480. <tr>
  481. <td class="mlabels-left">
  482. <table class="memname">
  483. <tr>
  484. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::cbegin </td>
  485. <td>(</td>
  486. <td class="paramname"></td><td>)</td>
  487. <td> const</td>
  488. </tr>
  489. </table>
  490. </td>
  491. <td class="mlabels-right">
  492. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  493. </tr>
  494. </table>
  495. </div><div class="memdoc">
  496. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00158">158</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  497. </div>
  498. </div>
  499. <a id="a71487ce8df820dd688d1698b035fe4fe"></a>
  500. <h2 class="memtitle"><span class="permalink"><a href="#a71487ce8df820dd688d1698b035fe4fe">&#9670;&nbsp;</a></span>cend()</h2>
  501. <div class="memitem">
  502. <div class="memproto">
  503. <div class="memtemplate">
  504. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  505. <table class="mlabels">
  506. <tr>
  507. <td class="mlabels-left">
  508. <table class="memname">
  509. <tr>
  510. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::cend </td>
  511. <td>(</td>
  512. <td class="paramname"></td><td>)</td>
  513. <td> const</td>
  514. </tr>
  515. </table>
  516. </td>
  517. <td class="mlabels-right">
  518. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  519. </tr>
  520. </table>
  521. </div><div class="memdoc">
  522. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00163">163</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  523. </div>
  524. </div>
  525. <a id="a34aeac23c0184d243c6631e713208e27"></a>
  526. <h2 class="memtitle"><span class="permalink"><a href="#a34aeac23c0184d243c6631e713208e27">&#9670;&nbsp;</a></span>end() <span class="overload">[1/2]</span></h2>
  527. <div class="memitem">
  528. <div class="memproto">
  529. <div class="memtemplate">
  530. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  531. <table class="mlabels">
  532. <tr>
  533. <td class="mlabels-left">
  534. <table class="memname">
  535. <tr>
  536. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#ad7f16990cdb6d54a54c774224f758f13">iterator</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::end </td>
  537. <td>(</td>
  538. <td class="paramname"></td><td>)</td>
  539. <td></td>
  540. </tr>
  541. </table>
  542. </td>
  543. <td class="mlabels-right">
  544. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  545. </tr>
  546. </table>
  547. </div><div class="memdoc">
  548. <p>.end implementation </p>
  549. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00161">161</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  550. </div>
  551. </div>
  552. <a id="a0e89b3e0a5bddc3031b543ef32eb401e"></a>
  553. <h2 class="memtitle"><span class="permalink"><a href="#a0e89b3e0a5bddc3031b543ef32eb401e">&#9670;&nbsp;</a></span>end() <span class="overload">[2/2]</span></h2>
  554. <div class="memitem">
  555. <div class="memproto">
  556. <div class="memtemplate">
  557. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  558. <table class="mlabels">
  559. <tr>
  560. <td class="mlabels-left">
  561. <table class="memname">
  562. <tr>
  563. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#acaf94b09de592226f78d4d2d43f348ed">const_iterator</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::end </td>
  564. <td>(</td>
  565. <td class="paramname"></td><td>)</td>
  566. <td> const</td>
  567. </tr>
  568. </table>
  569. </td>
  570. <td class="mlabels-right">
  571. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">noexcept</span></span> </td>
  572. </tr>
  573. </table>
  574. </div><div class="memdoc">
  575. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00162">162</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  576. </div>
  577. </div>
  578. <a id="a73612dfcce721cbc386bad3e7d6864b4"></a>
  579. <h2 class="memtitle"><span class="permalink"><a href="#a73612dfcce721cbc386bad3e7d6864b4">&#9670;&nbsp;</a></span>operator&lt;&lt;() <span class="overload">[1/3]</span></h2>
  580. <div class="memitem">
  581. <div class="memproto">
  582. <div class="memtemplate">
  583. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  584. <div class="memtemplate">
  585. template&lt;typename _Src_t &gt; </div>
  586. <table class="mlabels">
  587. <tr>
  588. <td class="mlabels-left">
  589. <table class="memname">
  590. <tr>
  591. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>&amp; <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator&lt;&lt; </td>
  592. <td>(</td>
  593. <td class="paramtype">_Src_t &amp;&#160;</td>
  594. <td class="paramname"><em>src</em></td><td>)</td>
  595. <td></td>
  596. </tr>
  597. </table>
  598. </td>
  599. <td class="mlabels-right">
  600. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  601. </tr>
  602. </table>
  603. </div><div class="memdoc">
  604. <p>Template operator&lt;&lt; implementation for for all by value/ref parameters. </p>
  605. <dl class="section note"><dt>Note</dt><dd>In the case _Src_t size is not an exact multiple of data_t size the write data will be truncated and there may be data loss. </dd></dl>
  606. <dl class="params"><dt>Parameters</dt><dd>
  607. <table class="params">
  608. <tr><td class="paramname">src</td><td>Reference to source data </td></tr>
  609. </table>
  610. </dd>
  611. </dl>
  612. <dl class="section return"><dt>Returns</dt><dd>Reference to this device for chaining </dd></dl>
  613. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00131">131</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  614. </div>
  615. </div>
  616. <a id="a934913c0d594e8fd366b248bc01116aa"></a>
  617. <h2 class="memtitle"><span class="permalink"><a href="#a934913c0d594e8fd366b248bc01116aa">&#9670;&nbsp;</a></span>operator&lt;&lt;() <span class="overload">[2/3]</span></h2>
  618. <div class="memitem">
  619. <div class="memproto">
  620. <div class="memtemplate">
  621. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  622. <div class="memtemplate">
  623. template&lt;typename _Src_t &gt; </div>
  624. <table class="mlabels">
  625. <tr>
  626. <td class="mlabels-left">
  627. <table class="memname">
  628. <tr>
  629. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>&amp; <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator&lt;&lt; </td>
  630. <td>(</td>
  631. <td class="paramtype">_Src_t *&#160;</td>
  632. <td class="paramname"><em>src</em></td><td>)</td>
  633. <td></td>
  634. </tr>
  635. </table>
  636. </td>
  637. <td class="mlabels-right">
  638. <span class="mlabels"><span class="mlabel">delete</span></span> </td>
  639. </tr>
  640. </table>
  641. </div><div class="memdoc">
  642. <p>Overload to disallow pointer types as source. </p>
  643. </div>
  644. </div>
  645. <a id="a22dce1d313a4f6b4686d4253cbd7f485"></a>
  646. <h2 class="memtitle"><span class="permalink"><a href="#a22dce1d313a4f6b4686d4253cbd7f485">&#9670;&nbsp;</a></span>operator&lt;&lt;() <span class="overload">[3/3]</span></h2>
  647. <div class="memitem">
  648. <div class="memproto">
  649. <div class="memtemplate">
  650. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  651. <table class="mlabels">
  652. <tr>
  653. <td class="mlabels-left">
  654. <table class="memname">
  655. <tr>
  656. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>&amp; <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator&lt;&lt; </td>
  657. <td>(</td>
  658. <td class="paramtype">const data_t &amp;&#160;</td>
  659. <td class="paramname"><em>src</em></td><td>)</td>
  660. <td></td>
  661. </tr>
  662. </table>
  663. </td>
  664. <td class="mlabels-right">
  665. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  666. </tr>
  667. </table>
  668. </div><div class="memdoc">
  669. <p>Overload for single data_t object. </p>
  670. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00142">142</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  671. </div>
  672. </div>
  673. <a id="aba2f65a858ae47167f46979337299f44"></a>
  674. <h2 class="memtitle"><span class="permalink"><a href="#aba2f65a858ae47167f46979337299f44">&#9670;&nbsp;</a></span>operator=()</h2>
  675. <div class="memitem">
  676. <div class="memproto">
  677. <div class="memtemplate">
  678. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  679. <table class="mlabels">
  680. <tr>
  681. <td class="mlabels-left">
  682. <table class="memname">
  683. <tr>
  684. <td class="memname"><a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a>&amp; <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::operator= </td>
  685. <td>(</td>
  686. <td class="paramtype">const <a class="el" href="classutl_1_1out__dev.html#a17ccf13d527b4c220b0e937e20d81aba">out_dev_t</a> &amp;&#160;</td>
  687. <td class="paramname"></td><td>)</td>
  688. <td></td>
  689. </tr>
  690. </table>
  691. </td>
  692. <td class="mlabels-right">
  693. <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">delete</span></span> </td>
  694. </tr>
  695. </table>
  696. </div><div class="memdoc">
  697. <p>No copy assignments </p>
  698. </div>
  699. </div>
  700. <a id="a640214f205468c235dec25bab8fb6c08"></a>
  701. <h2 class="memtitle"><span class="permalink"><a href="#a640214f205468c235dec25bab8fb6c08">&#9670;&nbsp;</a></span>put() <span class="overload">[1/2]</span></h2>
  702. <div class="memitem">
  703. <div class="memproto">
  704. <div class="memtemplate">
  705. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  706. <table class="mlabels">
  707. <tr>
  708. <td class="mlabels-left">
  709. <table class="memname">
  710. <tr>
  711. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::put </td>
  712. <td>(</td>
  713. <td class="paramtype">const data_t &amp;&#160;</td>
  714. <td class="paramname"><em>data</em></td><td>)</td>
  715. <td></td>
  716. </tr>
  717. </table>
  718. </td>
  719. <td class="mlabels-right">
  720. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  721. </tr>
  722. </table>
  723. </div><div class="memdoc">
  724. <p>Put interface. This function should send a single data_t object to device. </p>
  725. <dl class="params"><dt>Parameters</dt><dd>
  726. <table class="params">
  727. <tr><td class="paramname">data</td><td>The data to send </td></tr>
  728. </table>
  729. </dd>
  730. </dl>
  731. <dl class="section return"><dt>Returns</dt><dd>The number of transmitted data items </dd></dl>
  732. <dl class="section note"><dt>Note</dt><dd>A successful call should return 1 </dd></dl>
  733. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00099">99</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  734. </div>
  735. </div>
  736. <a id="a0cfe5f4d3c3e4fb21abe9e88101e0bb8"></a>
  737. <h2 class="memtitle"><span class="permalink"><a href="#a0cfe5f4d3c3e4fb21abe9e88101e0bb8">&#9670;&nbsp;</a></span>put() <span class="overload">[2/2]</span></h2>
  738. <div class="memitem">
  739. <div class="memproto">
  740. <div class="memtemplate">
  741. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  742. <table class="mlabels">
  743. <tr>
  744. <td class="mlabels-left">
  745. <table class="memname">
  746. <tr>
  747. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::put </td>
  748. <td>(</td>
  749. <td class="paramtype">const data_t *&#160;</td>
  750. <td class="paramname"><em>data</em>, </td>
  751. </tr>
  752. <tr>
  753. <td class="paramkey"></td>
  754. <td></td>
  755. <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td>
  756. <td class="paramname"><em>n</em>&#160;</td>
  757. </tr>
  758. <tr>
  759. <td></td>
  760. <td>)</td>
  761. <td></td><td></td>
  762. </tr>
  763. </table>
  764. </td>
  765. <td class="mlabels-right">
  766. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  767. </tr>
  768. </table>
  769. </div><div class="memdoc">
  770. <p>Put interface. This function should send a stream of data_t objects to device. </p>
  771. <dl class="params"><dt>Parameters</dt><dd>
  772. <table class="params">
  773. <tr><td class="paramname">data</td><td>Pointer to buffer indenting write to device. </td></tr>
  774. <tr><td class="paramname">n</td><td>The number of data of type data_t to send </td></tr>
  775. </table>
  776. </dd>
  777. </dl>
  778. <dl class="section return"><dt>Returns</dt><dd>The number of transmitted items. </dd></dl>
  779. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00111">111</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  780. </div>
  781. </div>
  782. <a id="a29e236940e8fb13387b264379136b504"></a>
  783. <h2 class="memtitle"><span class="permalink"><a href="#a29e236940e8fb13387b264379136b504">&#9670;&nbsp;</a></span>put_() <span class="overload">[1/2]</span></h2>
  784. <div class="memitem">
  785. <div class="memproto">
  786. <div class="memtemplate">
  787. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  788. <table class="mlabels">
  789. <tr>
  790. <td class="mlabels-left">
  791. <table class="memname">
  792. <tr>
  793. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::put_ </td>
  794. <td>(</td>
  795. <td class="paramtype">const data_t &amp;&#160;</td>
  796. <td class="paramname"><em>data</em></td><td>)</td>
  797. <td></td>
  798. </tr>
  799. </table>
  800. </td>
  801. <td class="mlabels-right">
  802. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
  803. </tr>
  804. </table>
  805. </div><div class="memdoc">
  806. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00080">80</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  807. </div>
  808. </div>
  809. <a id="a3bbf2bb1c25bae601cd0d6e2b1f886b2"></a>
  810. <h2 class="memtitle"><span class="permalink"><a href="#a3bbf2bb1c25bae601cd0d6e2b1f886b2">&#9670;&nbsp;</a></span>put_() <span class="overload">[2/2]</span></h2>
  811. <div class="memitem">
  812. <div class="memproto">
  813. <div class="memtemplate">
  814. template&lt;typename impl_t , typename data_t , size_t streamsize = 0&gt; </div>
  815. <table class="mlabels">
  816. <tr>
  817. <td class="mlabels-left">
  818. <table class="memname">
  819. <tr>
  820. <td class="memname"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a> <a class="el" href="classutl_1_1out__dev.html">utl::out_dev</a>&lt; impl_t, data_t, streamsize &gt;::put_ </td>
  821. <td>(</td>
  822. <td class="paramtype">const data_t *&#160;</td>
  823. <td class="paramname"><em>data</em>, </td>
  824. </tr>
  825. <tr>
  826. <td class="paramkey"></td>
  827. <td></td>
  828. <td class="paramtype"><a class="el" href="namespaceutl.html#a22cbecb50ee5c1032de66133e96cbac6">size_t</a>&#160;</td>
  829. <td class="paramname"><em>n</em>&#160;</td>
  830. </tr>
  831. <tr>
  832. <td></td>
  833. <td>)</td>
  834. <td></td><td></td>
  835. </tr>
  836. </table>
  837. </td>
  838. <td class="mlabels-right">
  839. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span> </td>
  840. </tr>
  841. </table>
  842. </div><div class="memdoc">
  843. <p class="definition">Definition at line <a class="el" href="out__dev_8h_source.html#l00081">81</a> of file <a class="el" href="out__dev_8h_source.html">out_dev.h</a>.</p>
  844. </div>
  845. </div>
  846. <hr/>The documentation for this class was generated from the following file:<ul>
  847. <li>include/utl/dev/<a class="el" href="out__dev_8h_source.html">out_dev.h</a></li>
  848. </ul>
  849. </div><!-- contents -->
  850. </div><!-- doc-content -->
  851. <!-- start footer part -->
  852. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  853. <ul>
  854. <li class="navelem"><a class="el" href="namespaceutl.html">utl</a></li><li class="navelem"><a class="el" href="classutl_1_1out__dev.html">out_dev</a></li>
  855. <li class="footer">Generated by
  856. <a href="http://www.doxygen.org/index.html">
  857. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  858. </ul>
  859. </div>
  860. </body>
  861. </html>