Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Arroyo::fits_header_data< T > Class Template Reference

#include <fits_header_data.h>

List of all members.

Public Member Functions

 fits_header_data ()
 fits_header_data (const iofits &iof)
 fits_header_data (const fits_header_data &fhd)
 fits_header_data (const vector< long > &in_axes, const vector< string > &in_axes_comment=vector< string >())
virtual ~fits_header_data ()
fits_header_dataoperator= (const fits_header_data &fhd)
void read (const iofits &iof)
void write (iofits &iof) const
virtual void print (ostream &os, const char *prefix="") const
vector< long > get_axes () const
void print_axes (ostream &os) const
virtual void set_axes (const vector< long > &in_axes, const vector< long > &in_axes_comment=vector< long >(0))
long total_space () const

Protected Attributes

string bitpix_comment
 The bitpix comment.
string naxis_comment
 The naxis comment.
vector< long > axes
 The axes.
vector< string > axes_comment
 The axes comments.

Friends

template<class U, class V>
bool operator== (const fits_header_data< U > &fhd1, const fits_header_data< V > &fhd2)


Detailed Description

template<class T>
class Arroyo::fits_header_data< T >

A class to hold mandatory fits header data


Constructor & Destructor Documentation

template<class T>
Arroyo::fits_header_data< T >::fits_header_data  ) 
 

Null constructor

template<class T>
Arroyo::fits_header_data< T >::fits_header_data const iofits iof  ) 
 

Construct from iofits object

template<class T>
Arroyo::fits_header_data< T >::fits_header_data const fits_header_data< T > &  fhd  )  [inline]
 

Copy constructor

template<class T>
Arroyo::fits_header_data< T >::fits_header_data const vector< long > &  in_axes,
const vector< string > &  in_axes_comment = vector< string >()
 

Construct from the bits

template<class T>
virtual Arroyo::fits_header_data< T >::~fits_header_data  )  [inline, virtual]
 

Trivial destructor


Member Function Documentation

template<class T>
vector<long> Arroyo::fits_header_data< T >::get_axes void   )  const [inline]
 

Function to get the axes

template<class T>
fits_header_data< T > & Arroyo::fits_header_data< T >::operator= const fits_header_data< T > &  fhd  ) 
 

Operator=

template<class T>
void Arroyo::fits_header_data< T >::print ostream &  os,
const char *  prefix = ""
const [virtual]
 

Print

template<class T>
void Arroyo::fits_header_data< T >::print_axes ostream &  os  )  const
 

Function to print the axes

template<class T>
void Arroyo::fits_header_data< T >::read const iofits iof  ) 
 

Read from iofits object

template<class T>
void Arroyo::fits_header_data< T >::set_axes const vector< long > &  in_axes,
const vector< long > &  in_axes_comment = vector< long >(0)
[virtual]
 

Function to set the axes

template<class T>
long Arroyo::fits_header_data< T >::total_space  )  const
 

Function to return the total number of elements

template<class T>
void Arroyo::fits_header_data< T >::write iofits iof  )  const
 

Write to iofits object


Friends And Related Function Documentation

template<class T>
template<class U, class V>
bool operator== const fits_header_data< U > &  fhd1,
const fits_header_data< V > &  fhd2
[friend]
 

Operator == for fits_header_data


Member Data Documentation

template<class T>
vector<long> Arroyo::fits_header_data< T >::axes [protected]
 

The axes.

template<class T>
vector<string> Arroyo::fits_header_data< T >::axes_comment [protected]
 

The axes comments.

template<class T>
string Arroyo::fits_header_data< T >::bitpix_comment [protected]
 

The bitpix comment.

template<class T>
string Arroyo::fits_header_data< T >::naxis_comment [protected]
 

The naxis comment.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 17:16:34 2007 for arroyo by  doxygen 1.3.9.1