1
.TH "QwtCPointerData" 3 "11 Jun 2007" "Version 5.0.2" "Qwt User's Guide" \" -*- nroff -*-
9
Inherits \fBQwtData\fP.
11
.SH "Detailed Description"
13
Data class containing two pointers to memory blocks of doubles.
15
Definition at line 144 of file qwt_data.h.
16
.SS "Public Member Functions"
20
.RI "\fBQwtCPointerData\fP (const double *x, const double *y, size_t size)"
23
.RI "\fBQwtCPointerData\fP & \fBoperator=\fP (const \fBQwtCPointerData\fP &)"
26
.RI "virtual \fBQwtData\fP * \fBcopy\fP () const "
29
.RI "virtual size_t \fBsize\fP () const "
32
.RI "virtual double \fBx\fP (size_t i) const "
35
.RI "virtual double \fBy\fP (size_t i) const "
38
.RI "const double * \fBxData\fP () const "
41
.RI "const double * \fByData\fP () const "
44
.RI "virtual QwtDoubleRect \fBboundingRect\fP () const "
47
.SH "Constructor & Destructor Documentation"
49
.SS "QwtCPointerData::QwtCPointerData (const double * x, const double * y, size_t size)"
55
\fIx\fP Array of x values
57
\fIy\fP Array of y values
59
\fIsize\fP Size of the x and y arrays
64
The programmer must assure that the memory blocks referenced by the pointers remain valid during the lifetime of the QwtPlotCPointer object.
69
\fBQwtPlotCurve::setData()\fP, \fBQwtPlotCurve::setRawData()\fP
74
Definition at line 281 of file qwt_data.cpp.
77
.SH "Member Function Documentation"
79
.SS "QwtDoubleRect QwtCPointerData::boundingRect () const\fC [virtual]\fP"
81
Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false
83
Reimplemented from \fBQwtData\fP.
85
Definition at line 354 of file qwt_data.cpp.
88
.SS "\fBQwtData\fP * QwtCPointerData::copy () const\fC [virtual]\fP"
92
Pointer to a copy (virtual copy constructor)
97
Implements \fBQwtData\fP.
99
Definition at line 344 of file qwt_data.cpp.
101
References QwtCPointerData().
102
.SS "\fBQwtCPointerData\fP & QwtCPointerData::operator= (const \fBQwtCPointerData\fP &)"
106
Definition at line 290 of file qwt_data.cpp.
108
References d_size, d_x, and d_y.
109
.SS "size_t QwtCPointerData::size () const\fC [virtual]\fP"
118
Implements \fBQwtData\fP.
120
Definition at line 302 of file qwt_data.cpp.
122
Referenced by boundingRect().
123
.SS "double QwtCPointerData::x (size_t i) const\fC [virtual]\fP"
125
Return the x value of data point i
134
x X value of data point i
139
Implements \fBQwtData\fP.
141
Definition at line 313 of file qwt_data.cpp.
142
.SS "const double * QwtCPointerData::xData () const"
146
Array of the x-values
151
Definition at line 330 of file qwt_data.cpp.
152
.SS "double QwtCPointerData::y (size_t i) const\fC [virtual]\fP"
154
Return the y value of data point i
163
y Y value of data point i
168
Implements \fBQwtData\fP.
170
Definition at line 324 of file qwt_data.cpp.
171
.SS "const double * QwtCPointerData::yData () const"
175
Array of the y-values
180
Definition at line 336 of file qwt_data.cpp.
184
Generated automatically by Doxygen for Qwt User's Guide from the source code.