Next: AST_HASCOLUMN - Returns a flag indicating if a column is present in a Table
Up: AST Routine Descriptions
Previous: AST_GetTableHeader - Get the FITS headers from a FitsTable
AST_HASATTRIBUTE
-
Test if an Object has a named attribute
- Description:
- This function returns a logical result to indicate
whether the supplied Object has an attribute with the supplied name.
- Invocation:
- RESULT = AST_HASATTRIBUTE( THIS, ATTRIB, STATUS )
- Arguments:
-
THIS = INTEGER (Given)
-
Pointer to the first Object.
-
ATTRIB = INTEGER (Given)
-
The
name of the attribute to be tested.
-
STATUS = INTEGER (Given and Returned)
-
The global status.
- Class Applicability:
-
Object
-
This routine applies to all Objects.
- Returned Value:
-
AST_SAME = LOGICAL
-
.TRUE. if the Object has the named attribute, otherwise
.FALSE.
- Notes:
- A value of .FALSE. will be returned if this function is invoked
with STATUS set to an error value, or if it should fail for any reason.
Next: AST_HASCOLUMN - Returns a flag indicating if a column is present in a Table
Up: AST Routine Descriptions
Previous: AST_GetTableHeader - Get the FITS headers from a FitsTable
AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk
Copyright (C) 2009 Science \& Technology Facilities Council