template<class StorT, int elemSize, class ArithT>
Definition at line 225 of file Array2dTem.h. 00226 { 00227 if(w == -1 && startx == 0) 00228 w = CW(); 00229 if(h == -1 && starty == 0) 00230 h = CH(); 00231 if(startx+w > W()-BW()) 00232 w = W()-startx-BW(); 00233 if(starty+h > H()-BH()) 00234 h = H()-starty-BH(); 00235 os << "partial array dump from (" 00236 << startx << "," << starty << ") size (" 00237 << w << "," << h << ")\n"; 00238 Int64 x,y; 00239 for(y=0 ; y<h ; ++y) 00240 { 00241 for(x=0 ; x<w ; ++x) 00242 os << Pattern::PtrRead(CPB(x+startx, y+starty), ArithType()) << " "; 00243 os << "\n"; 00244 } 00245 }
|