casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
casacore::FitsField< FitsBit > Class Template Reference

helper class More...

#include <hdu.h>

Inheritance diagram for casacore::FitsField< FitsBit >:
casacore::FitsBase casacore::FitsArray< FitsBit >

Public Member Functions

 FitsField (int n=1)
 
 ~FitsField ()
 
FitsField< FitsBit > & operator() ()
 
FitsField< FitsBit > & operator() (unsigned i)
 
FitsField< FitsBit > & operator= (unsigned i)
 
int fitsfieldsize () const
 
int localfieldsize () const
 
 operator int ()
 
void * data ()
 
void show (std::ostream &)
 
- Public Member Functions inherited from casacore::FitsBase
 FitsBase (const FITS::ValueType &t, int n)
 
virtual ~FitsBase ()
 
unsigned int nelements () const
 
virtual int dims () const
 
virtual int dim (int n) const
 
virtual int * vdim ()
 
FITS::ValueType fieldtype () const
 
FitsBaseoperator= (FitsBase &)=delete
 

Protected Member Functions

void setaddr (void **addr)
 

Protected Attributes

FitsBit ** field
 
unsigned char mask
 
int byte_offset
 
- Protected Attributes inherited from casacore::FitsBase
int no_elements
 
FITS::ValueType data_type
 

Additional Inherited Members

- Static Public Member Functions inherited from casacore::FitsBase
static FitsBasemake (const FITS::ValueType &, int=1)
 
static FitsBasemake (const FITS::ValueType &, int, int *)
 
static FitsBasemake (FitsBase &)
 

Detailed Description

template<>
class casacore::FitsField< FitsBit >

helper class

Template Type Argument Requirements


Caution: Bit fields require special treatment

Definition at line 925 of file hdu.h.

Constructor & Destructor Documentation

Member Function Documentation

void* casacore::FitsField< FitsBit >::data ( )
virtual

Implements casacore::FitsBase.

int casacore::FitsField< FitsBit >::fitsfieldsize ( ) const
virtual

Implements casacore::FitsBase.

int casacore::FitsField< FitsBit >::localfieldsize ( ) const
virtual

Implements casacore::FitsBase.

casacore::FitsField< FitsBit >::operator int ( )
inline

Definition at line 944 of file hdu.h.

References casacore::FitsField< TYPE >::field, and casacore::mask().

FitsField<FitsBit>& casacore::FitsField< FitsBit >::operator() ( )
inline

Definition at line 930 of file hdu.h.

References casacore::mask().

FitsField<FitsBit>& casacore::FitsField< FitsBit >::operator() ( unsigned  i)
inline

Definition at line 933 of file hdu.h.

References casacore::mask().

FitsField<FitsBit>& casacore::FitsField< FitsBit >::operator= ( unsigned  i)
inline

Definition at line 936 of file hdu.h.

References casacore::FitsField< TYPE >::field, and casacore::mask().

void casacore::FitsField< FitsBit >::setaddr ( void **  addr)
protectedvirtual

Implements casacore::FitsBase.

void casacore::FitsField< FitsBit >::show ( std::ostream &  )
virtual

Implements casacore::FitsBase.

Member Data Documentation

int casacore::FitsField< FitsBit >::byte_offset
protected

Definition at line 953 of file hdu.h.

FitsBit** casacore::FitsField< FitsBit >::field
protected

Definition at line 951 of file hdu.h.

unsigned char casacore::FitsField< FitsBit >::mask
protected

Definition at line 952 of file hdu.h.


The documentation for this class was generated from the following file: