Commit 05577af2 authored by LEGEARD Luc's avatar LEGEARD Luc
Browse files

add MFMCommonFrame(MFMCommonFrame* frame) constructor

parent 9556a941
......@@ -37,14 +37,15 @@ MFMCommonFrame::MFMCommonFrame(int unitBlock_size, int dataSource,
//_______________________________________________________________________________
MFMCommonFrame::MFMCommonFrame(MFMCommonFrame* frame) {
/// Constructor \n
Init();
int i=0;
char* pttest;
char* thispttest;
frame->SetAttributs();
int size = testframe->GetFrameSize();
int size = frame->GetFrameSize();
SetBufferSize(size);
thispttest = (char*)(GetPointHeader());
pttest = (char*)(testframe->GetPointHeader());
pttest = (char*)(frame->GetPointHeader());
for (i=0; i<size; i++) {
(thispttest[i]=(char)((pttest[i])));
}
......
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