#include "Obit.h"
#include "ObitIO.h"
#include "ObitErr.h"
#include "ObitThread.h"
#include "ObitInfoList.h"
#include "ObitDef.h"
#include "ObitIODef.h"
#include "ObitClassDef.h"
#include "ObitIOClassDef.h"
Go to the source code of this file.
Classes | |
| struct | ObitIOHistory |
| ObitIOHistory Class. More... | |
| struct | ObitIOHistoryClassInfo |
| ClassInfo Structure. More... | |
Defines | |
| #define | ObitIOHistoryUnref(in) ObitUnref (in) |
| Macro to unreference (and possibly destroy) an ObitIOHistory returns a ObitIOHistory*. | |
| #define | ObitIOHistoryRef(in) ObitRef (in) |
| Macro to reference (update reference count) an ObitIOHistory. | |
| #define | ObitIOHistoryIsA(in) ObitIsA (in, ObitIOHistoryGetClass()) |
| Macro to determine if an object is the member of this or a derived class. | |
Typedefs | |
| typedef ObitIOCode(* | ObitIOHistoryReadRecFP )(ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err) |
| typedef ObitIOCode(* | ObitIOHistoryWriteRecFP )(ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err) |
| typedef gint(* | ObitIOHistoryNumRecFP )(ObitIOHistory *in) |
Functions | |
| void | ObitIOHistoryClassInit (void) |
| Public: Class initializer. | |
| ObitIOHistory * | newObitIOHistory (gchar *name, ObitInfoList *info, ObitErr *err) |
| Public: Constructor. | |
| gconstpointer | ObitIOHistoryGetClass (void) |
| Public: ClassInfo pointer. | |
| gboolean | ObitIOHistorySame (ObitIOHistory *in, ObitInfoList *in1, ObitInfoList *in2, ObitErr *err) |
| Public: Are underlying structures the same. | |
| void | ObitIOHistoryZap (ObitIOHistory *in, ObitErr *err) |
| Public: Delete underlying structures. | |
| ObitIOHistory * | ObitIOHistoryCopy (ObitIOHistory *in, ObitIOHistory *out, ObitErr *err) |
| Public: Copy constructor. | |
| ObitIOCode | ObitIOHistoryOpen (ObitIOHistory *in, ObitIOAccess access, ObitInfoList *info, ObitErr *err) |
| Public: Open. | |
| ObitIOCode | ObitIOHistoryClose (ObitIOHistory *in, ObitErr *err) |
| Public: Close. | |
| ObitIOCode | ObitIOHistorySet (ObitIOHistory *in, ObitInfoList *info, ObitErr *err) |
| Public: Init I/O. | |
| ObitIOCode | ObitIOHistoryReadRec (ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err) |
| Public: Read Record. | |
| ObitIOCode | ObitIOHistoryWriteRec (ObitIOHistory *in, glong recno, gchar *hiCard, ObitErr *err) |
| Public: Write Record. | |
| ObitIOCode | ObitIOHistoryFlush (ObitIOHistory *in, ObitErr *err) |
| Public: Flush. | |
| ObitIOCode | ObitIOHistoryReadDescriptor (ObitIOHistory *in, ObitErr *err) |
| Public: Read Descriptor. | |
| ObitIOCode | ObitIOHistoryWriteDescriptor (ObitIOHistory *in, ObitErr *err) |
| Public: Write Descriptor. | |
| gint | ObitIOHistoryNumRec (ObitIOHistory *in) |
| Public: number of records. | |
This class is derived from the ObitIO class.
This is a virtual base class and should never be directly instantiated, However, its functions should be called and the correct version will be run. This class is the base for specific History access functions. Derived classes provide an I/O interface to various underlying disk structures. The structure is also defined in ObitIOHistoryDef.h to allow recursive definition in derived classes.
|
|
Macro to determine if an object is the member of this or a derived class. Returns TRUE if a member, else FALSE in = object to reference |
|
|
Macro to reference (update reference count) an ObitIOHistory. returns a ObitIOHistory*. in = object to reference |
|
|
Macro to unreference (and possibly destroy) an ObitIOHistory returns a ObitIOHistory*. in = object to unreference |
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Public: Constructor. Initializes class if needed on first call.
|
|
|
Public: Class initializer.
|
|
||||||||||||
|
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: Flush.
|
|
|
Public: ClassInfo pointer. Initializes class if needed on first call.
|
|
|
Public: number of records.
|
|
||||||||||||||||||||
|
Public: Open. The file and selection info member should have been stored in the ObitInfoList prior to calling. See derived classes for details.
|
|
||||||||||||
|
Public: Read Descriptor.
|
|
||||||||||||||||||||
|
Public: Read Record.
|
|
||||||||||||||||||||
|
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 Descriptor.
|
|
||||||||||||||||||||
|
Public: Write Record.
|
|
||||||||||||
|
Public: Delete underlying structures.
|
1.3.9.1