QwtArraySeriesData.3 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. .TH "QwtArraySeriesData< T >" 3 "Mon Dec 28 2020" "Version 6.1.6" "Qwt User's Guide" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. QwtArraySeriesData< T > \- Template class for data, that is organized as QVector\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <qwt_series_data\&.h>\fP
  11. .PP
  12. Inherits \fBQwtSeriesData< T >\fP\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBQwtArraySeriesData\fP ()"
  17. .br
  18. .RI "Constructor\&. "
  19. .ti -1c
  20. .RI "\fBQwtArraySeriesData\fP (const QVector< T > &\fBsamples\fP)"
  21. .br
  22. .ti -1c
  23. .RI "void \fBsetSamples\fP (const QVector< T > &\fBsamples\fP)"
  24. .br
  25. .ti -1c
  26. .RI "const QVector< T > \fBsamples\fP () const"
  27. .br
  28. .ti -1c
  29. .RI "virtual size_t \fBsize\fP () const"
  30. .br
  31. .ti -1c
  32. .RI "virtual T \fBsample\fP (size_t index) const"
  33. .br
  34. .in -1c
  35. .SS "Protected Attributes"
  36. .in +1c
  37. .ti -1c
  38. .RI "QVector< T > \fBd_samples\fP"
  39. .br
  40. .RI "Vector of samples\&. "
  41. .in -1c
  42. .SH "Detailed Description"
  43. .PP
  44. .SS "template<typename T>
  45. .br
  46. class QwtArraySeriesData< T >"
  47. Template class for data, that is organized as QVector\&.
  48. QVector uses implicit data sharing and can be passed around as argument efficiently\&.
  49. .SH "Constructor & Destructor Documentation"
  50. .PP
  51. .SS "template<typename T > \fBQwtArraySeriesData\fP< T >::\fBQwtArraySeriesData\fP (const QVector< T > & samples)"
  52. Constructor
  53. .PP
  54. \fBParameters\fP
  55. .RS 4
  56. \fIsamples\fP Array of samples
  57. .RE
  58. .PP
  59. .SH "Member Function Documentation"
  60. .PP
  61. .SS "template<typename T > T \fBQwtArraySeriesData\fP< T >::sample (size_t index) const\fC [virtual]\fP"
  62. .PP
  63. \fBReturns\fP
  64. .RS 4
  65. Sample at a specific position
  66. .RE
  67. .PP
  68. \fBParameters\fP
  69. .RS 4
  70. \fIindex\fP Index
  71. .RE
  72. .PP
  73. \fBReturns\fP
  74. .RS 4
  75. Sample at position index
  76. .RE
  77. .PP
  78. .PP
  79. Implements \fBQwtSeriesData< T >\fP\&.
  80. .SS "template<typename T > const QVector< T > \fBQwtArraySeriesData\fP< T >::samples"
  81. .PP
  82. \fBReturns\fP
  83. .RS 4
  84. Array of samples
  85. .RE
  86. .PP
  87. .SS "template<typename T > void \fBQwtArraySeriesData\fP< T >::setSamples (const QVector< T > & samples)"
  88. Assign an array of samples
  89. .PP
  90. \fBParameters\fP
  91. .RS 4
  92. \fIsamples\fP Array of samples
  93. .RE
  94. .PP
  95. .SS "template<typename T > size_t \fBQwtArraySeriesData\fP< T >::size\fC [virtual]\fP"
  96. .PP
  97. \fBReturns\fP
  98. .RS 4
  99. Number of samples
  100. .RE
  101. .PP
  102. .PP
  103. Implements \fBQwtSeriesData< T >\fP\&.
  104. .SH "Author"
  105. .PP
  106. Generated automatically by Doxygen for Qwt User's Guide from the source code\&.