54 std::ostringstream oss;
58 oss <<
"g4_" << i <<
".XXXFile";
59 ifs.open(oss.str().c_str());
64 fFileName = oss.str();
66 fFile.open(fFileName.c_str());
69 if (fFile.good()) fFile << item << std::endl;
70 else G4cout <<
"G4XXXFileViewer::FileWriter::WriteItem: ERROR" <<
G4endl;
85 G4cout <<
"G4XXXFileViewer::SetView() called." <<
G4endl;
91 G4cout <<
"G4XXXFileViewer::ClearView() called." <<
G4endl;
98 G4cout <<
"G4XXXFileViewer::DrawView() called." <<
G4endl;
121 #ifdef G4XXXFileDEBUG
122 G4cout <<
"G4XXXFileViewer::ShowView() called." <<
G4endl;
G4int IncrementViewCount()
G4VViewer(G4VSceneHandler &, G4int id, const G4String &name="")
void WriteItem(const G4String &item)
G4GLOB_DLL std::ostream G4cout
G4XXXFileViewer(G4VSceneHandler &, const G4String &name)
virtual ~G4XXXFileViewer()
virtual void FinishView()