Geant4 11.1.1
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) | |
~G4FilecoutDestination () override | |
void | SetFileName (const G4String &fname) |
void | Open (std::ios_base::openmode mode=std::ios_base::app) |
void | Close () |
G4int | ReceiveG4cout (const G4String &msg) override |
G4int | ReceiveG4cerr (const G4String &msg) override |
Public Member Functions inherited from G4coutDestination | |
G4coutDestination ()=default | |
virtual | ~G4coutDestination ()=default |
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.
|
override |
Definition at line 37 of file G4FilecoutDestination.cc.
void G4FilecoutDestination::Close | ( | ) |
Definition at line 64 of file G4FilecoutDestination.cc.
Referenced by Open(), and ~G4FilecoutDestination().
void G4FilecoutDestination::Open | ( | std::ios_base::openmode | mode = std::ios_base::app | ) |
Definition at line 47 of file G4FilecoutDestination.cc.
Referenced by ReceiveG4cerr(), and ReceiveG4cout().
Reimplemented from G4coutDestination.
Definition at line 84 of file G4FilecoutDestination.cc.
Reimplemented from G4coutDestination.
Definition at line 73 of file G4FilecoutDestination.cc.
|
inline |
Definition at line 55 of file G4FilecoutDestination.hh.