QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QwtSetSample Class Reference

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

#include <qwt_samples.h>

Public Member Functions

 QwtSetSample ()
 Default constructor.
 
 QwtSetSample (double, const QVector< double > &=QVector< double >())
 Constructor with value and set.
 
bool operator== (const QwtSetSample &other) const
 Equality comparison operator .
 
bool operator!= (const QwtSetSample &other) const
 Inequality comparison operator .
 
double added () const
 Return all values of the set added together.
 

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

Default constructor.

◆ QwtSetSample() [2/2]

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

Constructor with value and set.

Member Function Documentation

◆ added()

double QwtSetSample::added ( ) const
inline

Return all values of the set added together.

◆ operator!=()

bool QwtSetSample::operator!= ( const QwtSetSample other) const
inline

Inequality comparison operator .

◆ operator==()

bool QwtSetSample::operator== ( const QwtSetSample other) const
inline

Equality comparison operator .


The documentation for this class was generated from the following file: