table_hdrval - access a header value.

SYNOPSYS

#include "table.h"

char * table_hdrval(table, name, i)

int table_hdrvaln(table, name)

int table_hdrvali(table, name, i)

double table_hdrvald(table, name, i)

char * table_hdrvals(table, name, i)

TableRow table_hdrV(table, name)

PARAMETERS

TableHead table
table header.
char *name
name of header value.
int i
array index of value.

DESCRIPTION

Access the header value name as an integer, double or string. If the value is an array the i'th value in the array is returned.

table_hdrval returns a pointer to the actual header buffer. It should not be modified in any way.

table_hdrvaln returns the number of values in this header keyword.

table_hdrvali returns the header value an integer.

table_hdrvald the header value as a double. The value is converted using SAO_strtod and recoginises sexgasmal ascii formats (HH:MM:SS.SSSS).

table_hdrvals returns a copy of the column value made with with strdup. The user may modify this copy as needed and should free it with free when the value is no longer needed.

table_hdrV returns the row structure that holds the header value