Geant4.10
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
Go to the source code of this file.
Data Structures | |
class | MarshaledObj |
class | MSH_IsSameClass< T, class > |
class | MSH_IsSameClass< T, T > |
Macros | |
#define | MSH_ASSERT(X) {assert(X);} |
#define | MSH_HEADER_SIZE (sizeof(int)*2) |
#define | MSH_TOTALSIZE_OFFSET (sizeof(int)) |
#define | MSH_TYPECHOICE_OFFSET 0 |
#define | MSH_SET_TYPECHOICE(X) { memcpy(msh_buffer+MSH_TYPECHOICE_OFFSET,&(X),sizeof(int));} |
#define | MSH_SET_TOTALSIZE(X) { memcpy(msh_buffer+MSH_TOTALSIZE_OFFSET,&(X),sizeof(int));} |
#define | MSH_GET_TYPECHOICE(X, BUF) { memcpy(&(X), ((char*)BUF)+MSH_TYPECHOICE_OFFSET,sizeof(int));} |
#define | MSH_GET_TOTALSIZE(X, BUF) { memcpy(&(X), ((char*)BUF)+MSH_TOTALSIZE_OFFSET,sizeof(int));} |
#define MSH_ASSERT | ( | X | ) | {assert(X);} |
Definition at line 13 of file ParN02/include/MarshaledObj.h.
Referenced by MarshaledObj::MarshaledObj(), and MarshaledObj::resizeBuffer().
#define MSH_GET_TOTALSIZE | ( | X, | |
BUF | |||
) | { memcpy(&(X), ((char*)BUF)+MSH_TOTALSIZE_OFFSET,sizeof(int));} |
Definition at line 24 of file ParN02/include/MarshaledObj.h.
Referenced by MarshaledObj::MarshaledObj().
#define MSH_GET_TYPECHOICE | ( | X, | |
BUF | |||
) | { memcpy(&(X), ((char*)BUF)+MSH_TYPECHOICE_OFFSET,sizeof(int));} |
Definition at line 23 of file ParN02/include/MarshaledObj.h.
Referenced by MarshaledObj::MarshaledObj().
#define MSH_HEADER_SIZE (sizeof(int)*2) |
Definition at line 15 of file ParN02/include/MarshaledObj.h.
Referenced by MarshaledObj::MarshaledObj(), MarshaledExN04MuonHit::unmarshal(), MarshaledG4String::unmarshal(), MarshaledExN04TrackerHit::unmarshal(), MarshaledG4VHitsCollection::unmarshal(), MarshaledExN02TrackerHit::unmarshal(), MarshaledExN04CalorimeterHit::unmarshal(), MarshaledG4HCofThisEvent::unmarshal(), MarshaledG4HitsCollection::unmarshal(), MarshaledG4THitsCollection< T >::unmarshal(), MarshaledG4String::unmarshalTo(), MarshaledExN04TrackerHit::unmarshalTo(), MarshaledExN04MuonHit::unmarshalTo(), MarshaledG4VHitsCollection::unmarshalTo(), MarshaledExN04CalorimeterHit::unmarshalTo(), MarshaledExN02TrackerHit::unmarshalTo(), MarshaledG4HCofThisEvent::unmarshalTo(), MarshaledG4HitsCollection::unmarshalTo(), and MarshaledG4THitsCollection< T >::unmarshalTo().
#define MSH_SET_TOTALSIZE | ( | X | ) | { memcpy(msh_buffer+MSH_TOTALSIZE_OFFSET,&(X),sizeof(int));} |
Definition at line 22 of file ParN02/include/MarshaledObj.h.
Referenced by MarshaledG4String::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN02TrackerHit::marshal3(), MarshaledExN04CalorimeterHit::marshal4(), MarshaledExN02TrackerHit::marshal4(), MarshaledObj::MarshaledObj(), and MarshaledObj::marshalPrimitive().
#define MSH_SET_TYPECHOICE | ( | X | ) | { memcpy(msh_buffer+MSH_TYPECHOICE_OFFSET,&(X),sizeof(int));} |
Definition at line 21 of file ParN02/include/MarshaledObj.h.
Referenced by MarshaledG4String::marshal1(), MarshaledExN04TrackerHit::marshal1(), MarshaledExN04MuonHit::marshal1(), MarshaledG4VHitsCollection::marshal1(), MarshaledG4HCofThisEvent::marshal1(), MarshaledG4HitsCollection::marshal1(), MarshaledExN04CalorimeterHit::marshal1(), MarshaledExN02TrackerHit::marshal1(), MarshaledG4THitsCollection< T >::marshal1(), MarshaledExN04MuonHit::marshal2(), MarshaledExN04TrackerHit::marshal2(), MarshaledG4VHitsCollection::marshal2(), MarshaledExN02TrackerHit::marshal2(), MarshaledExN04CalorimeterHit::marshal2(), MarshaledExN04CalorimeterHit::marshal3(), MarshaledExN02TrackerHit::marshal3(), MarshaledG4VHitsCollection::marshal3(), MarshaledExN02TrackerHit::marshal4(), MarshaledExN04CalorimeterHit::marshal4(), and MarshaledObj::MarshaledObj().
#define MSH_TOTALSIZE_OFFSET (sizeof(int)) |
Definition at line 18 of file ParN02/include/MarshaledObj.h.
#define MSH_TYPECHOICE_OFFSET 0 |
Definition at line 19 of file ParN02/include/MarshaledObj.h.