#include "ObitIOTableFITS.h"
#include "ObitFITS.h"
#include "ObitMem.h"
#include "ObitFile.h"
#include <errno.h>
Functions | |
| void | ObitIOTableFITSInit (gpointer in) |
| Private: Initialize newly instantiated object. | |
| void | ObitIOTableFITSClear (gpointer in) |
| Private: Deallocate members. | |
| void | ObitIOTableKeysOtherRead (ObitIOTableFITS *in, gint *status, ObitErr *err) |
| Private: Copy other header keywords. | |
| void | ObitIOTableFITSFixBug (gchar *out, gchar *in, glong maxn) |
| Private: Fix bug in cfitsio keyword parsing. | |
| ObitIOTableFITS * | newObitIOTableFITS (gchar *name, ObitInfoList *info, ObitErr *err) |
| Public: Constructor. | |
| gconstpointer | ObitIOTableFITSGetClass (void) |
| Public: ClassInfo pointer. | |
| gboolean | ObitIOTableFITSSame (ObitIO *in, ObitInfoList *in1, ObitInfoList *in2, ObitErr *err) |
| Public: Are underlying structures the same. | |
| void | ObitIOTableFITSZap (ObitIOTableFITS *in, ObitErr *err) |
| Public: Delete underlying structures. | |
| gconstpointer | ObitGetIOTableFITSClass (void) |
| Returns ClassInfo pointer for the class. | |
| ObitIOTableFITS * | ObitIOTableFITSCopy (ObitIOTableFITS *in, ObitIOTableFITS *out, ObitErr *err) |
| Public: Copy constructor. | |
| ObitIOCode | ObitIOTableFITSOpen (ObitIOTableFITS *in, ObitIOAccess access, ObitInfoList *info, ObitErr *err) |
| Public: Open. | |
| ObitIOCode | ObitIOTableFITSClose (ObitIOTableFITS *in, ObitErr *err) |
| Public: Close. | |
| ObitIOCode | ObitIOTableFITSSet (ObitIOTableFITS *in, ObitInfoList *info, ObitErr *err) |
| Public: Init I/O. | |
| ObitIOCode | ObitIOTableFITSReadRow (ObitIOTableFITS *in, glong rowno, gfloat *data, ObitErr *err) |
| Public: Read specifying start row. | |
| ObitIOCode | ObitIOTableFITSRead (ObitIOTableFITS *in, gfloat *data, ObitErr *err) |
| Public: Read. | |
| ObitIOCode | ObitIOTableFITSReadRowSelect (ObitIOTableFITS *in, glong rowno, gfloat *data, ObitErr *err) |
| Read table data from disk applying selection and specifying start row. | |
| ObitIOCode | ObitIOTableFITSReadSelect (ObitIOTableFITS *in, gfloat *data, ObitErr *err) |
| Read table data from disk applying selection. | |
| ObitIOCode | ObitIOTableFITSWriteRow (ObitIOTableFITS *in, long rowno, gfloat *data, ObitErr *err) |
| Write information to disk specifying starting row. | |
| ObitIOCode | ObitIOTableFITSWrite (ObitIOTableFITS *in, gfloat *data, ObitErr *err) |
| Public: Write. | |
| ObitIOCode | ObitIOTableFITSReadDescriptor (ObitIOTableFITS *in, ObitErr *err) |
| Public: Read Descriptor. | |
| ObitIOCode | ObitIOTableFITSWriteDescriptor (ObitIOTableFITS *in, ObitErr *err) |
| Public: Write Descriptor. | |
| ObitIOCode | ObitIOTableFITSFlush (ObitIOTableFITS *in, ObitErr *err) |
| Public: Flush. | |
| void | ObitIOTableFITSCreateBuffer (gfloat **data, glong *size, ObitIOTableFITS *in, ObitInfoList *info, ObitErr *err) |
| Public: Create buffer. | |
| void | ObitIOTableFITSClassInit (void) |
| Public: Class initializer. | |
This class is derived from the ObitIO class.
|
||||||||||||||||
|
Public: Constructor. Initializes class on the first call.
|
|
|
Returns ClassInfo pointer for the class. Initializes class if needed on first call.
|
|
|
Public: Class initializer.
|
|
|
Private: Deallocate members. Does (recursive) deallocation of parent class members.
|
|
||||||||||||
|
Public: Close.
|
|
||||||||||||||||
|
Public: Copy constructor. The result will have pointers to the more complex members. Parent class members are included but any derived class info is ignored.
|
|
||||||||||||||||||||||||
|
Public: Create buffer. Should be called after ObitIO is opened.
|
|
||||||||||||||||
|
Private: Fix bug in cfitsio keyword parsing. This routine blank fills out and null terminates at out[maxn-1].
|
|
||||||||||||
|
Public: Flush.
|
|
|
Public: ClassInfo pointer. Initializes class if needed on first call.
|
|
|
Private: Initialize newly instantiated object. for each parent class.
|
|
||||||||||||||||||||
|
Public: Open. The file etc. info should have been stored in the ObitInfoList. The table descriptor is read if ReadOnly or ReadOnly and written to disk if opened WriteOnly. For accessing FITS files the following entries in the ObitInfoList are used:
|
|
||||||||||||||||
|
Public: Read. When OBIT_IO_EOF is returned all data has been read (then is no new data in buffer) and the I/O has been closed. If there are existing rows in the buffer marked as modified ("_status" column value =1) the buffer is rewritten to disk before the new buffer is read.
|
|
||||||||||||
|
Public: Read Descriptor. If the table version number is 0, then the highest numbered table of the same name is used.
|
|
||||||||||||||||||||
|
Public: Read specifying start row. When OBIT_IO_EOF is returned all data has been read (then is no new data in buffer) and the I/O has been closed. If there are existing rows in the buffer marked as modified ("_status" column value =1) the buffer is rewritten to disk before the new buffer is read.
|
|
||||||||||||||||||||
|
Read table data from disk applying selection and specifying start row. When OBIT_IO_EOF is returned all data has been read (then is no new data in data) and the I/O has been closed. If there are existing rows in the buffer marked as modified ("_status" column value =1) the buffer is rewritten to disk before the new buffer is read.
|
|
||||||||||||||||
|
Read table data from disk applying selection. When OBIT_IO_EOF is returned all data has been read (then is no new data in data) and the I/O has been closed. If there are existing rows in the buffer marked as modified ("_status" column value =1) the buffer is rewritten to disk before the new buffer is read.
|
|
||||||||||||||||||||
|
Public: Are underlying structures the same. This test is done using values entered into the ObitInfoList in case the object has not yet been opened.
|
|
||||||||||||||||
|
Public: Init I/O.
|
|
||||||||||||||||
|
Public: Write. When OBIT_IO_EOF is returned the data has been written, data in data is ignored and the I/O is closed.
|
|
||||||||||||
|
Public: Write Descriptor. If the table version number is 0, then the highest numbered table of the same name +1 is used.
|
|
||||||||||||||||||||
|
Write information to disk specifying starting row. When OBIT_IO_EOF is returned the data has been written, data in data is ignored and the I/O is closed.
|
|
||||||||||||
|
Public: Delete underlying structures.
|
|
||||||||||||||||
|
Private: Copy other header keywords.
|
1.3.9.1