#include <G4UIArrayString.hh>
Definition at line 41 of file G4UIArrayString.hh.
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++;
64 for(
G4int i=0; i<nElement; i++){
66 if(jc !=
G4int(G4String::npos))
67 stringArray[i]= astream(indx, jc-indx);
69 jc= astream.length()+1;
70 stringArray[i]= astream(indx, jc-indx);
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 |
( |
| ) |
|
Definition at line 155 of file G4UIArrayString.cc.
159 while( CalculateColumnWidth()< ncol ) {
162 while( CalculateColumnWidth()> ncol && nColumn>1 ) {
166 for(
G4int iy=1; iy<= GetNRow(1); iy++) {
168 if(iy == GetNRow(1)) {
169 nc= nElement%nColumn;
170 if(nc==0) nc= nColumn;
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;
186 G4cout << std::setiosflags(std::ios::left) << std::setw(GetNField(ix))
187 << word.c_str() << std::flush;
189 if(ix != nc)
G4cout <<
" " << std::flush;
const XML_Char const XML_Char * data
G4GLOB_DLL std::ostream G4cout
The documentation for this class was generated from the following files: