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));
G4HitsCollection * 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)
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
ExN04CalorimeterHit * unmarshal()