49 if(jc ==
G4int(G4String::npos))
break;
51 for(; jc<
G4int(astream.length()); ) {
52 if(astream[(
size_t)(jc)]==
' ') jc++;
65 if(jc !=
G4int(G4String::npos))
68 jc= astream.length()+1;
71 for(
G4int j=1; jc+j<
G4int(astream.length()); j++ ) {
72 if(astream(jc+j)==
' ') jc++;
90 if( !(icol>=1 && irow>=1))
92 if(icol>nColumn)
G4cerr <<
"G4UIArrayString: overrange" <<
G4endl;
94 G4int jq= (irow-1)*nColumn + icol;
95 if(jq> nElement)
G4cerr <<
"G4UIArrayString: overrange" <<
G4endl;
98 return &stringArray[jq];
106 if(nElement%nColumn ==0) ni= nElement/nColumn;
107 else ni= nElement/nColumn + 1;
110 if(nn==0) nn= nColumn;
112 if(icol<= nn)
return ni;
121 for (
G4int iy=1; iy<= GetNRow(icol); iy++) {
126 const char tgt = (*GetElement(icol,iy))[(
size_t)0];
131 if(ilen> maxWidth) maxWidth= ilen;
147 const G4int nwSpace= 2;
148 totalWidth+= (
nColumn-1)*nwSpace;
171 for(
G4int ix=1; ix<=nc; ix++) {
178 const char tgt = word[(size_t)0];
180 colorWord= word(0,5);
183 if(!colorWord.empty())
G4cout << colorWord << std::flush;
186 << word.c_str() << std::flush;
188 if(ix != nc)
G4cout <<
" " << std::flush;