1
.TH "QwtCPointerData" 3 "24 May 2008" "Version 5.1.1" "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 \fBQwtDoubleRect\fP \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 "\fBQwtCPointerData\fP & QwtCPointerData::operator= (const \fBQwtCPointerData\fP &)"
83
Definition at line 290 of file qwt_data.cpp.
85
References d_size, d_x, and d_y.
86
.SS "\fBQwtData\fP * QwtCPointerData::copy () const\fC [virtual]\fP"
90
Pointer to a copy (virtual copy constructor)
95
Implements \fBQwtData\fP.
97
Definition at line 344 of file qwt_data.cpp.
99
References QwtCPointerData().
100
.SS "size_t QwtCPointerData::size () const\fC [virtual]\fP"
109
Implements \fBQwtData\fP.
111
Definition at line 302 of file qwt_data.cpp.
113
Referenced by boundingRect().
114
.SS "double QwtCPointerData::x (size_t i) const\fC [virtual]\fP"
116
Return the x value of data point i
125
x X value of data point i
130
Implements \fBQwtData\fP.
132
Definition at line 313 of file qwt_data.cpp.
133
.SS "double QwtCPointerData::y (size_t i) const\fC [virtual]\fP"
135
Return the y value of data point i
144
y Y value of data point i
149
Implements \fBQwtData\fP.
151
Definition at line 324 of file qwt_data.cpp.
152
.SS "const double * QwtCPointerData::xData () const"
156
Array of the x-values
161
Definition at line 330 of file qwt_data.cpp.
162
.SS "const double * QwtCPointerData::yData () const"
166
Array of the y-values
171
Definition at line 336 of file qwt_data.cpp.
172
.SS "\fBQwtDoubleRect\fP QwtCPointerData::boundingRect () const\fC [virtual]\fP"
174
Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false
176
Reimplemented from \fBQwtData\fP.
178
Definition at line 354 of file qwt_data.cpp.
184
Generated automatically by Doxygen for Qwt User's Guide from the source code.