Changeset 20062


Ignore:
Timestamp:
04/12/21 11:40:00 (2 months ago)
Author:
tbretz
Message:
Allow access to the checksum.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/fits.h

    r19856 r20062  
    10491049    bool IsHeaderOk() const { return fTable.datasum<0?false:(fChkHeader+Checksum(fTable.datasum)).valid(); }
    10501050    virtual bool IsFileOk() const { return (fChkHeader+fChkData).valid(); }
     1051    uint32_t GetChecksum() const { return (fChkHeader+fChkData).val(); }
    10511052
    10521053    bool IsCompressedFITS() const { return fTable.is_compressed;}
Note: See TracChangeset for help on using the changeset viewer.