|
Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4MTcoutDestination.hh>
Inheritance diagram for G4MTcoutDestination:Public Member Functions | |
| G4MTcoutDestination (const G4int &threadId) | |
| ~G4MTcoutDestination () override | |
| virtual void | Reset () |
| void | SetDefaultOutput (G4bool addMasterDestination=true, G4bool formatAlsoMaster=true) |
| void | SetCoutFileName (const G4String &fileN="G4cout.txt", G4bool ifAppend=true) |
| void | AddCoutFileName (const G4String &fileN="G4cout.txt", G4bool ifAppend=true) |
| void | SetCerrFileName (const G4String &fileN="G4cerr.txt", G4bool ifAppend=true) |
| void | AddCerrFileName (const G4String &fileN="G4cerr.txt", G4bool ifAppend=true) |
| void | EnableBuffering (G4bool flag=true) |
| void | SetPrefixString (const G4String &wd="G4WT") |
| void | SetIgnoreCout (G4int tid=0) |
| void | SetIgnoreInit (G4bool val=true) |
| G4String | GetPrefixString () const |
| G4String | GetFullPrefixString () const |
Public Member Functions inherited from G4MulticoutDestination | |
| G4MulticoutDestination ()=default | |
| ~G4MulticoutDestination () override=default | |
| G4int | ReceiveG4debug (const G4String &msg) override |
| G4int | ReceiveG4cout (const G4String &msg) override |
| G4int | ReceiveG4cerr (const G4String &msg) override |
Public Member Functions inherited from G4coutDestination | |
| G4coutDestination ()=default | |
| virtual | ~G4coutDestination ()=default |
| void | AddDebugTransformer (const Transformer &t) |
| void | AddDebugTransformer (Transformer &&t) |
| void | AddCoutTransformer (const Transformer &t) |
| void | AddCoutTransformer (Transformer &&t) |
| void | AddCerrTransformer (const Transformer &t) |
| void | AddCerrTransformer (Transformer &&t) |
| virtual void | ResetTransformers () |
| G4int | ReceiveG4debug_ (const G4String &msg) |
| G4int | ReceiveG4cout_ (const G4String &msg) |
| G4int | ReceiveG4cerr_ (const G4String &msg) |
Protected Member Functions | |
| void | AddMasterOutput (G4bool formatAlsoMaster) |
| void | HandleFileCout (const G4String &fileN, G4bool appendFlag, G4bool suppressDefault) |
| void | HandleFileCerr (const G4String &fileN, G4bool appendFlag, G4bool suppressDefault) |
Additional Inherited Members | |
Public Types inherited from G4coutDestination | |
| using | Transformer = std::function<G4bool(G4String&)> |
Protected Attributes inherited from G4coutDestination | |
| std::vector< Transformer > | transformersDebug |
| std::vector< Transformer > | transformersCout |
| std::vector< Transformer > | transformersCerr |
Static Protected Attributes inherited from G4coutDestination | |
| static G4MTGLOB_DLL G4coutDestination * | masterG4coutDestination = nullptr |
Definition at line 45 of file G4MTcoutDestination.hh.
|
explicit |
Definition at line 48 of file G4MTcoutDestination.cc.
|
override |
Definition at line 133 of file G4MTcoutDestination.cc.
| void G4MTcoutDestination::AddCerrFileName | ( | const G4String & | fileN = "G4cerr.txt", |
| G4bool | ifAppend = true ) |
Definition at line 262 of file G4MTcoutDestination.cc.
| void G4MTcoutDestination::AddCoutFileName | ( | const G4String & | fileN = "G4cout.txt", |
| G4bool | ifAppend = true ) |
Definition at line 241 of file G4MTcoutDestination.cc.
|
protected |
Definition at line 99 of file G4MTcoutDestination.cc.
Referenced by SetDefaultOutput().
| void G4MTcoutDestination::EnableBuffering | ( | G4bool | flag = true | ) |
Definition at line 210 of file G4MTcoutDestination.cc.
|
inline |
Definition at line 73 of file G4MTcoutDestination.hh.
|
inline |
Definition at line 72 of file G4MTcoutDestination.hh.
|
protected |
Definition at line 176 of file G4MTcoutDestination.cc.
Referenced by AddCerrFileName(), and SetCerrFileName().
|
protected |
Definition at line 149 of file G4MTcoutDestination.cc.
Referenced by AddCoutFileName(), and SetCoutFileName().
|
virtual |
Definition at line 142 of file G4MTcoutDestination.cc.
Referenced by EnableBuffering(), SetCerrFileName(), and SetCoutFileName().
| void G4MTcoutDestination::SetCerrFileName | ( | const G4String & | fileN = "G4cerr.txt", |
| G4bool | ifAppend = true ) |
Definition at line 250 of file G4MTcoutDestination.cc.
| void G4MTcoutDestination::SetCoutFileName | ( | const G4String & | fileN = "G4cout.txt", |
| G4bool | ifAppend = true ) |
Definition at line 198 of file G4MTcoutDestination.cc.
| void G4MTcoutDestination::SetDefaultOutput | ( | G4bool | addMasterDestination = true, |
| G4bool | formatAlsoMaster = true ) |
Definition at line 59 of file G4MTcoutDestination.cc.
Referenced by G4MTcoutDestination(), and Reset().
| void G4MTcoutDestination::SetIgnoreCout | ( | G4int | tid = 0 | ) |
Definition at line 269 of file G4MTcoutDestination.cc.
|
inline |
Definition at line 70 of file G4MTcoutDestination.hh.
|
inline |
Definition at line 67 of file G4MTcoutDestination.hh.