Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4UIOutputString Class Reference

#include <G4UIQt.hh>

Public Member Functions

 G4UIOutputString (QString text, G4String thread="", G4String outputstream="info")
 
QString GetOutputList ()
 

Public Attributes

QString fText
 
G4String fThread
 
G4String fOutputStream
 

Detailed Description

Definition at line 106 of file G4UIQt.hh.

Constructor & Destructor Documentation

◆ G4UIOutputString()

G4UIOutputString::G4UIOutputString ( QString  text,
G4String  thread = "",
G4String  outputstream = "info" 
)

Definition at line 5128 of file G4UIQt.cc.

5132 :
5133 fText(text)
5134,fThread(origine)
5135{
5136 if (!GetOutputList().contains(QString(" ")+outputStream+" ")) {
5137 fOutputStream = "info";
5138 } else {
5139 fOutputStream = outputStream;
5140 }
5141}
G4String fOutputStream
Definition: G4UIQt.hh:112
QString fText
Definition: G4UIQt.hh:110
G4String fThread
Definition: G4UIQt.hh:111
QString GetOutputList()
Definition: G4UIQt.hh:109
G4bool contains(const G4String &str, std::string_view ss)
Check if a string contains a given substring.

Member Function Documentation

◆ GetOutputList()

QString G4UIOutputString::GetOutputList ( )
inline

Definition at line 109 of file G4UIQt.hh.

109{ return " all info warning error ";};

Referenced by G4UIOutputString().

Member Data Documentation

◆ fOutputStream

G4String G4UIOutputString::fOutputStream

Definition at line 112 of file G4UIQt.hh.

Referenced by G4UIOutputString().

◆ fText

QString G4UIOutputString::fText

Definition at line 110 of file G4UIQt.hh.

◆ fThread

G4String G4UIOutputString::fThread

Definition at line 111 of file G4UIQt.hh.


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