Geant4  10.02.p02
G4Serialize.hh File Reference
#include "globals.hh"
+ Include dependency graph for G4Serialize.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename T >
void WRITE (std::ostream &out, const T &toBeSaved)
 
template<typename T >
void READ (std::istream &in, T &toBeSaved)
 
template<>
void WRITE< G4String > (std::ostream &out, const G4String &name)
 
template<>
void READ< G4String > (std::istream &in, G4String &name)
 

Function Documentation

template<typename T >
void READ ( std::istream &  in,
T &  toBeSaved 
)

Definition at line 49 of file G4Serialize.hh.

Referenced by G4MoleculeDefinition::Load(), and G4MolecularConfiguration::Unserialize().

+ Here is the caller graph for this function:

template<>
void READ< G4String > ( std::istream &  in,
G4String name 
)

Definition at line 67 of file G4Serialize.cc.

References name, and UReadBinaryString::read().

+ Here is the call graph for this function:

template<typename T >
void WRITE ( std::ostream &  out,
const T &  toBeSaved 
)

Definition at line 41 of file G4Serialize.hh.

Referenced by G4MoleculeDefinition::Serialize(), and G4MolecularConfiguration::Serialize().

+ Here is the caller graph for this function:

template<>
void WRITE< G4String > ( std::ostream &  out,
const G4String name 
)

Definition at line 37 of file G4Serialize.cc.

References name.