3 #ifndef MarshaledG4HitsCollection_H
4 #define MarshaledG4HitsCollection_H
7 #include <G4THitsCollection.hh>
91 int msh_currentSize = 0;
93 throw "Tried to marshal in obj marked isUnmarshaling == true";
116 memcpy(
msh_cursor+copy_off, &elementNum,
sizeof(
int));
117 copy_off +=
sizeof(
int);
118 for(
int index=0;index<elementNum;index++){
126 msh_currentSize = copy_off;
143 int msh_currentSize = 0;
145 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));
151 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
152 copy_off +=
sizeof(
int);
153 for(
int index=0;index<elementNum;index++){
176 this->
param = objptr;
228 int msh_currentSize = 0;
230 throw "Tried to marshal in obj marked isUnmarshaling == true";
272 int msh_currentSize = 0;
274 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));