#include <sys/types.h>
#include <time.h>
#include <math.h>
#include <string.h>
#include "ObitFile.h"
#include "ObitAIPSDir.h"
#include "ObitAIPSCat.h"
Classes | |
| struct | ObitAIPSDir |
| ObitAIPSDir Class Structure. More... | |
| struct | ObitAIPSDirCatHead |
| AIPS Catalog directory structure This is at the beginning of a catalog. More... | |
Functions | |
| gboolean | ObitAIPSDirIsA (ObitAIPSDir *in) |
| Private: Returns true if input is a ObitAIPSDir*. | |
| void | ObitAIPSDirClassInit (gint number, gchar *dir[]) |
| Private: Class initializer. | |
| 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[7], gint newSeq, ObitErr *err) |
| Rename directory 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. | |
|
||||||||||||||||||||||||||||||||||||
|
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.
|
|
||||||||||||
|
Private: Class initializer.
|
|
||||||||||||||||||||||||||||||||
|
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
|
|
|
Private: Returns true if input is a ObitAIPSDir*.
|
|
||||||||||||||||
|
Public: Determine maximum catalog slot number occupied.
|
|
||||||||||||||||||||
|
Public: Remove Catalog directory entry.
|
|
||||||||||||||||||||||||||||||||
|
Rename directory 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