AST_ISA <CLASS >

Test membership of a class by an Object

Description:

This is a family of functions which test whether an Object is a member of the class called <CLASS >, or of any class derived from it.

Invocation

RESULT = AST_ISA <CLASS >( THIS, STATUS )

Arguments

THIS = INTEGER (Given)
Pointer to the Object.
STATUS = INTEGER (Given and Returned)
The global status.

Applicability

Object
These functions apply to all Objects.

Returned Value

AST_ISA <CLASS > = LOGICAL
.TRUE. if the Object belongs to the class called <CLASS > (or to a class derived from it), otherwise .FALSE..

Examples:

MEMBER = AST_ISAFRAME( OBJ, STATUS );
Tests whether Object OBJ is a member of the Frame class, or of any class derived from a Frame.

Notes: