6 #ifndef MarshaledG4HitsCollection_H
7 #define MarshaledG4HitsCollection_H
15 #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++){
175 this->
param = objptr;
227 int msh_currentSize = 0;
229 throw "Tried to marshal in obj marked isUnmarshaling == true";
267 int msh_currentSize = 0;
269 memcpy(&msh_currentSize,
msh_cursor,
sizeof(
int));
G4HitsCollection * unmarshal()
ExN02TrackerHit * 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)
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
MarshaledG4THitsCollection(void *buf, char isUnmarshaling= 'u')