Changeset 9901 for trunk/Mars/mbase
- Timestamp:
- 08/30/10 09:52:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MLut.cc
r9518 r9901 286 286 // The lines can have a different number of entries. 287 287 // 288 // Lines which first(!) character is a # are ignored (as they are not 289 // existing in the file) 290 // 288 291 Int_t MLut::ReadStream(istream &fin) 289 292 { … … 293 296 294 297 Int_t n = 0; 298 Int_t l = 0; 295 299 296 300 while (1) … … 301 305 break; 302 306 307 l++; 308 309 if (line[0]=='#') 310 continue; 311 303 312 n++; 304 313 305 314 if (line.Contains(reg)) 306 315 { 307 gLog << warn << "WARNING - MLut::ReadStream: Line #" << n<< " contains invalid character... ignored." << endl;316 gLog << warn << "WARNING - MLut::ReadStream: Line #" << l << " contains invalid character... ignored." << endl; 308 317 continue; 309 318 }
Note:
See TracChangeset
for help on using the changeset viewer.