#include "ObitData.h"
#include "ObitSystem.h"
#include "ObitMem.h"
#include "ObitIOHistoryAIPS.h"
#include "ObitImage.h"
#include "ObitIOTableAIPSUtil.h"
#include "ObitIOTableFITSUtil.h"
Defines | |
| #define | ObitGenericData(in) in->ClassInfo==ObitDataGetClass() |
| Macro to determine if an object is a generic ObitData Returns TRUE if a member, else FALSE in = object to reference. | |
Functions | |
| void | ObitDataInit (gpointer in) |
| Private: Initialize newly instantiated object. | |
| void | ObitDataClear (gpointer in) |
| Private: Deallocate members. | |
| ObitData * | newObitData (gchar *name) |
| Public: Constructor. | |
| ObitData * | newObitDataScratch (ObitData *in, ObitErr *err) |
| Public: Copy Constructor for scratch file. | |
| gconstpointer | ObitDataGetClass (void) |
| Public: ClassInfo pointer. | |
| gboolean | ObitDataSame (ObitData *in1, ObitData *in2, ObitErr *err) |
| Public: Do two ObitDatas have the same underlying structures?. | |
| ObitData * | ObitDataZap (ObitData *in, ObitErr *err) |
| Public: Delete underlying structures. | |
| void | ObitDataRename (ObitData *in, ObitErr *err) |
| Public: Rename underlying structures. | |
| ObitData * | ObitDataCopy (ObitData *in, ObitData *out, ObitErr *err) |
| Public: Copy (deep) constructor. | |
| void | ObitDataClone (ObitData *in, ObitData *out, ObitErr *err) |
| Public: Copy structure. | |
| ObitIOCode | ObitDataOpen (ObitData *in, ObitIOAccess access, ObitErr *err) |
| Public: Create ObitIO structures and open file. | |
| ObitIOCode | ObitDataClose (ObitData *in, ObitErr *err) |
| Public: Close file and become inactive. | |
| void | ObitDataFullInstantiate (ObitData *in, gboolean exist, ObitErr *err) |
| Public: Fully instantiate. | |
| ObitTable * | newObitDataTable (ObitData *in, ObitIOAccess access, gchar *tabType, glong *tabVer, ObitErr *err) |
| Public: Return an associated Table. | |
| ObitIOCode | ObitDataZapTable (ObitData *in, gchar *tabType, glong tabVer, ObitErr *err) |
| Public: Destroy an associated Table. | |
| ObitHistory * | newObitDataHistory (ObitData *in, ObitIOAccess access, ObitErr *err) |
| Public: Return an associated History. | |
| ObitIOCode | ObitDataCopyTables (ObitData *in, ObitData *out, gchar **exclude, gchar **include, ObitErr *err) |
| Public: Copy associated Tables. | |
| ObitIOCode | ObitDataUpdateTables (ObitData *in, ObitErr *err) |
| Public: Update disk resident tables information. | |
| void | ObitDataCopyTable (ObitData *in, ObitData *out, gchar *tabType, glong *inver, glong *outver, ObitErr *err) |
| Public: Copy a given table from one ObitData to another. | |
| ObitIOCode | ObitDataIOSet (ObitData *in, ObitErr *err) |
| Public: Reset IO to start of file. | |
| void | ObitDataSetupIO (ObitData *in, ObitErr *err) |
| Public: Assign/Initialize IO member. | |
| void | ObitDataWriteKeyword (ObitData *in, gchar *name, ObitInfoType type, gint32 *dim, gconstpointer data, ObitErr *err) |
| Public: Write header keyword. | |
| void | ObitDataReadKeyword (ObitData *in, gchar *name, ObitInfoType *type, gint32 *dim, gpointer data, ObitErr *err) |
| Public: Read header keyword. | |
| void | ObitDataClassInit (void) |
| Public: Class initializer. | |
This class is derived from the Obit base class.
|
|
Macro to determine if an object is a generic ObitData Returns TRUE if a member, else FALSE in = object to reference.
|
|
|
Public: Constructor. A generic ObitData object allows access to tables byt not the main data Initializes class if needed on first call.
|
|
||||||||||||||||
|
Public: Return an associated History. If such an object exists, a reference to it is returned, else a new object is created and if access=OBIT_IO_WriteOnly entered in the ObitTableList if appropriate (AIPS)
|
|
||||||||||||
|
Public: Copy Constructor for scratch file. A scratch Data is more or less the same as a normal Data except that it is automatically deleted on the final unreference. The output will have the underlying files of the same type as in already allocated. Virtual - calls actual class member; not supported for Generic ObitData
|
|
||||||||||||||||||||||||
|
Public: Return an associated Table. If such an object exists, a reference to it is returned, else a new object is created and entered in the ObitTableList.
|
|
|
Public: Class initializer.
|
|
|
Private: Deallocate members. Does (recursive) deallocation of parent class members. For some reason this wasn't build into the GType class.
|
|
||||||||||||||||
|
Public: Copy structure. Virtual - calls actual class member; not supported for Generic ObitData
|
|
||||||||||||
|
Public: Close file and become inactive. Virtual - calls actual class member
|
|
||||||||||||||||
|
Public: Copy (deep) constructor. Copies are made of complex members including disk files; these will be copied applying whatever selection is associated with the input. Objects should be closed on input and will be closed on output. In order for the disk file structures to be copied, the output file must be sufficiently defined that it can be written. The copy will be attempted but no errors will be logged until both input and output have been successfully opened. If the contents of the data are copied, all associated tables are copied first. ObitInfoList and ObitThread members are only copied if the output object didn't previously exist. Parent class members are included but any derived class info is ignored. Virtual - calls actual class member; not supported for Generic ObitData
|
|
||||||||||||||||||||||||||||
|
Public: Copy a given table from one ObitData to another. Any previous data in the output table will be lost. |
|
||||||||||||||||||||||||
|
Public: Copy associated Tables.
|
|
||||||||||||||||
|
Public: Fully instantiate. If object has previously been opened, as demonstrated by the existance of its myIO member, this operation is a no-op. Virtual - calls actual class member; not supported for Generic ObitData
|
|
|
Public: ClassInfo pointer.
|
|
|
Private: Initialize newly instantiated object. Parent classes portions are (recursively) initialized first
|
|
||||||||||||
|
Public: Reset IO to start of file.
|
|
||||||||||||||||
|
Public: Create ObitIO structures and open file. Virtual - calls actual class member Reads table list if in generic ObitData Object
|
|
||||||||||||||||||||||||||||
|
Public: Read header keyword.
|
|
||||||||||||
|
Public: Rename underlying structures. New name information depends on the underlying file type and is given on the info member. Not supported for Generic ObitData For FITS files:
|
|
||||||||||||||||
|
Public: Do two ObitDatas have the same underlying structures?. This test is done using values entered into the ObitInfoList in case the object has not yet been opened. Not supported for Generic ObitData
|
|
||||||||||||
|
Public: Assign/Initialize IO member. This is the principle place where the underlying file type is known. Virtual - calls actual class member; not supported for Generic ObitData
|
|
||||||||||||
|
Public: Update disk resident tables information.
|
|
||||||||||||||||||||||||||||
|
Public: Write header keyword.
|
|
||||||||||||
|
Public: Delete underlying structures. Virtual - calls actual class member; not supported for Generic ObitData
|
|
||||||||||||||||||||
|
Public: Destroy an associated Table. The table is removed from the ObitTableList but it is not updated. A call to ObitDataUpdateTables to update disk structures.
|
1.3.9.1