MCS  0.3.3-alpha7
mcs::FITSReader Class Reference

Read a FITS file. More...

#include <mcs.hh>

+ Inheritance diagram for mcs::FITSReader:

Public Member Functions

void close ()
 
int currentHDU ()
 
bool ffile_is_compressed (string fn)
 
int HDUCount ()
 
void open (Buffer &buf)
 
void open (string fn)
 
void read_json_header (const string &json_string)
 
void selectHDU (int hdunum)
 
void selectHDU (string name, int extver=0)
 
bool selectNextHDU ()
 
- Public Member Functions inherited from mcs::RecordSet
bool alwaysSameStructure ()
 
void dump (string fn)
 
bool eof ()
 
void insert (Record *rec)
 Insert a new record in the set. More...
 
void insert (Record &rec)
 Copy a new record in the set. More...
 
bool know_nRows ()
 
Recordmetarec ()
 
int nFields ()
 Returns number of fields. More...
 
unsigned int nRows ()
 
RecordSetoperator= (const RecordSet &)
 Declared to avoid using of default assignment operator. More...
 
unsigned int pos ()
 
RecordprepRecToSend ()
 
Recordrec ()
 
 RecordSet (const RecordSet &)
 Declared to avoid using of default copy constructor. More...
 
 RecordSet ()
 Build an empty record set. More...
 
void setFieldMap (string s="")
 Set up a field map for each record in the recordset. More...
 
bool setFirst ()
 Set the record pointer to the first position. More...
 
bool setLast ()
 Set the record pointer to the last position. More...
 
bool setNext ()
 Set the record pointer to the next position. More...
 
bool setPos (unsigned int i)
 Set the record pointer to the i-th position. More...
 
bool setPrev ()
 Set the record pointer to the previous position in the set. More...
 
bool setWhere (int i, string equalTo)
 Set the record pointer to the position which satisfies a string condition. More...
 
bool setWhere (int field, int equalTo)
 Set the record pointer to the position which satisfies an integer condition. More...
 
virtual ~RecordSet ()
 Destructor. More...
 

Public Attributes

Record header
 
Record header_comments
 

Private Member Functions

bool fetch (unsigned int newpos, bool random)
 

Private Attributes

void * fptr
 
bool local
 
Buffer memfile
 
void * memfilep
 
size_t memfilesize
 
int ncols
 
int nhdu
 
long int nrows
 

Additional Inherited Members

- Protected Member Functions inherited from mcs::RecordSet
virtual void hk_dump (string fn)
 Virtual method to provide dump facility to a file. More...
 
void init (unsigned char code, unsigned int nrows=0, Record *meta=NULL, short int id=0)
 Initailize the Record set. More...
 
void startFetch ()
 Must be called when record fetching is possible. More...
 

Detailed Description

Read a FITS file.

The documentation for this class has yet to be written.

Definition at line 7867 of file mcs.hh.


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

mcslogo

MCS (My Customizable Server) ver. 0.3.3-alpha7
Documentation generated on Mon May 28 07:39:41 UTC 2018