6 #ifndef MarshaledG4HCofThisEvent_H
7 #define MarshaledG4HCofThisEvent_H
14 #include "ExN04TrackerHit.hh"
22 #include "MarshaledObj.h"
93 int msh_currentSize = 0;
95 throw "Tried to marshal in obj marked isUnmarshaling == true";
115 memcpy(
msh_cursor+copy_off, &elementNum,
sizeof(
int));
116 copy_off +=
sizeof(
int);
117 for(
int index=0;index<elementNum;index++){
125 msh_currentSize = copy_off;
142 int msh_currentSize = 0;
144 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));
150 memcpy(&elementNum,
msh_cursor+copy_off,
sizeof(
int));
151 copy_off +=
sizeof(
int);
152 for(
int index=0;index<elementNum;index++){
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
#define MSH_SET_TOTALSIZE(X)
#define MSH_SET_TYPECHOICE(X)
void unmarshalTo(G4HCofThisEvent *obj)
G4HCofThisEvent * unmarshal()
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
G4int GetNumberOfCollections()
G4VHitsCollection * GetHC(G4int i)
~MarshaledG4HCofThisEvent()
MarshaledG4HCofThisEvent(G4HCofThisEvent *objptr)
G4VHitsCollection * unmarshal()
MarshaledG4HCofThisEvent(void *buf, char isUnmarshaling= 'u')
ShadowedMarshaledG4HCofThisEvent * Shadowed_param
void EXTEND_BUFFER(int size)