Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 81adc19a14c2cc1cbca5f0c63be116dc > files > 122

libqwt-devel-5.2.0-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Qwt User&#39;s Guide: QwtData Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>QwtData Class Reference</h1><!-- doxytag: class="QwtData" --><a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a> defines an interface to any type of curve data.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="qwt__data_8h-source.html">qwt_data.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for QwtData:</div>
<div class="dynsection">
<p><center><img src="class_qwt_data__inherit__graph.png" border="0" usemap="#_qwt_data__inherit__map" alt="Inheritance graph"></center>
<map name="_qwt_data__inherit__map">
<area shape="rect" href="class_qwt_array_data.html" title="Data class containing two QwtArray&lt;double&gt; objects." alt="" coords="7,83,113,107"><area shape="rect" href="class_qwt_c_pointer_data.html" title="Data class containing two pointers to memory blocks of doubles." alt="" coords="137,83,263,107"><area shape="rect" href="class_qwt_polygon_f_data.html" title="Data class containing a single QwtArray&lt;QwtDoublePoint&gt; object." alt="" coords="287,83,417,107"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="class_qwt_data-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#de45c6c6d06b5fb4d1332b49168a008b">QwtData</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#6c813cff34e61a74f3a146177424f473">~QwtData</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_qwt_data.html">QwtData</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#8531a1add1f0b2d12809f90f97fd80c9">copy</a> () const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#6028c06e7e72de98fb7a8a3ec6acdf47">size</a> () const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#922401ada56fc6dd3ccbeb1cfcdcfe28">x</a> (size_t i) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#6a160842c98ddd98a65fd229776c324c">y</a> (size_t i) const =0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QwtDoubleRect&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#d72b6842ce6af1f61f9643786d63a91f">boundingRect</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_qwt_data.html">QwtData</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_data.html#3615d59935a028b66202ab5fcde3ec31">operator=</a> (const <a class="el" href="class_qwt_data.html">QwtData</a> &amp;)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a> defines an interface to any type of curve data. 
<p>
Classes, derived from <a class="el" href="class_qwt_data.html" title="QwtData defines an interface to any type of curve data.">QwtData</a> may:<ul>
<li>store the data in almost any type of container</li><li>calculate the data on the fly instead of storing it </li></ul>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="de45c6c6d06b5fb4d1332b49168a008b"></a><!-- doxytag: member="QwtData::QwtData" ref="de45c6c6d06b5fb4d1332b49168a008b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtData::QwtData           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructor. 
<p>

</div>
</div><p>
<a class="anchor" name="6c813cff34e61a74f3a146177424f473"></a><!-- doxytag: member="QwtData::~QwtData" ref="6c813cff34e61a74f3a146177424f473" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtData::~QwtData           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="d72b6842ce6af1f61f9643786d63a91f"></a><!-- doxytag: member="QwtData::boundingRect" ref="d72b6842ce6af1f61f9643786d63a91f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QwtDoubleRect QwtData::boundingRect           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false<p>
<dl class="warning" compact><dt><b>Warning:</b></dt><dd>This is an slow implementation iterating over all points. It is intended to be overloaded by derived classes. In case of auto scaling <a class="el" href="class_qwt_data.html#d72b6842ce6af1f61f9643786d63a91f">boundingRect()</a> is called for every replot, so it might be worth to implement a cache, or use x(0), x(<a class="el" href="class_qwt_data.html#6028c06e7e72de98fb7a8a3ec6acdf47">size()</a> - 1) for ordered data ... </dd></dl>

<p>Reimplemented in <a class="el" href="class_qwt_array_data.html#0cb028fcbd48980839eab90c3fdac2d5">QwtArrayData</a>, and <a class="el" href="class_qwt_c_pointer_data.html#fa08cb9715db81f68bcf87f8a37a71ea">QwtCPointerData</a>.</p>

</div>
</div><p>
<a class="anchor" name="8531a1add1f0b2d12809f90f97fd80c9"></a><!-- doxytag: member="QwtData::copy" ref="8531a1add1f0b2d12809f90f97fd80c9" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_qwt_data.html">QwtData</a>* QwtData::copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Pointer to a copy (virtual copy constructor) </dd></dl>

<p>Implemented in <a class="el" href="class_qwt_polygon_f_data.html#3e8e8809e6bbb8efb8bbed5b8044644f">QwtPolygonFData</a>, <a class="el" href="class_qwt_array_data.html#9afcbf6cbd1f080b97c74ce1607d8456">QwtArrayData</a>, and <a class="el" href="class_qwt_c_pointer_data.html#02a09662881df362369bf078842d1380">QwtCPointerData</a>.</p>

</div>
</div><p>
<a class="anchor" name="3615d59935a028b66202ab5fcde3ec31"></a><!-- doxytag: member="QwtData::operator=" ref="3615d59935a028b66202ab5fcde3ec31" args="(const QwtData &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_data.html">QwtData</a>&amp; QwtData::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_data.html">QwtData</a> &amp;&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator (virtualized) 
</div>
</div><p>
<a class="anchor" name="6028c06e7e72de98fb7a8a3ec6acdf47"></a><!-- doxytag: member="QwtData::size" ref="6028c06e7e72de98fb7a8a3ec6acdf47" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual size_t QwtData::size           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Size of the data set </dd></dl>

<p>Implemented in <a class="el" href="class_qwt_polygon_f_data.html#3a002042c6c0b0bf35e7172c37a6c1b2">QwtPolygonFData</a>, <a class="el" href="class_qwt_array_data.html#e7d5991e85c8d32c8945e67dc3bd88db">QwtArrayData</a>, and <a class="el" href="class_qwt_c_pointer_data.html#780b9ae434856509cef9bbe954f03a3e">QwtCPointerData</a>.</p>

</div>
</div><p>
<a class="anchor" name="922401ada56fc6dd3ccbeb1cfcdcfe28"></a><!-- doxytag: member="QwtData::x" ref="922401ada56fc6dd3ccbeb1cfcdcfe28" args="(size_t i) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double QwtData::x           </td>
          <td>(</td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the x value of data point i <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>Index </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>x X value of data point i </dd></dl>

<p>Implemented in <a class="el" href="class_qwt_polygon_f_data.html#ca74b3b767c5fd2567215583d3712425">QwtPolygonFData</a>, <a class="el" href="class_qwt_array_data.html#12d08694fd95fd5ad568ffc07d6f1103">QwtArrayData</a>, and <a class="el" href="class_qwt_c_pointer_data.html#178b1e84039edee9eadd5a849559c882">QwtCPointerData</a>.</p>

</div>
</div><p>
<a class="anchor" name="6a160842c98ddd98a65fd229776c324c"></a><!-- doxytag: member="QwtData::y" ref="6a160842c98ddd98a65fd229776c324c" args="(size_t i) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual double QwtData::y           </td>
          <td>(</td>
          <td class="paramtype">size_t&nbsp;</td>
          <td class="paramname"> <em>i</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the y value of data point i <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>Index </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>y Y value of data point i </dd></dl>

<p>Implemented in <a class="el" href="class_qwt_polygon_f_data.html#3b762f31fd970ec7ce9706930f33c1aa">QwtPolygonFData</a>, <a class="el" href="class_qwt_array_data.html#4ff85108ee8735fb1be9905dc6af22a6">QwtArrayData</a>, and <a class="el" href="class_qwt_c_pointer_data.html#792eaf93b84f8ec97c4e742ec6ff08de">QwtCPointerData</a>.</p>

</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Mar 22 16:41:20 2009 for Qwt User's Guide by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>