Reimplemented in zofits.
Definition at line 390 of file ofits.h.
References clear(), SetInt(), and SetStr().
Referenced by main(), ofits(), zofits::open(), and open().
398 SetStr(
"XTENSION",
"BINTABLE",
"binary table extension");
399 SetInt(
"BITPIX", 8,
"8-bit bytes");
400 SetInt(
"NAXIS", 2,
"2-dimensional binary table");
401 SetInt(
"NAXIS1", 0,
"width of table in bytes");
402 SetInt(
"NAXIS2", 0,
"number of rows in table");
403 SetInt(
"PCOUNT", 0,
"size of special data area");
404 SetInt(
"GCOUNT", 1,
"one data group (required keyword)");
405 SetInt(
"TFIELDS", 0,
"number of fields in each row");
407 SetStr(
"EXTNAME",
"",
"name of extension table");
410 SetStr(
"CHECKSUM",
"0000000000000000",
"Checksum for the whole HDU");
411 SetStr(
"DATASUM",
" 0",
"Checksum for the data block");
413 if (!
fFilebuf.open(filename, ios_base::out|ios_base::trunc))
414 setstate(ios_base::failbit);
bool SetInt(const std::string &key, int64_t i, const std::string &comment="")
bool SetStr(const std::string &key, std::string s, const std::string &comment="")