Main Page | Class List | Directories | File List | Class Members | File Members

ObitTableDesc.c File Reference

ObitTableDesc Obit Table descriptor class definition. More...

#include "Obit.h"
#include "ObitTableDesc.h"

Functions

void ObitTableDescInit (gpointer in)
 Private: Initialize newly instantiated object.
void ObitTableDescClear (gpointer in)
 Private: Deallocate members.
ObitTableDescnewObitTableDesc (gchar *name)
 Public: Constructor.
gconstpointer ObitTableDescGetClass (void)
 Public: Return class pointer.
ObitTableDescObitTableDescCopy (ObitTableDesc *in, ObitTableDesc *out, ObitErr *err)
 Public: Copy TableDesc.
void ObitTableDescCopyDesc (ObitTableDesc *in, ObitTableDesc *out, ObitErr *err)
 Public: Copy descriptive (nonstructural) information.
void ObitTableDescIndex (ObitTableDesc *in)
 Public: Index for easier access.
void ObitTableDescRealloc (ObitTableDesc *in, glong nfield)
 Public: Reallocate arrays.
gboolean ObitTableDescCompatible (ObitTableDesc *in1, ObitTableDesc *in2)
 Public: Check compatibility.
void ObitTableDescClassInit (void)
 Public: Class initializer.


Detailed Description

ObitTableDesc Obit Table descriptor class definition.

This contains information about the structure of the table.


Function Documentation

ObitTableDesc* newObitTableDesc gchar *  name  ) 
 

Public: Constructor.

Returns:
pointer to object created.

void ObitTableDescClassInit void   ) 
 

Public: Class initializer.

void ObitTableDescClear gpointer  inn  ) 
 

Private: Deallocate members.

Does (recursive) deallocation of parent class members.

Parameters:
inn Pointer to the object to deallocate.

gboolean ObitTableDescCompatible ObitTableDesc in1,
ObitTableDesc in2
 

Public: Check compatibility.

Checks number, type, label and dimension of each column

Parameters:
in1 Pointer first object
in2 Pointer second object
Returns:
TRUE if Compatible, else FALSE

ObitTableDesc* ObitTableDescCopy ObitTableDesc in,
ObitTableDesc out,
ObitErr err
 

Public: Copy TableDesc.

The output descriptor will have the structure and values of the input

Parameters:
in Pointer to object to be copied.
out Pointer to object to be written. If NULL then a new structure is created.
err ObitErr error stack
Returns:
Pointer to new object.

void ObitTableDescCopyDesc ObitTableDesc in,
ObitTableDesc out,
ObitErr err
 

Public: Copy descriptive (nonstructural) information.

things that don't define the structure).

Parameters:
in Pointer to object to be copied.
out Pointer to object to be written.
err ObitErr error stack

gconstpointer ObitTableDescGetClass void   ) 
 

Public: Return class pointer.

Initializes class if needed on first call.

Returns:
pointer to the class structure.

void ObitTableDescIndex ObitTableDesc in  ) 
 

Public: Index for easier access.

Parameters:
in Pointer to object.

void ObitTableDescInit gpointer  inn  ) 
 

Private: Initialize newly instantiated object.

Does (recursive) initialization of base class members before this class.

Parameters:
inn Pointer to the object to initialize.

void ObitTableDescRealloc ObitTableDesc in,
glong  nfield
 

Public: Reallocate arrays.

Parameters:
in Pointer to object to reallocate.
nfield number of columns to allocate


Generated on Fri Aug 31 22:13:08 2007 for Obit by  doxygen 1.3.9.1