#include <glib.h>
#include "ObitErr.h"
#include "ObitThread.h"
#include "ObitAIPS.h"
Go to the source code of this file.
Classes | |
| struct | ObitAIPSDirCatEntry |
| AIPS Catalog (directory) entry structure A short description of the name and access info. More... | |
Enumerations | |
| enum | _ObitAIPSDirStatusCode { OBIT_AIPS_Dir_AddWrite, OBIT_AIPS_Dir_ClearWrite, OBIT_AIPS_Dir_IncRead, OBIT_AIPS_Dir_DecRead, OBIT_AIPS_Dir_ClearAll } |
| enum for Catalog status change codes. More... | |
| enum | _ObitAIPSDirStatusError { OBIT_AIPS_Dir_StatusOK, OBIT_AIPS_Dir_StatusSpecErr, OBIT_AIPS_Dir_StatusIOErr, OBIT_AIPS_Dir_StatusRead, OBIT_AIPS_Dir_StatusWrite } |
| enum for Catalog status change errors. More... | |
Functions | |
| gint | ObitAIPSDirFindCNO (gint disk, gint user, gchar Aname[13], gchar Aclass[7], gchar Atype[3], gint seq, ObitErr *err) |
| Public: Find AIPS Catalog for a given AIPS name ... | |
| gint | ObitAIPSDirAlloc (gint disk, gint user, gchar Aname[13], gchar Aclass[7], gchar Atype[3], gint seq, gboolean *exist, ObitErr *err) |
| Public: Allocate AIPS directory slot an fill it in. | |
| void | ObitAIPSDirRemoveEntry (gint disk, gint user, gint cno, ObitErr *err) |
| Public: Remove Catalog directory entry. | |
| gint | ObitAIPSDirNumber (gint disk, gint user, ObitErr *err) |
| Public: Determine maximum catalog slot number occupied. | |
| gint | ObitAIPSDirHiSeq (gint disk, gint user, gchar Aname[13], gchar Aclass[7], gchar Atype[3], gboolean exist, ObitErr *err) |
| Public: Determine maximum sequence number used. | |
| void | ObitAIPSDirRename (gint disk, gint user, gint cno, gchar *newName, gchar *newClass, gint newSeq, ObitErr *err) |
| Public: Rename entry. | |
| ObitAIPSDirCatEntry * | ObitAIPSDirGetEntry (gint disk, gint user, gint cno, ObitErr *err) |
| Public: Get Catalog directory entry. | |
| void | ObitAIPSDirGetAccess (ObitAIPSDirCatEntry *entry, gchar *timeDate) |
| Public: Get last access. | |
| ObitAIPSDirStatusError | ObitAIPSDirStatus (gint disk, gint user, gint cno, ObitAIPSDirStatusCode code, ObitErr *err) |
| Public: Change status of Catalog directory entry. | |
This is a Utility class to handle the interface with the AIPS catalog directory system. This class is non-derivable and has no public instances.
|
|
enum for Catalog status change codes.
|
|
|
enum for Catalog status change errors.
|
|
||||||||||||||||||||||||||||||||||||
|
Public: Allocate AIPS directory slot an fill it in. If it doesn't exist find the first free slot and allocate it to the new entry.
|
|
||||||||||||||||||||||||||||||||
|
Public: Find AIPS Catalog for a given AIPS name ...
|
|
||||||||||||
|
Public: Get last access.
|
|
||||||||||||||||||||
|
Public: Get Catalog directory entry.
|
|
||||||||||||||||||||||||||||||||
|
Public: Determine maximum sequence number used. If exist==TRUE and a match is found the highest value is returned. If If exist==FALSE and a match is found , the highest seq+1 is returned If there are no matches, 1 is returned
|
|
||||||||||||||||
|
Public: Determine maximum catalog slot number occupied.
|
|
||||||||||||||||||||
|
Public: Remove Catalog directory entry.
|
|
||||||||||||||||||||||||||||||||
|
Public: Rename entry.
|
|
||||||||||||||||||||||||
|
Public: Change status of Catalog directory entry. Only one program/thread can mark an entry write and if the entry is marked write no reads can be added. Errors are indicated in err and as the return code.
|
1.3.9.1