astColumnSizeastColumnSize
-
Get the number of bytes needed to hold a full column of data
- Description:
- This function returns the number of bytes of memory that must be
allocated prior to retrieving the data from a column using
astGetColumnDataastGetColumnData.
- Synopsis:
- size_t astColumnSize( AstFitsTable
this, const char
column,
int
hasnull )
- Parameters:
-
this
-
Pointer to the TableTable.
-
column
-
The character string holding the name of the column. Trailing
spaces are ignored.
- Returned Value:
-
astColumnNullastColumnNull()
-
The number of bytes required to store the column data.
- Notes:
- An error will be reported if the named column does not exist in
the FitsTableFitsTable.
- Zero will be returned as the function value in an error occurs.