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