27.01.2015 Views

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

CCfits - HEASARC - NASA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

24.40 <strong>CCfits</strong>::Table Class Reference 137<br />

24.40.3.6 void <strong>CCfits</strong>::Table::deleteRows ( long first, long number = 1 )<br />

delete a range of rows in a table.<br />

In both this and the overloaded version which allows a selection of rows to be deleted,<br />

the cfitsio library is called first to perform the operation on the disk file, and then the<br />

FITS object is updated.<br />

Parameters<br />

first the start row of the range<br />

number the number of rows to delete; defaults to 1.<br />

Exceptions<br />

FitsError thrown if the cfitsio call fails to return without error.<br />

24.40.3.7 void <strong>CCfits</strong>::Table::deleteRows ( const std::vector< long > & rowlist )<br />

delete a set of rows in the table specified by an input array.<br />

Parameters<br />

rowlist The vector of row numbers to be deleted.<br />

Exceptions<br />

FitsError thrown if the underlying cfitsio call fails to return without error.<br />

24.40.3.8 long <strong>CCfits</strong>::Table::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 from <strong>CCfits</strong>::ExtHDU.<br />

24.40.3.9 void <strong>CCfits</strong>::Table::init ( bool readFlag = false, const std::vector< String > & keys<br />

= std::vector() ) [protected]<br />

"Late Constructor." wrap-up of calls needed to construct a table. Reads header information<br />

and sets up the array of column objects in the table.<br />

Protected function, provided to allow the implementation of extensions of the library.<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!