Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4FilecoutDestination.hh>
Public Member Functions | |
G4FilecoutDestination (const G4String &fname, std::ios_base::openmode mode=std::ios_base::app) | |
virtual | ~G4FilecoutDestination () |
void | SetFileName (const G4String &fname) |
void | Open (std::ios_base::openmode mode=std::ios_base::app) |
void | Close () |
virtual G4int | ReceiveG4cout (const G4String &msg) override |
virtual G4int | ReceiveG4cerr (const G4String &msg) override |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination () |
void | AddCoutTransformer (const Transformer &t) |
void | AddCoutTransformer (Transformer &&t) |
void | AddCerrTransformer (const Transformer &t) |
void | AddCerrTransformer (Transformer &&t) |
virtual void | ResetTransformers () |
virtual G4int | ReceiveG4cout (const G4String &msg) |
virtual G4int | ReceiveG4cerr (const G4String &msg) |
G4int | ReceiveG4cout_ (const G4String &msg) |
G4int | ReceiveG4cerr_ (const G4String &msg) |
Additional Inherited Members | |
Public Types inherited from G4coutDestination | |
using | Transformer = std::function< G4bool(G4String &)> |
Protected Attributes inherited from G4coutDestination | |
std::vector< Transformer > | transformersCout |
std::vector< Transformer > | transformersCerr |
Static Protected Attributes inherited from G4coutDestination | |
static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Definition at line 44 of file G4FilecoutDestination.hh.
|
inlineexplicit |
Definition at line 47 of file G4FilecoutDestination.hh.
|
virtual |
Definition at line 36 of file G4FilecoutDestination.cc.
void G4FilecoutDestination::Close | ( | ) |
Definition at line 59 of file G4FilecoutDestination.cc.
Referenced by Open(), and ~G4FilecoutDestination().
void G4FilecoutDestination::Open | ( | std::ios_base::openmode | mode = std::ios_base::app | ) |
Definition at line 44 of file G4FilecoutDestination.cc.
Referenced by ReceiveG4cerr(), and ReceiveG4cout().
Reimplemented from G4coutDestination.
Definition at line 77 of file G4FilecoutDestination.cc.
Reimplemented from G4coutDestination.
Definition at line 68 of file G4FilecoutDestination.cc.
|
inline |
Definition at line 55 of file G4FilecoutDestination.hh.