QwtSetSample(3)

๐Ÿ’… QwtSetSample โ€” like, the whole vibe check

okay bestie, so this page is from the Qwt User's Guide, manual page QwtSetSample(3), and it's giving "tiny struct with big main character energy" ๐ŸŽ€. Let's get into it โœจ


๐ŸŒธ NAME ๐ŸŒธ

QwtSetSample โ€” a sample of the types (x1...xn, y) or (x, y1..yn). that's it, that's the whole personality ๐Ÿซถ


โœจ SYNOPSIS โœจ

first things first, you gotta pull it in:

#include <qwt_samples.h>

๐Ÿฆ‹ Public Member Functions

  • QwtSetSample() โ€” the no-arg constructor, we love a default queen ๐Ÿ‘‘
  • QwtSetSample(double, const QVector< double > &=QVector< double >()) โ€” the constructor with actual content, slay
  • bool operator==(const QwtSetSample &other) const โ€” compare operator, fr fr
  • bool operator!=(const QwtSetSample &other) const โ€” compare operator (the other one, iconic)
  • double added() const โ€” literally just does the math for you ๐Ÿ’–

๐ŸŒˆ Public Attributes

  • double value โ€” value
  • QVector< double > set โ€” vector of values associated to value

๐Ÿ’œ Detailed Description ๐Ÿ’œ

A sample of the types (x1...xn, y) or (x, y1..yn). periodt.

ngl it's defined at line 73 of file qwt_samples.h, so if you ever need to point at it: qwt_samples.h, line 73, that's the spot ๐ŸŽฏ

๐Ÿงš Constructor & Destructor Documentation ๐Ÿงš

๐Ÿ“ QwtSetSample::QwtSetSample() โ€” [inline]

Constructor ๐Ÿ’… the value is set to 0.0, so it starts out humble.

located at line 95 of file qwt_samples.h. iykyk.

๐ŸŽ€ QwtSetSample::QwtSetSample(double v, const QVector< double > & s = QVector< double >()) โ€” [inline], [explicit]

Constructor, round two ๐ŸŒธ and yes, it's marked [explicit] โ€” no sneaky implicit conversions around here, we respect boundaries ๐Ÿ’€

Parameters

  • v โ€” Value
  • s โ€” Set of values

located at line 106 of file qwt_samples.h. cute.


๐Ÿ”ฅ Member Function Documentation ๐Ÿ”ฅ

โญ double QwtSetSample::added() const โ€” [inline]

Returns: all values of the set added ๐Ÿงฎโœจ like, sum them up bestie, that's the whole job.

located at line 125 of file qwt_samples.h.

๐Ÿ’€ bool QwtSetSample::operator!=(const QwtSetSample & other) const โ€” [inline]

Compare operator. that's it. that's the description. ๐Ÿ’…

located at line 119 of file qwt_samples.h.

๐Ÿ™ˆ bool QwtSetSample::operator==(const QwtSetSample & other) const โ€” [inline]

Compare operator. again. twin energy ๐Ÿ‘ฏ

located at line 113 of file qwt_samples.h.


๐ŸŒŸ Member Data Documentation ๐ŸŒŸ

๐Ÿฆ‹ QVector< double > QwtSetSample::set

Vector of values associated to value. so like, the whole squad of numbers that go with your main value ๐Ÿ‘‘

located at line 88 of file qwt_samples.h.

๐Ÿ’– double QwtSetSample::value

value. that's the doc. no notes. ๐Ÿ’€

located at line 85 of file qwt_samples.h.


๐Ÿ‘‘ Author ๐Ÿ‘‘

Generated automatically by Doxygen for the Qwt User's Guide from the source code. not a human, just a robot doing its little robot thing ๐Ÿค–โœจ


okay so that's the whole page, you ate that ๐Ÿ’…๐ŸŒธ bye bestie โ€” this was QwtSetSample(3), Qwt User's Guide, and yeah, the doc itself is auto-generated so blame Doxygen, not me ๐Ÿ˜ญ๐Ÿซถ

๐Ÿ“ฆ where this page comes from