13 #include "HDUCreator.h"
136 virtual void readData (
bool readFlag =
false,
const std::vector<String>& keys = std::vector<String>());
137 virtual void addColumn (
ValueType type,
const String& columnName,
long repeatWidth,
const String& colUnit = String(
""),
long decimals = 0,
size_t columnNumber = 0);
144 BinTable (
FITS* p,
const String &hduName = String(
""),
bool readFlag =
false,
const std::vector<String>& keys = std::vector<String>(),
int version = 1);
145 BinTable (
FITS* p,
const String &hduName,
int rows,
const std::vector<String>& columnName = std::vector<String>(),
const std::vector<String>& columnFmt = std::vector<String>(),
const std::vector<String>& columnUnit = std::vector<String>(),
int version = 1);
157 virtual void readTableHeader (
int ncols, std::vector<String>& colName, std::vector<String>& colFmt, std::vector<String>& colUnit);
158 void readVariableColumns (
const std::vector<String> &varColumns);
164 friend class HDUCreator;
Class Representing Binary Table Extensions. Contains columns with scalar or vector row entries.
Definition: BinTable.h:131
~BinTable()
destructor.
Definition: BinTable.cxx:78
virtual void addColumn(ValueType type, const String &columnName, long repeatWidth, const String &colUnit=String(""), long decimals=0, size_t columnNumber=0)
add a new column to an existing table HDU.
Definition: BinTable.cxx:309
virtual void readData(bool readFlag=false, const std::vector< String > &keys=std::vector< String >())
read columns and keys specified in the input array.
Definition: BinTable.cxx:134
virtual BinTable * clone(FITS *p) const
virtual copy constructor
Definition: BinTable.cxx:127
int version() const
return the extension version number.
Definition: ExtHDU.h:677
Memory object representation of a disk FITS file.
Definition: FITS.h:629
virtual long rows() const
return the number of rows in the table (NAXIS2).
Definition: Table.h:381
Namespace enclosing all CCfits classes and globals definitions.
Definition: AsciiTable.cxx:26
ValueType
CCfits value types and their CFITSIO equivalents (in caps)
Definition: CCfits.h:81