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.3 <strong>CCfits</strong>::Column Class Reference 56<br />
Parameters<br />
nullVal A pointer to the variable for storing the TNULLn value.<br />
24.3.3.6 template void <strong>CCfits</strong>::Column::read ( std::vector< S > & vals, long<br />
first, long last )<br />
Retrieve data from a scalar column into a std::vector.<br />
This and the following functions perform implicit data conversions. An exception will<br />
be thrown if no conversion exists.<br />
Parameters<br />
vals The output container. The function will resize this as necessary<br />
first,last the span of row numbers to read.<br />
24.3.3.7 template void <strong>CCfits</strong>::Column::read ( std::valarray< S > & vals, long<br />
first, long last )<br />
Retrieve data from a scalar column into a std::valarray.<br />
Parameters<br />
vals The output container. The function will resize this as necessary<br />
first,last the span of row numbers to read.<br />
24.3.3.8 template void <strong>CCfits</strong>::Column::read ( std::valarray< S > & vals, long<br />
rows )<br />
return a single row of a vector column into a std::valarray<br />
Parameters<br />
vals The output valarray object<br />
rows The row number to be retrieved (starting at 1).<br />
24.3.3.9 template void <strong>CCfits</strong>::Column::read ( std::vector< S > & vals, long<br />
first, long last, S ∗ nullValue )<br />
Retrieve data from a scalar column into a std::vector>, applying nullValue when relevant.<br />
If both nullValue and ∗nullValue are not 0, then any undefined values in the file will<br />
be converted to ∗nullValue when copied into the vals vector. See cfitsio documentation<br />
for further details<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen