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 77<br />

Exceptions<br />

WrongExtensionType thrown if ∗this is an image extension.<br />

Reimplemented in <strong>CCfits</strong>::Table.<br />

24.12.3.4 const map< string, Column ∗ > & <strong>CCfits</strong>::ExtHDU::column ( ) const<br />

[virtual]<br />

return a reference to the array containing the columns.<br />

Exceptions<br />

WrongExtensionType thrown if ∗this is an image extension.<br />

Reimplemented in <strong>CCfits</strong>::Table.<br />

24.12.3.5 void <strong>CCfits</strong>::ExtHDU::deleteColumn ( const String & columnName ) [virtual]<br />

delete a column in a Table extension by name.<br />

Parameters<br />

column-<br />

Name<br />

The name of the column to be deleted.<br />

Exceptions<br />

WrongExtensionType if extension is an image.<br />

Reimplemented in <strong>CCfits</strong>::Table.<br />

24.12.3.6 long <strong>CCfits</strong>::ExtHDU::getRowsize ( ) const [virtual]<br />

return the optimal number of rows to read or write at a time<br />

A wrapper for the CFITSIO function fits_get_rowsize, useful for obtaining maximum<br />

I/O efficiency. This will throw if it is not called for a Table extension.<br />

Reimplemented in <strong>CCfits</strong>::Table.<br />

24.12.3.7 bool <strong>CCfits</strong>::ExtHDU::isCompressed ( ) const<br />

return true if image is stored using compression.<br />

This is simply a wrapper around the CFITSIO fits_is_compressed_image function. It<br />

will throw if this is not an Image extension.<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!