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.3 <strong>CCfits</strong>::Column Class Reference 53<br />

• template<br />

void write (const std::vector< S > &indata, const std::vector< long > &vector-<br />

Lengths, long firstRow)<br />

write a vector of values into a column with specified number of entries written per<br />

row.<br />

• template<br />

void write (S ∗indata, long nElements, const std::vector< long > &vectorLengths,<br />

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 />

• template<br />

void writeArrays (const std::vector< std::valarray< S > > &indata, long first-<br />

Row)<br />

write a vector of valarray objects to the column, starting at row firstRow >= 1<br />

• template<br />

void writeArrays (const std::vector< std::valarray< S > > &indata, long first-<br />

Row, S ∗nullValue)<br />

write a vector of valarray objects to the column, starting at row firstRow >= 1, processing<br />

undefined values<br />

• double zero () const<br />

get TZEROn value<br />

Protected Member Functions<br />

• Column (int columnIndex, const String &columnName, ValueType type, const<br />

String &format, const String &unit, Table ∗p, int rpt=1, long w=1, const String<br />

&comment="")<br />

new column creation constructor<br />

• Column (Table ∗p=0)<br />

Simple constructor to be called by subclass reading ctors.<br />

• const String & comment () const<br />

retrieve comment for Column<br />

• fitsfile ∗ fitsPointer ()<br />

fits pointer corresponding to fits file containing column data.<br />

• void makeHDUCurrent ()<br />

make HDU containing this the current HDU of the fits file.<br />

• virtual std::ostream & put (std::ostream &s) const<br />

internal implementation of

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!