27.01.2015 Views

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

24.39 <strong>CCfits</strong>::PHDU Class Reference 126<br />

Allowed T types: <strong>CCfits</strong> stores keyword values of type U in a templated subclass<br />

of Keyword, KeyData. Normally U is set when reading the Keyword in from<br />

the file, and is limited to types int, double, string, bool, and complex. (The<br />

exception is when the user has created and added a new Keyword using an HDU::add-<br />

Key function, in which case they might have specified other types for U.) To avoid<br />

compilation errors, the user should generally try to provide a val of type T = type U,<br />

though there is some flexibility here as the following conversions are handled:<br />

T (to val)<br />

float<br />

double<br />

int<br />

U (from Keyword obj)<br />

double (will lose precision), float, int,<br />

integer string<br />

double, float, int, integer string<br />

int, integer string<br />

More conversions may be added in the future as the need arises.<br />

24.38.3.3 void <strong>CCfits</strong>::Keyword::write ( ) [virtual]<br />

left in for historical reasons, this seldom needs to be called by users<br />

This writes the Keyword to the file, and is called internally during HDU::addKey operations<br />

or the Keyword::setValue function. It shouldn’t normally need to be called<br />

explicitly.<br />

The documentation for this class was generated from the following files:<br />

• Keyword.h<br />

• Keyword.cxx<br />

• KeywordT.h<br />

24.39 <strong>CCfits</strong>::PHDU Class Reference<br />

class representing the primary HDU for a FITS file.<br />

#include <br />

Inheritance diagram for <strong>CCfits</strong>::PHDU:<br />

<strong>CCfits</strong>::HDU<br />

<strong>CCfits</strong>::PHDU<br />

Public Member Functions<br />

• virtual ∼PHDU ()<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!