Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
GANILAnalysis
MFMlib
Commits
9556a941
Commit
9556a941
authored
Jul 19, 2021
by
LEGEARD Luc
☢
Browse files
add 2 functions IsSame and RawEqual in
parent
9c8742c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
sources/MFMCommonFrame.cc
sources/MFMCommonFrame.cc
+16
-0
sources/MFMCommonFrame.h
sources/MFMCommonFrame.h
+1
-0
No files found.
sources/MFMCommonFrame.cc
View file @
9556a941
...
...
@@ -34,6 +34,22 @@ MFMCommonFrame::MFMCommonFrame(int unitBlock_size, int dataSource,
fFrameSize
=
frameSize
;
};
//_______________________________________________________________________________
MFMCommonFrame
::
MFMCommonFrame
(
MFMCommonFrame
*
frame
)
{
/// Constructor \n
int
i
=
0
;
char
*
pttest
;
char
*
thispttest
;
frame
->
SetAttributs
();
int
size
=
testframe
->
GetFrameSize
();
SetBufferSize
(
size
);
thispttest
=
(
char
*
)(
GetPointHeader
());
pttest
=
(
char
*
)(
testframe
->
GetPointHeader
());
for
(
i
=
0
;
i
<
size
;
i
++
)
{
(
thispttest
[
i
]
=
(
char
)((
pttest
[
i
])));
}
SetAttributs
();
};
//_______________________________________________________________________________
MFMCommonFrame
::
MFMCommonFrame
()
{
...
...
sources/MFMCommonFrame.h
View file @
9556a941
...
...
@@ -125,6 +125,7 @@ public :
MFMCommonFrame
();
MFMCommonFrame
(
int
unitBlock_size
,
int
dataSource
,
int
frameType
,
int
revision
,
int
frameSize
);
MFMCommonFrame
(
MFMCommonFrame
*
frame
);
virtual
~
MFMCommonFrame
();
virtual
void
Init
();
virtual
string
WhichFrame
(
uint16_t
type
=
0
)
const
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment