Geant4  10.01.p02
G4FRofstream Class Reference

#include <G4FRofstream.hh>

Public Types

enum  { SEND_BUFMAX = 1024 }
 

Public Member Functions

 G4FRofstream ()
 
 G4FRofstream (const char *filename)
 
virtual ~G4FRofstream ()
 
void Open (const char *filename)
 
void Close ()
 
G4bool IsOpen ()
 
void SendLine (const char *string)
 

Static Public Member Functions

static G4bool DoesFileExist (const char *filename)
 

Protected Attributes

G4bool flag_file_open
 
std::ofstream fout
 

Detailed Description

Definition at line 43 of file G4FRofstream.hh.

Member Enumeration Documentation

anonymous enum
Enumerator
SEND_BUFMAX 

Definition at line 46 of file G4FRofstream.hh.

Constructor & Destructor Documentation

G4FRofstream::G4FRofstream ( )
inline

Definition at line 51 of file G4FRofstream.hh.

References flag_file_open.

G4FRofstream::G4FRofstream ( const char *  filename)
inline

Definition at line 112 of file G4FRofstream.hh.

References flag_file_open, and Open().

+ Here is the call graph for this function:

G4FRofstream::~G4FRofstream ( )
inlinevirtual

Definition at line 119 of file G4FRofstream.hh.

References Close().

+ Here is the call graph for this function:

Member Function Documentation

void G4FRofstream::Close ( )
inline

Definition at line 83 of file G4FRofstream.hh.

References flag_file_open, fout, and IsOpen().

Referenced by G4DAWNFILEViewer::ClearView(), G4DAWNFILESceneHandler::EndSavingG4Prim(), and ~G4FRofstream().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4FRofstream::DoesFileExist ( const char *  filename)
inlinestatic

Definition at line 99 of file G4FRofstream.hh.

Referenced by G4DAWNFILEViewer::ShowView().

+ Here is the caller graph for this function:

G4bool G4FRofstream::IsOpen ( )
inline

Definition at line 60 of file G4FRofstream.hh.

References flag_file_open.

Referenced by G4DAWNFILEViewer::ClearView(), Close(), Open(), SendLine(), and G4DAWNFILESceneHandler::~G4DAWNFILESceneHandler().

+ Here is the caller graph for this function:

void G4FRofstream::Open ( const char *  filename)
inline

Definition at line 74 of file G4FRofstream.hh.

References flag_file_open, fout, and IsOpen().

Referenced by G4DAWNFILESceneHandler::BeginSavingG4Prim(), G4DAWNFILEViewer::ClearView(), and G4FRofstream().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4FRofstream::SendLine ( const char *  string)
inline

Definition at line 91 of file G4FRofstream.hh.

References fout, G4endl, and IsOpen().

+ Here is the call graph for this function:

Member Data Documentation

G4bool G4FRofstream::flag_file_open
protected

Definition at line 69 of file G4FRofstream.hh.

Referenced by Close(), G4FRofstream(), IsOpen(), and Open().

std::ofstream G4FRofstream::fout
protected

Definition at line 70 of file G4FRofstream.hh.

Referenced by Close(), Open(), and SendLine().


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