#include <time.h>
#include "Obit.h"
#include "ObitMem.h"
Functions | |
| Obit * | newObit (gchar *name) |
| Public: Constructor. | |
| gconstpointer | ObitGetClass (void) |
| Public: ClassInfo pointer. | |
| Obit * | ObitCopy (Obit *in, Obit *out, ObitErr *err) |
| Public: Copy (deep) constructor. | |
| Obit * | ObitClone (Obit *in, Obit *out) |
| Public: Copy (shallow) constructor. | |
| gpointer | ObitRef (gpointer in) |
| Public: Ref pointer, increment reference count, return pointer. | |
| gpointer | ObitUnref (gpointer inn) |
| Public: Unref pointer, decrement reference count and destroy if 0. | |
| gboolean | ObitIsA (gpointer in, gconstpointer class) |
| Public: returns TRUE is object is a member of myClassInfo or a derived class. | |
| gfloat | ObitMagicF (void) |
| Public: returns magic value blanking value. | |
| void | ObitTrimTrail (gchar *str) |
| Public: trim trailing blanks from string. | |
| gboolean | ObitStrCmp (gchar *str1, gchar *str2, gint maxlen) |
| Public: compare strings. | |
| gchar * | ObitToday (void) |
| Public: return today's date as yyyy-mm-dd. | |
| void | ObitClassInit (void) |
| Public: Class initializer. | |
| void | ObitClassInfoDefFn (gpointer inClass) |
| Public: Set Class function pointers. | |
| gboolean | ObitInfoIsA (ObitClassInfo *class, ObitClassInfo *type) |
| Public: returns TRUE is object is type or a derived class. | |
Variables | |
| ObitClassInfo | myClassInfo = {FALSE} |
| ClassInfo structure ObitClassInfo. | |
|
|
Public: Constructor. Initializes class if needed on first call.
|
|
|
Public: Set Class function pointers.
|
|
|
Public: Class initializer.
|
|
||||||||||||
|
Public: Copy (shallow) constructor. The result will have pointers to the more complex members.
|
|
||||||||||||||||
|
Public: Copy (deep) constructor. Copies are made of complex members such as files; these will be copied applying whatever selection is associated with the input.
|
|
|
Public: ClassInfo pointer. This method MUST be included in each derived class to ensure proper linking and class initialization. Initializes class if needed on first call.
|
|
||||||||||||
|
Public: returns TRUE is object is type or a derived class.
|
|
||||||||||||
|
Public: returns TRUE is object is a member of myClassInfo or a derived class. Should also work for derived classes.
|
|
|
Public: returns magic value blanking value.
|
|
|
Public: Ref pointer, increment reference count, return pointer. This function should always be used to copy pointers as this will ensure a proper reference count. Should also work for derived classes
|
|
||||||||||||||||
|
Public: compare strings. Blanks past the last non blank, non-NULL are considered insignificant
|
|
|
Public: return today's date as yyyy-mm-dd.
|
|
|
Public: trim trailing blanks from string.
|
|
|
Public: Unref pointer, decrement reference count and destroy if 0. if the input pointer is NULL, the reference count is already <=0 or the object is not a valid Obit Object, it simply returns.
|
|
|
ClassInfo structure ObitClassInfo. This structure is used by class objects to access class functions. |
1.3.9.1