CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
CCfits - HEASARC - NASA
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
24.3 <strong>CCfits</strong>::Column Class Reference 62<br />
24.3.3.29 template void <strong>CCfits</strong>::Column::write ( const std::valarray< S > &<br />
indata, const std::vector< long > & vectorLengths, long firstRow )<br />
write a valarray of values into a column with specified number of entries written per<br />
row.<br />
Data are written into vectorLengths.size() rows, with vectorLength[n] elements written<br />
to row n+firstRow -1. Although primarily intended for wrapping calls to multiple<br />
variable-width vector column rows, it may also be used to write a variable number of<br />
elements to fixed-width column rows.<br />
When writing to fixed-width column rows, if the number of elements sent to a particular<br />
row are fewer than the column’s repeat value, the remaining elements in the row will<br />
not be modified.<br />
Since cfitsio does not support null value processing for variable width columns this<br />
function and its variants do not have version which process undefined values<br />
Parameters<br />
indata The data to be written<br />
vector- the number of elements to write to each successive row.<br />
Lengths<br />
firstRow the first row to be written.<br />
24.3.3.30 template void <strong>CCfits</strong>::Column::write ( const std::vector< S > &<br />
indata, const std::vector< long > & vectorLengths, long firstRow )<br />
write a vector of values into a column with specified number of entries written per row.<br />
Intended for writing a varying number of elements to multiple rows in a vector column,<br />
this may be used for either variable or fixed-width columns. See the indata valarray<br />
version of this function for a complete description.<br />
24.3.3.31 template void <strong>CCfits</strong>::Column::write ( S ∗ indata, long nElements,<br />
const std::vector< long > & vectorLengths, long firstRow )<br />
write a C-array of values of size nElements into a vector column with specified number<br />
of entries written per row.<br />
Intended for writing a varying number of elements to multiple rows in a vector column,<br />
this may be used for either variable or fixed-width columns. See the indata valarray<br />
version of this function for a complete description.<br />
24.3.3.32 template void <strong>CCfits</strong>::Column::writeArrays ( const std::vector<<br />
std::valarray< S > > & indata, long firstRow )<br />
write a vector of valarray objects to the column, starting at row firstRow >= 1<br />
Intended for writing a varying number of elements to multiple rows in a vector column,<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen