next up previous 264
Next: astSelectorMap - Create a SelectorMap
Up: AST Function Descriptions
Previous: astRetainFits - Indicate that the current card in a FitsChan should be retained


astSame - Test if two AST pointers refer to the same Object

Description:
This function returns a boolean result (0 or 1) to indicate whether two pointers refer to the same Object.
Synopsis:
int astSame( AstObject $*$this, AstObject $*$that )
Parameters:
this
Pointer to the first Object.
that
Pointer to the second Object.
Class Applicability:
Object
This function applies to all Objects.
Returned Value:
astSame()
One if the two pointers refer to the same Object, otherwise zero.
Notes:
  • Two independent Objects that happen to be identical are not considered to be the same Object by this function.

  • A value of zero will be returned if this function is invoked with the AST error status set, or if it should fail for any reason.


next up previous 264
Next: astSelectorMap - Create a SelectorMap
Up: AST Function Descriptions
Previous: astRetainFits - Indicate that the current card in a FitsChan should be retained

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