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

Arroyo::fits_keyval_entry Class Reference

#include <fits_factory.h>

List of all members.

Public Member Functions

 fits_keyval_entry (const string &k, const string &v, int hdr_offset=0)
 fits_keyval_entry (const fits_keyval_entry &fkve)
 ~fits_keyval_entry ()
fits_keyval_entryoperator= (const fits_keyval_entry &fkve)
int get_offset () const
string get_key () const
string get_val () const
void print (std::ostream &os) const

Protected Attributes

int header_offset
 The HDU offset.
string key
string val

Friends

bool operator< (const fits_keyval_entry &kve1, const fits_keyval_entry &kve2)
bool operator== (const fits_keyval_entry &f1, const fits_keyval_entry &f2)


Detailed Description

A class to hold a fits keyval pair and an index that holds a relative HDU offset


Constructor & Destructor Documentation

Arroyo::fits_keyval_entry::fits_keyval_entry const string &  k,
const string &  v,
int  hdr_offset = 0
[inline]
 

Construct from the bits

Arroyo::fits_keyval_entry::fits_keyval_entry const fits_keyval_entry fkve  )  [inline]
 

Copy constructor

Arroyo::fits_keyval_entry::~fits_keyval_entry  )  [inline]
 

Destrutor


Member Function Documentation

string Arroyo::fits_keyval_entry::get_key  )  const [inline]
 

Returns key

int Arroyo::fits_keyval_entry::get_offset  )  const [inline]
 

Returns HDU offset

string Arroyo::fits_keyval_entry::get_val  )  const [inline]
 

Returns val

fits_keyval_entry& Arroyo::fits_keyval_entry::operator= const fits_keyval_entry fkve  )  [inline]
 

Operator=

void Arroyo::fits_keyval_entry::print std::ostream &  os  )  const [inline]
 

Print fits keyval header entry


Friends And Related Function Documentation

bool operator< const fits_keyval_entry kve1,
const fits_keyval_entry kve2
[friend]
 

Comparison function to permit sorting

bool operator== const fits_keyval_entry f1,
const fits_keyval_entry f2
[friend]
 

Friend operator ==


Member Data Documentation

int Arroyo::fits_keyval_entry::header_offset [protected]
 

The HDU offset.

string Arroyo::fits_keyval_entry::key [protected]
 

string Arroyo::fits_keyval_entry::val [protected]
 


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