next up previous
Next: astDelete - Delete an Object
Up: AST Function Descriptions
Previous: astDecompose - Decompose a Mapping into two component Mappings

   
astDelFits - Delete the current FITS card in a FitsChan

Description:
This function deletes the current FITS card from a FitsChan. The current card may be selected using the Card attribute (if its index is known) or by using astFindFits (if only the FITS keyword is known).

After deletion, the following card becomes the current card.

Synopsis:
void astDelFits( AstFitsChan *this )

Parameters:
this
Pointer to the FitsChan.

Notes:
  • This function returns without action if the FitsChan is initially positioned at the "end-of-file" (i.e. if the Card attribute exceeds the number of cards in the FitsChan).
  • If there are no subsequent cards in the FitsChan, then the Card attribute is left pointing at the "end-of-file" after deletion (i.e. is set to one more than the number of cards in the FitsChan).



next up previous
Next: astDelete - Delete an Object
Up: AST Function Descriptions
Previous: astDecompose - Decompose a Mapping into two component Mappings

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

Copyright (C) 2003 Central Laboratory of the Research Councils