Commit 4f78e432 authored by thomas.forbriger's avatar thomas.forbriger
Browse files

libtsxx [WP]: let TimeSeriesCollection be a vector

This allows random access.
parent 05385dc9
......@@ -39,18 +39,21 @@
#define TS_TSCOLLECTION_H_VERSION \
"TS_TSCOLLECTION_H V1.0"
#include<list>
#include<vector>
#include<tsxx/wid2timeseries.h>
namespace ts {
/*! \brief A class template for a list of time series with SFF header.
*
* A TimeSeriesCollection is a vector of ts::TimeSeries with some additional
* member functions.
*
* \param T value type of series container
*/
template<typename T>
class TimeSeriesCollection:
public std::list<TimeSeries<aff::Series<T>, ::sff::WID2> >
public std::vector<TimeSeries<aff::Series<T>, ::sff::WID2> >
{
public:
/*! \name Type definitions.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment