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