Geant4 11.3.0
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4ios.cc File Reference
#include "G4ios.hh"
#include "G4coutDestination.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 289 of file G4ios.cc.

289 {
290 G4debug.flush();
291 G4cout.flush();
292 G4cerr.flush();
293}
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 288 of file G4ios.cc.

288{}

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

◆ G4iosSetDestination()

void G4iosSetDestination ( G4coutDestination * sink)

Definition at line 297 of file G4ios.cc.

298{
299 G4debugbuf.SetDestination(sink);
300 G4coutbuf.SetDestination(sink);
301 G4cerrbuf.SetDestination(sink);
302}
G4debugstreambuf G4debugbuf
Definition G4ios.cc:280
G4coutstreambuf G4coutbuf
Definition G4ios.cc:281
G4cerrstreambuf G4cerrbuf
Definition G4ios.cc:282

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

Variable Documentation

◆ G4cerrbuf

std::ostream G4cerr & G4cerrbuf

Definition at line 282 of file G4ios.cc.

Referenced by G4iosSetDestination().

◆ G4coutbuf

std::ostream G4cout & G4coutbuf

Definition at line 281 of file G4ios.cc.

Referenced by G4iosSetDestination().

◆ G4debugbuf

std::ostream G4debug & G4debugbuf

Definition at line 280 of file G4ios.cc.

Referenced by G4iosSetDestination().