2020-08-23 20:27:00 +02:00
|
|
|
#include "LocalDataSet.h"
|
|
|
|
#include "../datapoollocal/LocalDataPoolManager.h"
|
|
|
|
#include "../serialize/SerializeAdapter.h"
|
2020-05-17 01:17:11 +02:00
|
|
|
|
2020-06-19 03:03:17 +02:00
|
|
|
#include <cmath>
|
|
|
|
#include <cstring>
|
|
|
|
|
2020-08-23 22:33:22 +02:00
|
|
|
LocalDataSet::LocalDataSet(HasLocalDataPoolIF *hkOwner, uint32_t setId,
|
2020-08-24 22:08:27 +02:00
|
|
|
const size_t maxNumberOfVariables):
|
|
|
|
LocalPoolDataSetBase(hkOwner, setId, nullptr, maxNumberOfVariables),
|
|
|
|
poolVarList(maxNumberOfVariables) {
|
2020-08-23 22:33:22 +02:00
|
|
|
this->setContainer(poolVarList.data());
|
2020-05-17 01:17:11 +02:00
|
|
|
}
|
|
|
|
|
2020-08-23 22:33:22 +02:00
|
|
|
LocalDataSet::LocalDataSet(sid_t sid, const size_t maxNumberOfVariables):
|
|
|
|
LocalPoolDataSetBase(sid, nullptr, maxNumberOfVariables),
|
|
|
|
poolVarList(maxNumberOfVariables) {
|
|
|
|
this->setContainer(poolVarList.data());
|
2020-05-17 01:17:11 +02:00
|
|
|
}
|
|
|
|
|
2020-08-08 12:49:20 +02:00
|
|
|
LocalDataSet::~LocalDataSet() {}
|
2020-06-19 14:25:03 +02:00
|
|
|
|