CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
24.38 <strong>CCfits</strong>::Keyword Class Reference 124<br />
return the comment field of the keyword<br />
• fitsfile ∗ fitsPointer () const<br />
return a pointer to the FITS file containing the parent HDU.<br />
• ValueType keytype () const<br />
return the type of a keyword<br />
• const String & name () const<br />
return the name of a keyword<br />
• bool operator!= (const Keyword &right) const<br />
inequality operator<br />
• Keyword & operator= (const Keyword &right)<br />
assignment operator<br />
• bool operator== (const Keyword &right) const<br />
equality operator<br />
• template<br />
void setValue (const T &newValue)<br />
modify the value of an existing Keyword and write it to the file<br />
• template<br />
T & value (T &val) const<br />
get the keyword value<br />
• virtual void write ()<br />
left in for historical reasons, this seldom needs to be called by users<br />
Protected Member Functions<br />
• Keyword (const Keyword &right)<br />
copy constructor<br />
• Keyword (const String &keyname, ValueType keytype, HDU ∗p, const String<br />
&comment="")<br />
Keyword constructor.<br />
• void keytype (ValueType value)<br />
set keyword type.<br />
• const HDU ∗ parent () const<br />
return a pointer to parent HDU.<br />
24.38.1 Detailed Description<br />
Abstract base class defining the interface for Keyword objects.<br />
Keyword object creation is normally performed inside FITS constructors or FITS::read,<br />
HDU::readKey, and HDU::addKey functions. Output is performed in HDU::addKey<br />
functions and Keyword::setValue.<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen