QwtSetSample Class Reference

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

`#include <qwt_samples.h>`

## Public Member Functions

| QwtSetSample ()
| QwtSetSample (double, const QVector< double > &=QVector< double >())
bool | operator== (const QwtSetSample &other) const
| Compare operator.
bool | operator!= (const QwtSetSample &other) const
| Compare operator.
double | added () const

## 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)

## Constructor & Destructor Documentation

## QwtSetSample() [1/2]

QwtSetSample::QwtSetSample | ( |  | ) |

inline

Constructor The value is set to 0.0

## QwtSetSample() [2/2]

QwtSetSample::QwtSetSample | ( | double | v,
|  | const QVector< double > & | s = `QVector<double>()`
| ) |  |

inline

Constructor

Parameters

  v | Value
  s | Set of values

## Member Function Documentation

## added()

double QwtSetSample::added | ( |  | ) | const

inline

Returns
  All values of the set added