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

ObitReturn.h File Reference

Output utility dumper. More...

#include "Obit.h"
#include "ObitFile.h"
#include "ObitErr.h"
#include "ObitInfoList.h"

Go to the source code of this file.

Functions

ObitIOCode ObitReturnDumpRetCode (gint retCode, gchar *outfile, ObitInfoList *list, ObitErr *err)
 Public: Dump return code and ObitInfoList to a text file.
ObitIOCode ObitReturnDump (gchar *outfile, ObitInfoList *list, ObitErr *err)
 Public: Dump ObitInfoList to a text file.


Detailed Description

Output utility dumper.

This file contains utility functions for writing program output parameters to a text file. Parameters are passed in an ObitInfoList. Supported types are:

To use do to following:

output file

The text input file is in keyword=value form. An entry consists of a header line beginning with "&Key = ", followed by the name of the entry, a data type code and the dimensionality as a Fortran dimensionality, (n,m) = n x m array with elements on the n axis varying most rapidly. Values start on the second line of an entry and take as many lines as necessary with a list of blank separated values. Character strings are one per line. The type codes are:

Function Documentation

ObitIOCode ObitReturnDump gchar *  outfile,
ObitInfoList list,
ObitErr err
 

Public: Dump ObitInfoList to a text file.

Parameters:
outfile Name of the input text file to write, if NULL return
list ObitInfoList with values.
err ObitErr for reporting errors.
Returns:
return code, OBIT_IO_OK => OK

ObitIOCode ObitReturnDumpRetCode gint  retCode,
gchar *  outfile,
ObitInfoList list,
ObitErr err
 

Public: Dump return code and ObitInfoList to a text file.

Parameters:
retCode Program return code, 0=> normal termination -999 at startup, a positive value for detected runtime errors
outfile Name of the input text file to write, if NULL return
list ObitInfoList with values.
err ObitErr for reporting errors.
Returns:
return code, OBIT_IO_OK => OK


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