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.12 <strong>CCfits</strong>::ExtHDU Class Reference 74<br />

set the extension version number<br />

• template<br />

void write (const std::vector< long > &first, long nElements, const std::valarray<<br />

S > &data, S ∗nullValue)<br />

Write a set of pixels to an image extension with the first pixel specified by an n-tuple,<br />

processing undefined data.<br />

• template<br />

void write (long first, long nElements, const std::valarray< S > &data, S ∗null-<br />

Value)<br />

write array to image starting with a specified pixel and allowing undefined data to be<br />

processed<br />

• template<br />

void write (const std::vector< long > &first, long nElements, const std::valarray<<br />

S > &data)<br />

write array starting from specified n-tuple, without undefined data processing<br />

• template<br />

void write (long first, long nElements, const std::valarray< S > &data)<br />

write array starting from specified pixel number, without undefined data processing<br />

• template<br />

void write (const std::vector< long > &firstVertex, const std::vector< long ><br />

&lastVertex, const std::valarray< S > &data)<br />

write a subset (generalize slice) of data to the image<br />

Static Public Member Functions<br />

• static void readHduName (const fitsfile ∗fptr, int hduIndex, String &hduName,<br />

int &hduVersion)<br />

read extension name.<br />

Protected Member Functions<br />

• ExtHDU (FITSBase ∗p, HduType xtype, const String &hduName, int version)<br />

default constructor, required as Standard Library Container content.<br />

• ExtHDU (FITSBase ∗p, HduType xtype, const String &hduName, int bitpix, int<br />

naxis, const std::vector< long > &axes, int version)<br />

writing constructor.<br />

• ExtHDU (FITSBase ∗p, HduType xtype, int number)<br />

ExtHDU constructor for getting ExtHDUs by number.<br />

• long gcount () const<br />

return required gcount keyword value<br />

• void gcount (long value)<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!