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.40 <strong>CCfits</strong>::Table Class Reference 135<br />
24.40.2 Constructor & Destructor Documentation<br />
24.40.2.1 <strong>CCfits</strong>::Table::Table ( FITSBase ∗ p, HduType xtype, const String & hduName,<br />
int rows, const std::vector< String > & columnName, const std::vector<<br />
String > & columnFmt, const std::vector< String > & columnUnit =<br />
std::vector(), int version = 1 ) [protected]<br />
Constructor to be used for creating new HDUs.<br />
Parameters<br />
p The FITS file in which to place the new HDU<br />
xtype An HduType enumerator defined in <strong>CCfits</strong>.h for type of table (AsciiTbl<br />
or BinaryTbl)<br />
hduName The name of this HDU extension<br />
rows The number of rows in the new HDU (the value of the NAXIS2 keyword).<br />
column- a vector of names for the columns.<br />
Name<br />
columnFmt the format strings for the columns<br />
columnUnit the units for the columns.<br />
version a version number<br />
24.40.2.2 <strong>CCfits</strong>::Table::Table ( FITSBase ∗ p, HduType xtype, int number )<br />
[protected]<br />
Table constructor for getting Tables by number.<br />
Necessary since EXTNAME is a reserved not required keyword, and users may thus<br />
read FITS files without an extension name. Since an HDU is completely specified by<br />
extension number, this is part of the public interface.<br />
24.40.3 Member Function Documentation<br />
24.40.3.1 Column & <strong>CCfits</strong>::Table::column ( const String & colName, bool caseSensitive =<br />
true ) const [virtual]<br />
return a reference to a Table column specified by name.<br />
If the caseSensitive parameter is set to false, the search will be case-insensitive. The<br />
overridden base class implementation ExtHDU::column throws an exception, which is<br />
thus the action to be taken if self is an image extension<br />
Exceptions<br />
WrongExtensionType see above<br />
Generated on Tue Dec 6 2011 16:12:51 for <strong>CCfits</strong> by Doxygen