ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4XXXFileViewer::FileWriter Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/XXX/include/G4XXXFileViewer.hh>

+ Collaboration diagram for G4XXXFileViewer::FileWriter:

Public Member Functions

 FileWriter ()
 
G4bool IsOpen ()
 
void WriteItem (const G4String &item)
 
void Close ()
 
void Rewind ()
 

Private Attributes

G4String fFileName
 
G4bool fOpen
 
std::ofstream fFile
 

Detailed Description

Definition at line 51 of file G4XXXFileViewer.hh.

View newest version in sPHENIX GitHub at line 51 of file G4XXXFileViewer.hh

Constructor & Destructor Documentation

G4XXXFileViewer::FileWriter::FileWriter ( )
inline

Definition at line 53 of file G4XXXFileViewer.hh.

View newest version in sPHENIX GitHub at line 53 of file G4XXXFileViewer.hh

Member Function Documentation

void G4XXXFileViewer::FileWriter::Close ( )

Definition at line 39 of file G4XXXFileViewer.cc.

View newest version in sPHENIX GitHub at line 39 of file G4XXXFileViewer.cc

References fFile, fFileName, fOpen, G4cout, and G4endl.

Referenced by G4XXXFileViewer::ShowView(), and G4XXXFileViewer::~G4XXXFileViewer().

+ Here is the caller graph for this function:

G4bool G4XXXFileViewer::FileWriter::IsOpen ( )
inline

Definition at line 54 of file G4XXXFileViewer.hh.

View newest version in sPHENIX GitHub at line 54 of file G4XXXFileViewer.hh

References fOpen.

void G4XXXFileViewer::FileWriter::Rewind ( )
inline

Definition at line 58 of file G4XXXFileViewer.hh.

View newest version in sPHENIX GitHub at line 58 of file G4XXXFileViewer.hh

References fFile, fFileName, and fOpen.

Referenced by G4XXXFileViewer::ClearView().

+ Here is the caller graph for this function:

void G4XXXFileViewer::FileWriter::WriteItem ( const G4String item)

Definition at line 48 of file G4XXXFileViewer.cc.

View newest version in sPHENIX GitHub at line 48 of file G4XXXFileViewer.cc

References G4cout, and G4endl.

Member Data Documentation

std::ofstream G4XXXFileViewer::FileWriter::fFile
private

Definition at line 62 of file G4XXXFileViewer.hh.

View newest version in sPHENIX GitHub at line 62 of file G4XXXFileViewer.hh

Referenced by Close(), and Rewind().

G4String G4XXXFileViewer::FileWriter::fFileName
private

Definition at line 60 of file G4XXXFileViewer.hh.

View newest version in sPHENIX GitHub at line 60 of file G4XXXFileViewer.hh

Referenced by Close(), and Rewind().

G4bool G4XXXFileViewer::FileWriter::fOpen
private

Definition at line 61 of file G4XXXFileViewer.hh.

View newest version in sPHENIX GitHub at line 61 of file G4XXXFileViewer.hh

Referenced by Close(), IsOpen(), and Rewind().


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