35#include "ElementsKernel/Export.h"
const std::pair< double, double > & back() const
Returns a reference to the last pair of the dataset.
std::vector< std::pair< double, double > >::const_iterator const_iterator
static XYDataset factory(std::vector< std::pair< double, double > > vector_pair)
Make a XYDataset object from a vector of pair of doubles.
const std::pair< double, double > & front() const
Returns a reference to the first pair of the dataset.
XYDataset(const XYDataset &)=default
Copy constructor.
const_iterator begin() const
Returns a const iterator to the first pair of the dataset.
size_t size() const
Get the size of the vector container.
virtual ~XYDataset()=default
Destructor.
std::vector< std::pair< double, double > > m_values
const_iterator end() const
Returns a const iterator to the one after last pair dataset.
XYDataset(XYDataset &&)=default
Move constructor.
XYDataset(std::vector< std::pair< double, double > > values)
Constructor XYDataset interface represents an immutable data set.