next up previous 264
Next: astConvert - Determine how to convert between two coordinate systems
Up: AST Function Descriptions
Previous: astColumnShape - Returns the shape of the values in a named column


astColumnSize - 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 astGetColumnData.
Synopsis:
size_t astColumnSize( AstFitsTable $*$this, const char $*$column, int $*$hasnull )
Parameters:
this
Pointer to the Table.
column
The character string holding the name of the column. Trailing spaces are ignored.
Returned Value:
astColumnNull()
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 FitsTable.

  • Zero will be returned as the function value in an error occurs.


next up previous 264
Next: astConvert - Determine how to convert between two coordinate systems
Up: AST Function Descriptions
Previous: astColumnShape - Returns the shape of the values in a named column

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council