Geant4_10
Public Member Functions | Protected Attributes | List of all members
G4ofstreamDestinationBase Class Referenceabstract

#include <G4ofstreamDestination.hh>

Inheritance diagram for G4ofstreamDestinationBase:
Inheritance graph
[legend]
Collaboration diagram for G4ofstreamDestinationBase:
Collaboration graph
[legend]

Public Member Functions

 G4ofstreamDestinationBase (const G4String &defaultName, G4bool append)
 
virtual ~G4ofstreamDestinationBase ()
 
virtual G4int ReceiveG4cout (const G4String &)=0
 
virtual G4int ReceiveG4cerr (const G4String &)=0
 
void SetFileName (const G4String &name, G4bool append=true)
 
void Close ()
 
void Open ()
 
- Public Member Functions inherited from G4coutDestination
 G4coutDestination ()
 
virtual ~G4coutDestination ()
 

Protected Attributes

std::ofstream g4file
 

Detailed Description

Definition at line 57 of file G4ofstreamDestination.hh.

Constructor & Destructor Documentation

G4ofstreamDestinationBase::G4ofstreamDestinationBase ( const G4String defaultName,
G4bool  append 
)

Definition at line 42 of file G4ofstreamDestination.cc.

G4ofstreamDestinationBase::~G4ofstreamDestinationBase ( )
virtual

Definition at line 50 of file G4ofstreamDestination.cc.

Here is the call graph for this function:

Member Function Documentation

void G4ofstreamDestinationBase::Close ( )

Definition at line 72 of file G4ofstreamDestination.cc.

Here is the caller graph for this function:

void G4ofstreamDestinationBase::Open ( )

Definition at line 61 of file G4ofstreamDestination.cc.

Here is the caller graph for this function:

virtual G4int G4ofstreamDestinationBase::ReceiveG4cerr ( const G4String )
pure virtual

Reimplemented from G4coutDestination.

Implemented in G4CerrToFile, and G4CoutToFile.

virtual G4int G4ofstreamDestinationBase::ReceiveG4cout ( const G4String )
pure virtual

Reimplemented from G4coutDestination.

Implemented in G4CerrToFile, and G4CoutToFile.

void G4ofstreamDestinationBase::SetFileName ( const G4String name,
G4bool  append = true 
)

Definition at line 55 of file G4ofstreamDestination.cc.

Member Data Documentation

std::ofstream G4ofstreamDestinationBase::g4file
protected

Definition at line 73 of file G4ofstreamDestination.hh.


The documentation for this class was generated from the following files: