3 #ifndef MarshaledG4HitsCollection_H
4 #define MarshaledG4HitsCollection_H
7 #include <G4THitsCollection.hh>
97 int msh_currentSize = 0;
99 throw "Tried to marshal in obj marked isUnmarshaling == true";
129 memcpy(
msh_cursor+copy_off, &elementNum,
sizeof(
int));
130 copy_off +=
sizeof(
int);
131 for(
int index=0;index<elementNum;index++){
179 msh_currentSize = copy_off;
196 int msh_currentSize = 0;
198 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));
206 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
207 copy_off +=
sizeof(
int);
208 for(
int index=0;index<elementNum;index++){
225 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
226 copy_off +=
sizeof(
int);
227 for(
int index=0;index<elementNum;index++){
244 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
245 copy_off +=
sizeof(
int);
246 for(
int index=0;index<elementNum;index++){
277 this->
param = objptr;
329 int msh_currentSize = 0;
331 throw "Tried to marshal in obj marked isUnmarshaling == true";
373 int msh_currentSize = 0;
375 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));