27 #ifndef GFITSTABLECFLOATCOL_HPP
28 #define GFITSTABLECFLOATCOL_HPP
59 virtual void clear(
void);
61 virtual std::string
classname(
void)
const;
62 virtual std::string
string(
const int& row,
const int& col = 0)
const;
63 virtual double real(
const int& row,
const int& col = 0)
const;
64 virtual int integer(
const int& row,
const int& col = 0)
const;
65 virtual void insert(
const int& row,
const int& nrows);
66 virtual void remove(
const int& row,
const int&
nrows);
87 virtual void*
ptr_data(
const int& index = 0);
105 return (
"GFitsTableCFloatCol");
virtual void insert(const int &row, const int &nrows)
Insert rows in column.
const std::string & name(void) const
Returns column name.
virtual void alloc_data(void)
Allocates column data.
virtual void init_data(void)
Initialise column data.
FITS file class interface definition.
virtual void release_data(void)
Release column data.
GFits::cfloat * data(void)
Returns pointer to column data.
virtual double real(const int &row, const int &col=0) const
Get double precision value (real part)
FITS table column abstract base class definition.
GFits::cfloat & operator()(const int &row, const int &inx=0)
Column data access operator.
virtual int integer(const int &row, const int &col=0) const
Get integer value (real part)
virtual std::string classname(void) const
Return class name.
const int & number(void) const
Returns number of elements in column.
virtual void fetch_data(void) const
Fetch column data.
void copy_members(const GFitsTableCFloatCol &column)
Copy class members.
virtual ~GFitsTableCFloatCol(void)
Destructor.
void alloc_nulval(const GFits::cfloat *value)
Allocates null value.
virtual void clear(void)
Clear instance.
Abstract interface for FITS table column.
virtual std::string ascii_format(void) const
Returns format string of ASCII table.
virtual std::string string(const int &row, const int &col=0) const
Get string value.
virtual void * ptr_nulval(void)
Returns void pointer to nul value.
GFitsTableCFloatCol(void)
Constructor.
virtual GFitsTableCFloatCol * clone(void) const
Clone column.
GFits::cfloat * m_data
Data vector.
virtual bool is_loaded(void) const
Checks if column has been loaded.
GFitsTableCFloatCol & operator=(const GFitsTableCFloatCol &column)
Assignment operator.
GFits::cfloat * m_nulval
NULL value.
virtual void * ptr_data(const int &index=0)
Returns void pointer to column data.
virtual void resize_data(const int &index, const int &number)
Resize column data.
GFits::cfloat * nulval(void)
Returns pointer to nul value.
const int & nrows(void) const
Returns number of rows in column.
FITS table float complex column.
void free_members(void)
Delete class members.
void init_members(void)
Initialise class members.