#include <string.h>
#include <stdio.h>
#include "ObitInfoList.h"
#include "ObitMem.h"
Functions | |
| ObitInfoList * | newObitInfoList (void) |
| Public: constructor. | |
| ObitInfoList * | freeObitInfoList (ObitInfoList *in) |
| Public: destructor. | |
| ObitInfoList * | ObitInfoListCopy (ObitInfoList *in) |
| Public: Copy constructor. | |
| ObitInfoList * | ObitInfoListRef (ObitInfoList *in) |
| Public: Reference object pointer. | |
| ObitInfoList * | ObitInfoListUnref (ObitInfoList *in) |
| Public: Unreference object pointer. | |
| ObitInfoList * | ObitInfoListCopyData (ObitInfoList *in, ObitInfoList *out) |
| Public: Copy entries from one list to another. | |
| void | ObitInfoListCopyList (ObitInfoList *in, ObitInfoList *out, gchar **list) |
| Public: Copy entries from one list to another controled by a list . | |
| void | ObitInfoListPut (ObitInfoList *in, gchar *name, ObitInfoType type, gint32 *dim, gconstpointer data, ObitErr *err) |
| Public: Store item to InfoList. | |
| void | ObitInfoListAlwaysPut (ObitInfoList *in, gchar *name, ObitInfoType type, gint32 *dim, gconstpointer data) |
| Public: Store item to InfoList, redefine item if necessary. | |
| gboolean | ObitInfoListGetTest (ObitInfoList *in, gchar *name, ObitInfoType *type, gint32 *dim, gpointer data) |
| Public: Test retrieve of an item from InfoList. | |
| gboolean | ObitInfoListGet (ObitInfoList *in, gchar *name, ObitInfoType *type, gint32 *dim, gpointer data, ObitErr *err) |
| Public: Retrieve item from InfoList by name. | |
| gboolean | ObitInfoListInfo (ObitInfoList *in, gchar *name, ObitInfoType *type, gint32 *dim, ObitErr *err) |
| Public: Get info about item from InfoList by name. | |
| gboolean | ObitInfoListGetP (ObitInfoList *in, gchar *name, ObitInfoType *type, gint32 *dim, gpointer *data) |
| Public: Return pointers to an item in InfoList by name. | |
| gboolean | ObitInfoListGetNumber (ObitInfoList *in, gint number, gchar **name, ObitInfoType *type, gint32 *dim, gpointer data, ObitErr *err) |
| Public: Retrieve item from InfoList by number. | |
| gboolean | ObitInfoListGetNumberP (ObitInfoList *in, gint number, gchar **name, ObitInfoType *type, gint32 *dim, gpointer *data) |
| Public: Return pointers to an item in InfoList by number. | |
| void | ObitInfoListRemove (ObitInfoList *in, gchar *name) |
| Public: Remove item from list. | |
| void | ObitInfoListResize (ObitInfoList *in, gchar *name, ObitInfoType type, gint32 *dim) |
| Public: Change dimension or type of an item. | |
| void | ObitInfoListPrint (ObitInfoList *in, FILE *file) |
| Public: Print contents to file (e.g. | |
| gboolean | ObitInfoListIsA (ObitInfoList *in) |
| Public: Returns true if input is a ObitInfoList*. | |
This facility allows storing arrays of values of the same (native) data type and retrieving them by name. Implementation uses the glib GSList class.
|
|
Public: destructor.
|
|
|
Public: constructor.
|
|
||||||||||||||||||||||||
|
Public: Store item to InfoList, redefine item if necessary. If the requested keyword (name) does not exist then one is created with the type, and dimension specified.
|
|
|
Public: Copy constructor.
|
|
||||||||||||
|
Public: Copy entries from one list to another.
|
|
||||||||||||||||
|
Public: Copy entries from one list to another controled by a list .
|
|
||||||||||||||||||||||||||||
|
Public: Retrieve item from InfoList by name. NOTE: String arrays are not returned in the form they are written, they are all in one large, rectangular gchar array.
|
|
||||||||||||||||||||||||||||||||
|
Public: Retrieve item from InfoList by number.
|
|
||||||||||||||||||||||||||||
|
Public: Return pointers to an item in InfoList by number.
|
|
||||||||||||||||||||||||
|
Public: Return pointers to an item in InfoList by name.
|
|
||||||||||||||||||||||||
|
Public: Test retrieve of an item from InfoList.
|
|
||||||||||||||||||||||||
|
Public: Get info about item from InfoList by name.
|
|
|
Public: Returns true if input is a ObitInfoList*.
|
|
||||||||||||
|
Public: Print contents to file (e.g.
|
|
||||||||||||||||||||||||||||
|
Public: Store item to InfoList. If the requested keyword (name) does not exist then one is created with the type, and dimension specified. If a previous entry exists, then the type and dimensionality provided must match.
|
|
|
Public: Reference object pointer. This function should always be used to copy pointers as this will ensure a proper reference count.
|
|
||||||||||||
|
Public: Remove item from list. Item is destroyed; does nothing if item not found.
|
|
||||||||||||||||||||
|
Public: Change dimension or type of an item. Create an entry in list if it doesn't previously exist, any existing data will be lost.
|
|
|
Public: Unreference object pointer.
|
1.3.9.1