class_qwt_set_sample.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.20"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Qwt User&#39;s Guide: QwtSetSample 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. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  17. <script type="text/javascript" src="search/searchdata.js"></script>
  18. <script type="text/javascript" src="search/search.js"></script>
  19. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  20. </head>
  21. <body>
  22. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  23. <div id="titlearea">
  24. <table cellspacing="0" cellpadding="0">
  25. <tbody>
  26. <tr style="height: 56px;">
  27. <td id="projectalign" style="padding-left: 0.5em;">
  28. <div id="projectname">Qwt User&#39;s Guide
  29. &#160;<span id="projectnumber">6.1.6</span>
  30. </div>
  31. </td>
  32. </tr>
  33. </tbody>
  34. </table>
  35. </div>
  36. <!-- end header part -->
  37. <!-- Generated by Doxygen 1.8.20 -->
  38. <script type="text/javascript">
  39. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  40. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  41. /* @license-end */
  42. </script>
  43. <script type="text/javascript" src="menudata.js"></script>
  44. <script type="text/javascript" src="menu.js"></script>
  45. <script type="text/javascript">
  46. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  47. $(function() {
  48. initMenu('',true,false,'search.php','Search');
  49. $(document).ready(function() { init_search(); });
  50. });
  51. /* @license-end */</script>
  52. <div id="main-nav"></div>
  53. </div><!-- top -->
  54. <div id="side-nav" class="ui-resizable side-nav-resizable">
  55. <div id="nav-tree">
  56. <div id="nav-tree-contents">
  57. <div id="nav-sync" class="sync"></div>
  58. </div>
  59. </div>
  60. <div id="splitbar" style="-moz-user-select:none;"
  61. class="ui-resizable-handle">
  62. </div>
  63. </div>
  64. <script type="text/javascript">
  65. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  66. $(document).ready(function(){initNavTree('class_qwt_set_sample.html',''); initResizable(); });
  67. /* @license-end */
  68. </script>
  69. <div id="doc-content">
  70. <!-- window showing the filter options -->
  71. <div id="MSearchSelectWindow"
  72. onmouseover="return searchBox.OnSearchSelectShow()"
  73. onmouseout="return searchBox.OnSearchSelectHide()"
  74. onkeydown="return searchBox.OnSearchSelectKey(event)">
  75. </div>
  76. <!-- iframe showing the search results (closed by default) -->
  77. <div id="MSearchResultsWindow">
  78. <iframe src="javascript:void(0)" frameborder="0"
  79. name="MSearchResults" id="MSearchResults">
  80. </iframe>
  81. </div>
  82. <div class="header">
  83. <div class="summary">
  84. <a href="#pub-methods">Public Member Functions</a> &#124;
  85. <a href="#pub-attribs">Public Attributes</a> &#124;
  86. <a href="class_qwt_set_sample-members.html">List of all members</a> </div>
  87. <div class="headertitle">
  88. <div class="title">QwtSetSample Class Reference</div> </div>
  89. </div><!--header-->
  90. <div class="contents">
  91. <p>A sample of the types (x1...xn, y) or (x, y1..yn)
  92. <a href="class_qwt_set_sample.html#details">More...</a></p>
  93. <p><code>#include &lt;<a class="el" href="qwt__samples_8h_source.html">qwt_samples.h</a>&gt;</code></p>
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  96. Public Member Functions</h2></td></tr>
  97. <tr class="memitem:af506c3484b65d5de2b6042755066ff81"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_set_sample.html#af506c3484b65d5de2b6042755066ff81">QwtSetSample</a> ()</td></tr>
  98. <tr class="separator:af506c3484b65d5de2b6042755066ff81"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:af0bbb11cf7ed592107a4baf052290035"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_set_sample.html#af0bbb11cf7ed592107a4baf052290035">QwtSetSample</a> (double, const QVector&lt; double &gt; &amp;=QVector&lt; double &gt;())</td></tr>
  100. <tr class="separator:af0bbb11cf7ed592107a4baf052290035"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:ae30723e8bde7f6328e8aafed851ec283"><td class="memItemLeft" align="right" valign="top"><a id="ae30723e8bde7f6328e8aafed851ec283"></a>
  102. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_set_sample.html#ae30723e8bde7f6328e8aafed851ec283">operator==</a> (const <a class="el" href="class_qwt_set_sample.html">QwtSetSample</a> &amp;other) const</td></tr>
  103. <tr class="memdesc:ae30723e8bde7f6328e8aafed851ec283"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare operator. <br /></td></tr>
  104. <tr class="separator:ae30723e8bde7f6328e8aafed851ec283"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:ab9662f28e5451e3f41513cdd16a30867"><td class="memItemLeft" align="right" valign="top"><a id="ab9662f28e5451e3f41513cdd16a30867"></a>
  106. bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_set_sample.html#ab9662f28e5451e3f41513cdd16a30867">operator!=</a> (const <a class="el" href="class_qwt_set_sample.html">QwtSetSample</a> &amp;other) const</td></tr>
  107. <tr class="memdesc:ab9662f28e5451e3f41513cdd16a30867"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare operator. <br /></td></tr>
  108. <tr class="separator:ab9662f28e5451e3f41513cdd16a30867"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a335903a0f06cc5a319519d0be88c62d8"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_set_sample.html#a335903a0f06cc5a319519d0be88c62d8">added</a> () const</td></tr>
  110. <tr class="separator:a335903a0f06cc5a319519d0be88c62d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. </table><table class="memberdecls">
  112. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
  113. Public Attributes</h2></td></tr>
  114. <tr class="memitem:a5bff5286dddfa1f2070da64fe619859f"><td class="memItemLeft" align="right" valign="top"><a id="a5bff5286dddfa1f2070da64fe619859f"></a>
  115. double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_set_sample.html#a5bff5286dddfa1f2070da64fe619859f">value</a></td></tr>
  116. <tr class="memdesc:a5bff5286dddfa1f2070da64fe619859f"><td class="mdescLeft">&#160;</td><td class="mdescRight">value <br /></td></tr>
  117. <tr class="separator:a5bff5286dddfa1f2070da64fe619859f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:af05cfa9fc52e7798f6594ba1bbbcd16b"><td class="memItemLeft" align="right" valign="top"><a id="af05cfa9fc52e7798f6594ba1bbbcd16b"></a>
  119. QVector&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_set_sample.html#af05cfa9fc52e7798f6594ba1bbbcd16b">set</a></td></tr>
  120. <tr class="memdesc:af05cfa9fc52e7798f6594ba1bbbcd16b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vector of values associated to value. <br /></td></tr>
  121. <tr class="separator:af05cfa9fc52e7798f6594ba1bbbcd16b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. </table>
  123. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  124. <div class="textblock"><p>A sample of the types (x1...xn, y) or (x, y1..yn) </p>
  125. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  126. <a id="af506c3484b65d5de2b6042755066ff81"></a>
  127. <h2 class="memtitle"><span class="permalink"><a href="#af506c3484b65d5de2b6042755066ff81">&#9670;&nbsp;</a></span>QwtSetSample() <span class="overload">[1/2]</span></h2>
  128. <div class="memitem">
  129. <div class="memproto">
  130. <table class="mlabels">
  131. <tr>
  132. <td class="mlabels-left">
  133. <table class="memname">
  134. <tr>
  135. <td class="memname">QwtSetSample::QwtSetSample </td>
  136. <td>(</td>
  137. <td class="paramname"></td><td>)</td>
  138. <td></td>
  139. </tr>
  140. </table>
  141. </td>
  142. <td class="mlabels-right">
  143. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  144. </tr>
  145. </table>
  146. </div><div class="memdoc">
  147. <p>Constructor The value is set to 0.0 </p>
  148. </div>
  149. </div>
  150. <a id="af0bbb11cf7ed592107a4baf052290035"></a>
  151. <h2 class="memtitle"><span class="permalink"><a href="#af0bbb11cf7ed592107a4baf052290035">&#9670;&nbsp;</a></span>QwtSetSample() <span class="overload">[2/2]</span></h2>
  152. <div class="memitem">
  153. <div class="memproto">
  154. <table class="mlabels">
  155. <tr>
  156. <td class="mlabels-left">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">QwtSetSample::QwtSetSample </td>
  160. <td>(</td>
  161. <td class="paramtype">double&#160;</td>
  162. <td class="paramname"><em>v</em>, </td>
  163. </tr>
  164. <tr>
  165. <td class="paramkey"></td>
  166. <td></td>
  167. <td class="paramtype">const QVector&lt; double &gt; &amp;&#160;</td>
  168. <td class="paramname"><em>s</em> = <code>QVector&lt;double&gt;()</code>&#160;</td>
  169. </tr>
  170. <tr>
  171. <td></td>
  172. <td>)</td>
  173. <td></td><td></td>
  174. </tr>
  175. </table>
  176. </td>
  177. <td class="mlabels-right">
  178. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  179. </tr>
  180. </table>
  181. </div><div class="memdoc">
  182. <p>Constructor</p>
  183. <dl class="params"><dt>Parameters</dt><dd>
  184. <table class="params">
  185. <tr><td class="paramname">v</td><td>Value </td></tr>
  186. <tr><td class="paramname">s</td><td>Set of values </td></tr>
  187. </table>
  188. </dd>
  189. </dl>
  190. </div>
  191. </div>
  192. <h2 class="groupheader">Member Function Documentation</h2>
  193. <a id="a335903a0f06cc5a319519d0be88c62d8"></a>
  194. <h2 class="memtitle"><span class="permalink"><a href="#a335903a0f06cc5a319519d0be88c62d8">&#9670;&nbsp;</a></span>added()</h2>
  195. <div class="memitem">
  196. <div class="memproto">
  197. <table class="mlabels">
  198. <tr>
  199. <td class="mlabels-left">
  200. <table class="memname">
  201. <tr>
  202. <td class="memname">double QwtSetSample::added </td>
  203. <td>(</td>
  204. <td class="paramname"></td><td>)</td>
  205. <td> const</td>
  206. </tr>
  207. </table>
  208. </td>
  209. <td class="mlabels-right">
  210. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  211. </tr>
  212. </table>
  213. </div><div class="memdoc">
  214. <dl class="section return"><dt>Returns</dt><dd>All values of the set added </dd></dl>
  215. </div>
  216. </div>
  217. </div><!-- contents -->
  218. </div><!-- doc-content -->
  219. <!-- start footer part -->
  220. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  221. <ul>
  222. <li class="navelem"><a class="el" href="class_qwt_set_sample.html">QwtSetSample</a></li>
  223. <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  224. </ul>
  225. </div>
  226. </body>
  227. </html>