33 #ifndef SOURCE_PROCESSES_ELECTROMAGNETIC_DNA_MOLECULES_MANAGEMENT_INCLUDE_G4SERIALIZE_HH_
34 #define SOURCE_PROCESSES_ELECTROMAGNETIC_DNA_MOLECULES_MANAGEMENT_INCLUDE_G4SERIALIZE_HH_
41 void WRITE(std::ostream& out,
const T& toBeSaved)
43 out.write((
char*)(&toBeSaved),
sizeof(toBeSaved));
49 void READ(std::istream& in, T& toBeSaved)
51 in.read((
char*)(&toBeSaved),
sizeof(toBeSaved));
void READ< G4String >(std::istream &in, G4String &name)
void WRITE(std::ostream &out, const T &toBeSaved)
void WRITE< G4String >(std::ostream &out, const G4String &name)
void READ(std::istream &in, T &toBeSaved)