|
Geant4
10.04
|
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 () |
| G4int | ReceiveG4cout_ (const G4String &msg) |
| G4int | ReceiveG4cerr_ (const G4String &msg) |
Private Attributes | |
| G4String | m_name |
| std::ios_base::openmode | m_mode |
| std::unique_ptr< std::ofstream > | m_output |
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 G4coutDestination * | masterG4coutDestination |
|
explicit |
|
virtual |
| void Open | ( | std::ios_base::openmode | mode = std::ios_base::app | ) |
| void Close | ( | ) |
Reimplemented from G4coutDestination.
Reimplemented from G4coutDestination.
|
private |
Referenced by SetFileName().
|
private |
|
private |