Processing math: 100%

astIsA<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.

Synopsis

int astIsA<Class>( const Ast<Class> this )

Parameters:

this
Pointer to the Object.

Applicability

Object
These functions apply to all Objects.

Returned Value

astIsA<Class>()
One if the Object belongs to the class called <Class> (or to a class derived from it), otherwise zero.

Examples:

member = astIsAFrame( obj );
Tests whether Object " obj" is a member of the Frame class, or of any class derived from a Frame.

Notes: