Changeset 14867 for trunk/Mars/mcore/ofits.h
- Timestamp:
- 02/05/13 14:29:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/ofits.h
r14792 r14867 254 254 if (!entry.check()) 255 255 {//ETIENNE 256 if (!fCommentTrimming) 257 return false; 256 258 //looks like something went wrong. Maybe entry is too long ? 257 259 //try to remove the comment … … 306 308 Checksum fHeaderSum; 307 309 310 bool fCommentTrimming; 311 308 312 public: 309 ofits() 310 { 311 } 312 ofits(const char *fname) : ofstream() 313 ofits() : fCommentTrimming(false) 314 { 315 } 316 ofits(const char *fname) : ofstream(), 317 fCommentTrimming(false) 313 318 { 314 319 this->open(fname); … … 337 342 338 343 ofstream::open(filename); 344 } 345 346 void AllowCommentsTrimming(bool allow) 347 { 348 fCommentTrimming = allow; 339 349 } 340 350
Note:
See TracChangeset
for help on using the changeset viewer.