Definition at line 809 of file ofits.h.
References AddComment(), End(), ofits::Key::offset, SetBool(), SetInt(), SetStr(), Checksum::str(), and WriteHeader().
Referenced by WriteTableHeader().
813 h.
SetBool(
"SIMPLE",
true,
"file does conform to FITS standard");
814 h.
SetInt (
"BITPIX", 8,
"number of bits per data pixel");
815 h.
SetInt (
"NAXIS", 0,
"number of data axes");
816 h.
SetBool(
"EXTEND",
true,
"FITS dataset may contain extensions");
817 h.
SetStr (
"CHECKSUM",
"0000000000000000",
"Checksum for the whole HDU");
818 h.
SetStr (
"DATASUM",
" 0",
"Checksum for the data block");
819 h.
AddComment(
"FITS (Flexible Image Transport System) format is defined in 'Astronomy");
820 h.
AddComment(
"and Astrophysics', volume 376, page 359; bibcode: 2001A&A...376..359H");
827 const size_t offset = tellp();
bool SetInt(const std::string &key, int64_t i, const std::string &comment="")
bool SetBool(const std::string &key, bool b, const std::string &comment="")
bool AddComment(const std::string &comment)
bool SetStr(const std::string &key, std::string s, const std::string &comment="")
std::string str(bool complm=true) const
Checksum WriteHeader(std::ostream &fout)