Skip to content

Struct QAccelPlot::PlotSeries::DataPointInput

ClassList > QAccelPlot > PlotSeries > DataPointInput

Data points passed to setData() orsetDataF() , already checked.More...

  • #include <PlotSeries.hpp>

Public Attributes

Type Name
int count = {0}
Number of data points.
const double * doubleArray = {nullptr}
Double values to copy.
std::vector< double > doubles
Moved double values, when precise is set anddoubleArray is null.
const float * floatArray = {nullptr}
Float values to copy.
std::vector< float > floats
Moved float values, when precise is not set andfloatArray is null.
bool precise = {true}
Whether the values are doubles.
int stride = {0}
Values per data point.

Public Functions

Type Name
std::vector< double > toDoubles ()
Returns the values as doubles, moved, copied, or converted.

Detailed Description

Holds either a moved buffer or an array to copy, of double or float values.

Public Attributes Documentation

variable count

Number of data points.

int QAccelPlot::PlotSeries::DataPointInput::count;


variable doubleArray

Double values to copy.

const double* QAccelPlot::PlotSeries::DataPointInput::doubleArray;


variable doubles

Moved double values, when precise is set anddoubleArray is null.

std::vector<double> QAccelPlot::PlotSeries::DataPointInput::doubles;


variable floatArray

Float values to copy.

const float* QAccelPlot::PlotSeries::DataPointInput::floatArray;


variable floats

Moved float values, when precise is not set andfloatArray is null.

std::vector<float> QAccelPlot::PlotSeries::DataPointInput::floats;


variable precise

Whether the values are doubles.

bool QAccelPlot::PlotSeries::DataPointInput::precise;


variable stride

Values per data point.

int QAccelPlot::PlotSeries::DataPointInput::stride;


Public Functions Documentation

function toDoubles

Returns the values as doubles, moved, copied, or converted.

std::vector< double > QAccelPlot::PlotSeries::DataPointInput::toDoubles () 



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/series/PlotSeries.hpp