7 #ifndef MarshaledG4HitsCollection_H
8 #define MarshaledG4HitsCollection_H
13 #include "ExN04CalorimeterHit.hh"
14 #include "ExN04MuonHit.hh"
15 #include "ExN04TrackerHit.hh"
23 #include "MarshaledObj.h"
101 int msh_currentSize = 0;
103 throw "Tried to marshal in obj marked isUnmarshaling == true";
130 memcpy(
msh_cursor+copy_off, &elementNum,
sizeof(
int));
131 copy_off +=
sizeof(
int);
132 for(
int index=0;index<elementNum;index++){
180 msh_currentSize = copy_off;
197 int msh_currentSize = 0;
199 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));
207 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
208 copy_off +=
sizeof(
int);
209 for(
int index=0;index<elementNum;index++){
226 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
227 copy_off +=
sizeof(
int);
228 for(
int index=0;index<elementNum;index++){
245 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
246 copy_off +=
sizeof(
int);
247 for(
int index=0;index<elementNum;index++){
278 this->
param = objptr;
330 int msh_currentSize = 0;
332 throw "Tried to marshal in obj marked isUnmarshaling == true";
370 int msh_currentSize = 0;
372 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));
G4HitsCollection * unmarshal()
MarshaledG4HitsCollection(G4HitsCollection *objptr)
MarshaledG4HitsCollection(void *buf, char isUnmarshaling= 'u')
ShadowedMarshaledG4HitsCollection * Shadowed_param
void unmarshalTo(G4THitsCollection< T > *obj)
ShadowedMarshaledG4THitsCollection< T > * Shadowed_param
#define MSH_SET_TOTALSIZE(X)
G4THitsCollection< T > * unmarshal()
#define MSH_SET_TYPECHOICE(X)
ExN04MuonHit * unmarshal()
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void unmarshalTo(G4HitsCollection *obj)
ExN04TrackerHit * unmarshal()
MarshaledG4THitsCollection(G4THitsCollection< T > *objptr)
~MarshaledG4HitsCollection()
~MarshaledG4THitsCollection()
void EXTEND_BUFFER(int size)
G4THitsCollection< T > * param
MarshaledG4THitsCollection(void *buf, char isUnmarshaling= 'u')
ExN04CalorimeterHit * unmarshal()