- Timestamp:
- 12/22/11 12:19:16 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcore/fits.h
r12722 r12732 347 347 } 348 348 349 const Columns & getColumns() const349 const Columns &GetColumns() const 350 350 { 351 351 return cols; 352 352 } 353 353 354 const Keys & getKeys() const354 const Keys &GetKeys() const 355 355 { 356 356 return keys; 357 357 } 358 358 359 360 361 // Values of keys are always signed 359 // Values of keys are always signed 362 360 template<typename T> 363 361 T Get(const string &key) const … … 378 376 } 379 377 380 378 // Values of keys are always signed 381 379 template<typename T> 382 380 T Get(const string &key, const string &deflt) const … … 504 502 throw runtime_error("END keyword missing in FITS header."); 505 503 #else 506 gLog << ___err__ << "ERROR - END keyword missing in FITS file... file might be corrupted." << endl;504 gLog << ___err___ << "ERROR - END keyword missing in FITS file... file might be corrupted." << endl; 507 505 return; 508 506 #endif … … 715 713 bool HasKey(const string &key) const { return fTable.HasKey(key); } 716 714 bool HasColumn(const string& col) const { return fTable.HasColumn(col);} 717 const Table::Columns & getColumns() const { return fTable.getColumns();}718 const Table::Keys & getKeys() const { return fTable.getKeys();}715 const Table::Columns &GetColumns() const { return fTable.getColumns();} 716 const Table::Keys &GetKeys() const { return fTable.getKeys();} 719 717 720 718 int64_t GetInt(const string &key) const { return fTable.Get<int64_t>(key); }
Note:
See TracChangeset
for help on using the changeset viewer.