#include <glib.h>
#include <string.h>
#include "ObitInfoElem.h"
#include "ObitMem.h"
Functions | |
| ObitInfoElem * | newObitInfoElem (gchar *label, ObitInfoType type, gint32 *dim, gconstpointer data) |
| Constructor. | |
| ObitInfoElem * | ObitInfoElemCopy (ObitInfoElem *in) |
| Copy Constructor. | |
| void | freeObitInfoElem (ObitInfoElem *me) |
| Destructor. | |
| gboolean | ObitInfoElemTest (ObitInfoElem *me, char *testname) |
| Compare element name with test string. | |
| gboolean | ObitInfoElemComp (ObitInfoElem *me, ObitInfoType type, gint32 *dim) |
| Compare size and type. | |
| gboolean | ObitInfoElemUpdate (ObitInfoElem *me, gint32 type, gint32 *dim, gconstpointer data, gboolean warn) |
| Update contents of an info element; returns TRUE if successful. | |
| void | ObitInfoElemSave (ObitInfoElem *me, gconstpointer data) |
| store data | |
| void | ObitInfoElemResize (ObitInfoElem *me, ObitInfoType type, gint32 *dim) |
| Change type, resize data. | |
| glong | ObitInfoElemSize (ObitInfoType type, gint32 *dim) |
| determine the size in bytes of an element | |
| void | ObitInfoElemPrint (ObitInfoElem *me, FILE *file) |
| Print the contents of an object. | |
Stores a label, size and type info and a data array. The limit on the number of dimensions is MAXINFOELEMDIM.
|
|
Destructor.
|
|
||||||||||||||||||||
|
Constructor.
|
|
||||||||||||||||
|
Compare size and type.
|
|
|
Copy Constructor.
|
|
||||||||||||
|
Print the contents of an object.
|
|
||||||||||||||||
|
Change type, resize data. Any existing values in data will be lost
|
|
||||||||||||
|
store data
|
|
||||||||||||
|
determine the size in bytes of an element
|
|
||||||||||||
|
Compare element name with test string. TRUE=match, else no match.
|
|
||||||||||||||||||||||||
|
Update contents of an info element; returns TRUE if successful.
|
1.3.9.1