casa  5.7.0-16
 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< TYPE > Class Template Reference

helper class
Note: Note that FitsField does not allocate space for the data; Space is external to FitsField and its address is set via the setaddr function;
More...

#include <hdu.h>

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

Public Member Functions

 FitsField (int n=1)
 
 ~FitsField ()
 
TYPE & operator() ()
 
TYPE & operator() (int i)
 
FitsField< TYPE > & operator= (const TYPE &x)
 
int fitsfieldsize () const
 
int localfieldsize () const
 
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 &)
 

Protected Member Functions

void setaddr (void **addr)
 

Protected Attributes

TYPE ** field
 
- 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 TYPE>
class casacore::FitsField< TYPE >

helper class
Note: Note that FitsField does not allocate space for the data; Space is external to FitsField and its address is set via the setaddr function;

Definition at line 882 of file hdu.h.

Constructor & Destructor Documentation

template<class TYPE>
casacore::FitsField< TYPE >::FitsField ( int  n = 1)
inline

Definition at line 884 of file hdu.h.

template<class TYPE>
casacore::FitsField< TYPE >::~FitsField ( )

Member Function Documentation

template<class TYPE>
void* casacore::FitsField< TYPE >::data ( )
virtual

Implements casacore::FitsBase.

template<class TYPE>
int casacore::FitsField< TYPE >::fitsfieldsize ( ) const
virtual

Implements casacore::FitsBase.

template<class TYPE>
int casacore::FitsField< TYPE >::localfieldsize ( ) const
virtual

Implements casacore::FitsBase.

template<class TYPE>
TYPE& casacore::FitsField< TYPE >::operator() ( )
inline

Definition at line 888 of file hdu.h.

template<class TYPE>
TYPE& casacore::FitsField< TYPE >::operator() ( int  i)
inline

Definition at line 889 of file hdu.h.

template<class TYPE>
FitsField<TYPE>& casacore::FitsField< TYPE >::operator= ( const TYPE &  x)
inline

Definition at line 890 of file hdu.h.

template<class TYPE>
void casacore::FitsField< TYPE >::setaddr ( void **  addr)
protectedvirtual

Implements casacore::FitsBase.

template<class TYPE>
void casacore::FitsField< TYPE >::show ( std::ostream &  )
virtual

Implements casacore::FitsBase.

Member Data Documentation

template<class TYPE>
TYPE** casacore::FitsField< TYPE >::field
protected

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