27.01.2015 Views

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24.32 <strong>CCfits</strong>::HDU Class Reference 110<br />

• Keyword ∗ addKey (const Keyword ∗inKeyword)<br />

create a copy of an existing Keyword and add to HDU<br />

• long axes () const<br />

return the number of axes in the HDU data section (always 2 for tables).<br />

• long axis (size_t index) const<br />

return the size of axis numbered index [zero based].<br />

• long bitpix () const<br />

return the data type keyword.<br />

• virtual HDU ∗ clone (FITSBase ∗p) const =0<br />

virtual copy constructor, to be implemented in subclasses.<br />

• const string & comment () const<br />

return the comment string previously read by getComment()<br />

• void copyAllKeys (const HDU ∗inHdu)<br />

copy all keys from another header<br />

• void deleteKey (const String &doomed)<br />

delete a keyword from the header<br />

• fitsfile ∗ fitsPointer () const<br />

return the fitsfile pointer for the FITS object containing the HDU<br />

• std::pair< unsigned long, unsigned long > getChecksum () const<br />

compute and return the checksum values for the HDU without creating or modifying<br />

the CHECKSUM/DATASUM keywords.<br />

• const String & getComments ()<br />

read the comments from the HDU and add it to the FITS object.<br />

• const String & getHistory ()<br />

read the history information from the HDU and add it to the FITS object.<br />

• const string & history () const<br />

return the history string previously read by getHistory()<br />

• void index (int value)<br />

set the HDU number<br />

• int index () const<br />

return the HDU number<br />

• std::map< String, Keyword ∗ > & keyWord ()<br />

return the associative array containing the HDU keywords so far read.<br />

• Keyword & keyWord (const String &keyName)<br />

return a (previously read) keyword from the HDU object.<br />

• const std::map< string, Keyword ∗ > & keyWord () const<br />

return the associative array containing the HDU Keywords that have been read so<br />

far.<br />

• const Keyword & keyWord (const string &keyname) const<br />

return a (previously read) keyword from the HDU object. const version<br />

Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!