Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ios.cc File Reference
#include "G4ios.hh"
#include "G4coutDestination.hh"
#include "G4Threading.hh"
#include "G4AutoLock.hh"
#include <iostream>

Go to the source code of this file.

Functions

void G4iosInitialization ()
void G4iosFinalization ()
void G4iosSetDestination (G4coutDestination *sink)

Variables

G4debugstreambuf G4debugbuf
G4coutstreambuf G4coutbuf
G4cerrstreambuf G4cerrbuf

Function Documentation

◆ G4iosFinalization()

void G4iosFinalization ( )

Definition at line 297 of file G4ios.cc.

297 {
298 G4debug.flush();
299 G4cout.flush();
300 G4cerr.flush();
301}
G4GLOB_DLL std::ostream G4debug
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout

Referenced by G4StateManager::~G4StateManager(), and G4UImanager::~G4UImanager().

◆ G4iosInitialization()

void G4iosInitialization ( )

Definition at line 296 of file G4ios.cc.

296{}

Referenced by G4UImanager::SetUpForAThread(), and G4UImanager::SetUpForSpecialThread().

◆ G4iosSetDestination()

void G4iosSetDestination ( G4coutDestination * sink)

Definition at line 305 of file G4ios.cc.

306{
307 G4debugbuf.SetDestination(sink);
308 G4coutbuf.SetDestination(sink);
309 G4cerrbuf.SetDestination(sink);
310}
G4debugstreambuf G4debugbuf
Definition G4ios.cc:288
G4coutstreambuf G4coutbuf
Definition G4ios.cc:289
G4cerrstreambuf G4cerrbuf
Definition G4ios.cc:290

Referenced by G4MTcoutDestination::G4MTcoutDestination(), G4UImanager::SetCoutDestination(), and G4coutFormatters::SetupStyleGlobally().

Variable Documentation

◆ G4cerrbuf

std::ostream G4cerr & G4cerrbuf

Definition at line 290 of file G4ios.cc.

Referenced by G4iosSetDestination().

◆ G4coutbuf

std::ostream G4cout & G4coutbuf

Definition at line 289 of file G4ios.cc.

Referenced by G4iosSetDestination().

◆ G4debugbuf

std::ostream G4debug & G4debugbuf

Definition at line 288 of file G4ios.cc.

Referenced by G4iosSetDestination().