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));
G4HitsCollection * unmarshal()
ExN02TrackerHit * unmarshal()
MarshaledG4HitsCollection(G4HitsCollection *objptr)
MarshaledG4THitsCollection(void *buf, char chIsUnmarshaling= 'u')
ShadowedMarshaledG4HitsCollection * Shadowed_param
void unmarshalTo(G4THitsCollection< T > *obj)
ShadowedMarshaledG4THitsCollection< T > * Shadowed_param
#define MSH_SET_TOTALSIZE(X)
MarshaledG4HitsCollection(void *buf, char chIsUnmarshaling= 'u')
G4THitsCollection< T > * unmarshal()
#define MSH_SET_TYPECHOICE(X)
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
void unmarshalTo(G4HitsCollection *obj)
MarshaledG4THitsCollection(G4THitsCollection< T > *objptr)
~MarshaledG4HitsCollection()
~MarshaledG4THitsCollection()
void EXTEND_BUFFER(int size)
G4THitsCollection< T > * param