Changeset 11566 for trunk/FACT++
- Timestamp:
- 07/24/11 18:23:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fitsdump.cc
r10837 r11566 406 406 string str; 407 407 double d; 408 int l; 408 409 409 410 const MyKeyword *kw = static_cast<MyKeyword*>(it->second); 410 411 kw->keytype(); 411 out << "## " << setw(8) << kw->name() << " ='";412 out << "## " << setw(8) << kw->name() << " = " << setw(10); 412 413 if (kw->keytype()==16) 413 out << kw->value(str); 414 out << ("'"+kw->value(str)+"'"); 415 if (kw->keytype()==31) 416 out << kw->value(l); 414 417 if (kw->keytype()==82) 415 418 out << kw->value(d); 416 out << " ' \t(" << kw->comment() << ")"<< endl;419 out << " / " << kw->comment() << endl; 417 420 } 418 421 }
Note:
See TracChangeset
for help on using the changeset viewer.