casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
casa::FitsField< FitsBit > Class Template Reference

helper class More...

#include <hdu.h>

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

List of all members.

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 &)

Protected Member Functions

void setaddr (void **addr)

Protected Attributes

FitsBit ** field
unsigned char mask
int byte_offset

Detailed Description

template<>
class casa::FitsField< FitsBit >

helper class

Template Type Argument Requirements


Caution: Bit fields require special treatment

Definition at line 924 of file hdu.h.


Constructor & Destructor Documentation

casa::FitsField< FitsBit >::FitsField ( int  n = 1)

Member Function Documentation

void* casa::FitsField< FitsBit >::data ( ) [virtual]

Implements casa::FitsBase.

int casa::FitsField< FitsBit >::fitsfieldsize ( ) const [virtual]

Implements casa::FitsBase.

int casa::FitsField< FitsBit >::localfieldsize ( ) const [virtual]

Implements casa::FitsBase.

casa::FitsField< FitsBit >::operator int ( ) [inline]

Definition at line 943 of file hdu.h.

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

FitsField<FitsBit>& casa::FitsField< FitsBit >::operator() ( ) [inline]

Definition at line 929 of file hdu.h.

References casa::mask().

FitsField<FitsBit>& casa::FitsField< FitsBit >::operator() ( unsigned  i) [inline]

Definition at line 932 of file hdu.h.

References casa::mask().

FitsField<FitsBit>& casa::FitsField< FitsBit >::operator= ( unsigned  i) [inline]

Definition at line 935 of file hdu.h.

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

void casa::FitsField< FitsBit >::setaddr ( void **  addr) [protected, virtual]

Implements casa::FitsBase.

void casa::FitsField< FitsBit >::show ( std::ostream &  ) [virtual]

Implements casa::FitsBase.


Member Data Documentation

int casa::FitsField< FitsBit >::byte_offset [protected]

Definition at line 952 of file hdu.h.

FitsBit** casa::FitsField< FitsBit >::field [protected]

Definition at line 950 of file hdu.h.

unsigned char casa::FitsField< FitsBit >::mask [protected]

Definition at line 951 of file hdu.h.


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