#include <G4UIArrayString.hh>
Definition at line 41 of file G4UIArrayString.hh.
◆ G4UIArrayString()
G4UIArrayString::G4UIArrayString |
( |
const G4String & |
stream | ) |
|
Definition at line 36 of file G4UIArrayString.cc.
50 if(jc ==
G4int(G4String::npos))
break;
52 for(; jc<
G4int(astream.length()); ) {
53 if(astream[(
size_t)(jc)]==
' ') jc++;
66 if(jc !=
G4int(G4String::npos))
69 jc= astream.length()+1;
72 for(
G4int j=1; jc+j<
G4int(astream.length()); j++ ) {
73 if(astream(jc+j)==
' ') jc++;
G4String strip(G4int strip_Type=trailing, char c=' ')
str_size index(const char *, G4int pos=0) const
◆ ~G4UIArrayString()
G4UIArrayString::~G4UIArrayString |
( |
| ) |
|
◆ CalculateColumnWidth()
int G4UIArrayString::CalculateColumnWidth |
( |
| ) |
const |
|
private |
◆ GetElement()
Definition at line 88 of file G4UIArrayString.cc.
91 if( !(icol>=1 && irow>=1))
G4GLOB_DLL std::ostream G4cerr
◆ GetNField()
G4int G4UIArrayString::GetNField |
( |
G4int |
icol | ) |
const |
|
private |
Definition at line 118 of file G4UIArrayString.cc.
127 const char tgt = (*
GetElement(icol,iy))[(
size_t)0];
132 if(ilen> maxWidth) maxWidth= ilen;
G4int GetNRow(G4int icol) const
G4String * GetElement(G4int icol, G4int irow) const
G4GLOB_DLL std::ostream G4cout
◆ GetNRow()
G4int G4UIArrayString::GetNRow |
( |
G4int |
icol | ) |
const |
|
private |
◆ Show()
void G4UIArrayString::Show |
( |
G4int |
ncol | ) |
|
Definition at line 155 of file G4UIArrayString.cc.
172 for(
G4int ix=1; ix<=nc; ix++) {
179 const char tgt = word[(size_t)0];
181 colorWord= word(0,5);
184 if(!colorWord.empty())
G4cout << colorWord << std::flush;
187 << word.c_str() << std::flush;
189 if(ix != nc)
G4cout <<
" " << std::flush;
G4int GetNRow(G4int icol) const
G4String * GetElement(G4int icol, G4int irow) const
G4GLOB_DLL std::ostream G4cout
G4int GetNField(G4int icol) const
G4int CalculateColumnWidth() const
◆ nColumn
G4int G4UIArrayString::nColumn |
|
private |
◆ nElement
G4int G4UIArrayString::nElement |
|
private |
◆ stringArray
The documentation for this class was generated from the following files: