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.14 <strong>CCfits</strong>::FITS Class Reference 93<br />

24.14.3.12 void <strong>CCfits</strong>::FITS::read ( const String & hduName, bool readDataFlag = false,<br />

const std::vector< String > & keys = std::vector(), int<br />

version = 1 )<br />

get data from single HDU from disk file.<br />

This is provided to allow the adding of additional HDUs to the FITS object after construction<br />

of the FITS object. After the read() functions have been called for the FITS<br />

object, subsequent read method to the Primary, ExtHDU, and Column objects will retrieve<br />

data from the FITS object in memory (those methods can be called to read data<br />

in those HDU objects that was not read when the HDU objects were constructed.<br />

All the read functions will throw NoSuchHDU exceptions on seek errors since they<br />

involve constructing HDU objects.<br />

The parameter definitions are as documented for the corresponding constructor.<br />

24.14.3.13 void <strong>CCfits</strong>::FITS::read ( const std::vector< String > & hduNames, bool<br />

readDataFlag = false )<br />

get data from a set of HDUs from disk file.<br />

This is provided to allow reading of HDUs after construction. see above for parameter<br />

definitions.<br />

24.14.3.14 void <strong>CCfits</strong>::FITS::read ( const std::vector< String > & hduNames, const<br />

std::vector< std::vector< String > > & keys, bool readDataFlag = false, const<br />

std::vector< int > & hduVersions = std::vector() )<br />

get data from a set of HDUs from disk file, specifying keys and version numbers.<br />

This is provided to allow reading of HDUs after construction. see above for parameter<br />

definitions.<br />

24.14.3.15 void <strong>CCfits</strong>::FITS::read ( int hduIndex, bool readDataFlag = false, const<br />

std::vector< String > & keys = std::vector() )<br />

read an HDU specified by index number.<br />

This is provided to allow reading of HDUs after construction. see above for parameter<br />

definitions.<br />

24.14.3.16 <strong>CCfits</strong>::FITS::read ( const std::vector< String > & searchKeys, const std::vector<<br />

String > & searchValues, bool readDataFlag = false, const std::vector< String<br />

> & hduKeys = std::vector(), int version = 1 )<br />

read method for read header or HDU that contains specified keywords.<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!