2013-08-13 18:48:36 +02:00
|
|
|
#include "vdatatool.h"
|
|
|
|
|
|
|
|
VDataTool::VDataTool(VContainer *data, QObject *parent) :
|
2013-08-20 12:26:02 +02:00
|
|
|
QObject(parent), data(*data){
|
2013-08-13 18:48:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
VDataTool::~VDataTool(){
|
|
|
|
}
|
|
|
|
|
2013-09-12 15:25:24 +02:00
|
|
|
VDataTool &VDataTool::operator =(const VDataTool &tool){
|
2013-08-13 18:48:36 +02:00
|
|
|
data = tool.getData();
|
2013-08-20 12:26:02 +02:00
|
|
|
return *this;
|
2013-08-13 18:48:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
VContainer VDataTool::getData() const{
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
|
|
|
|
void VDataTool::setData(const VContainer *value){
|
|
|
|
data = *value;
|
|
|
|
}
|