Geant4  10.01
G4UIArrayString Class Reference

#include <G4UIArrayString.hh>

+ Collaboration diagram for G4UIArrayString:

Public Member Functions

 G4UIArrayString (const G4String &stream)
 
 ~G4UIArrayString ()
 
void Show (G4int ncol)
 

Private Member Functions

G4StringGetElement (G4int icol, G4int irow) const
 
G4int GetNRow (G4int icol) const
 
G4int GetNField (G4int icol) const
 
G4int CalculateColumnWidth () const
 

Private Attributes

G4StringstringArray
 
G4int nElement
 
G4int nColumn
 

Detailed Description

Definition at line 41 of file G4UIArrayString.hh.

Constructor & Destructor Documentation

G4UIArrayString::G4UIArrayString ( const G4String stream)

Definition at line 36 of file G4UIArrayString.cc.

References G4String::both, G4String::index(), nColumn, nElement, stringArray, and G4String::strip().

+ Here is the call graph for this function:

G4UIArrayString::~G4UIArrayString ( )

Definition at line 81 of file G4UIArrayString.cc.

References stringArray.

Member Function Documentation

int G4UIArrayString::CalculateColumnWidth ( ) const
private

Definition at line 139 of file G4UIArrayString.cc.

References GetNField(), and nColumn.

Referenced by Show().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4String * G4UIArrayString::GetElement ( G4int  icol,
G4int  irow 
) const
private

Definition at line 88 of file G4UIArrayString.cc.

References G4cerr, and G4endl.

Referenced by Show().

+ Here is the caller graph for this function:

G4int G4UIArrayString::GetNField ( G4int  icol) const
private

Definition at line 118 of file G4UIArrayString.cc.

References G4cout, G4endl, and strESC.

Referenced by CalculateColumnWidth(), and Show().

+ Here is the caller graph for this function:

G4int G4UIArrayString::GetNRow ( G4int  icol) const
private

Definition at line 103 of file G4UIArrayString.cc.

References G4InuclParticleNames::nn.

Referenced by Show().

+ Here is the caller graph for this function:

void G4UIArrayString::Show ( G4int  ncol)

Definition at line 155 of file G4UIArrayString.cc.

References CalculateColumnWidth(), G4cout, G4endl, GetElement(), GetNField(), GetNRow(), left, nColumn, nElement, and strESC.

Referenced by G4VUIshell::ListCommand().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4UIArrayString::nColumn
private

Definition at line 45 of file G4UIArrayString.hh.

Referenced by CalculateColumnWidth(), G4UIArrayString(), and Show().

G4int G4UIArrayString::nElement
private

Definition at line 44 of file G4UIArrayString.hh.

Referenced by G4UIArrayString(), and Show().

G4String* G4UIArrayString::stringArray
private

Definition at line 43 of file G4UIArrayString.hh.

Referenced by G4UIArrayString(), and ~G4UIArrayString().


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