27 #ifndef GFITSIMAGELONG_HPP
28 #define GFITSIMAGELONG_HPP
47 GFitsImageLong(
const int& nx,
const int& ny,
const int& nz,
const int& nt,
const long*
pixels = NULL);
56 long&
operator()(
const int& ix,
const int& iy);
57 long&
operator()(
const int& ix,
const int& iy,
const int& iz);
58 long&
operator()(
const int& ix,
const int& iy,
const int& iz,
const int& it);
60 const long&
operator()(
const int& ix,
const int& iy)
const;
61 const long&
operator()(
const int& ix,
const int& iy,
const int& iz)
const;
62 const long&
operator()(
const int& ix,
const int& iy,
const int& iz,
const int& it)
const;
68 long&
at(
const int& ix);
69 long&
at(
const int& ix,
const int& iy);
70 long&
at(
const int& ix,
const int& iy,
const int& iz);
71 long&
at(
const int& ix,
const int& iy,
const int& iz,
const int& it);
72 const long&
at(
const int& ix)
const;
73 const long&
at(
const int& ix,
const int& iy)
const;
74 const long&
at(
const int& ix,
const int& iy,
const int& iz)
const;
75 const long&
at(
const int& ix,
const int& iy,
const int& iz,
const int& it)
const;
76 double pixel(
const int& ix)
const;
77 double pixel(
const int& ix,
const int& iy)
const;
78 double pixel(
const int& ix,
const int& iy,
const int& iz)
const;
79 double pixel(
const int& ix,
const int& iy,
const int& iz,
const int& it)
const;
111 return (
"GFitsImageLong");
Abstract FITS image base class.
void init_members(void)
Initialise class members.
long * m_nulval
NULL value.
long & at(const int &ix)
Image pixel access operator.
double pixel(const int &ix) const
Return value of image pixel.
long & operator()(const int &ix)
Image pixel access operator.
void copy_members(const GFitsImageLong &image)
Copy class members.
void alloc_data(void)
Allocate data.
GFitsImageLong(void)
Void constructor.
GFitsImageLong & operator=(const GFitsImageLong &image)
Assignment operator.
Abstract FITS image base class definition.
void * pixels(void)
Return pointer to image pixel.
void release_data(void)
Release data.
virtual ~GFitsImageLong(void)
Destructor.
int naxes(const int &axis) const
Return dimension of an image axis.
Long integer FITS image class.
void load_data(void) const
Load data.
void init_data(void)
Initialise data.
std::string classname(void) const
Return class name.
GFitsImageLong * clone(void) const
Clone FITS image.
void construct_data(const long *pixels)
Construct data from array.
int type(void) const
Return image type.
void clear(void)
Clear instance.
void alloc_nulval(const void *value)
Allocates nul value.
void free_members(void)
Delete class members.