Synopsis

PDX_MSGT step_GetAllEntitySubtypes(DDF_TF tf, DDF_TF **subtype_list, int *count)

Purpose

Determine all subtypes for a specified entity typeform.

Description

All subtypes of the specified entity TF tf in the current STEP ddf are found. The list of subtypes include the direct subtype and all subtypes to it. Memory for the list of subtypes should be freed by the application. If no subtypes are available, subtype_list is set to NULL.

Input

tf

Entity TF whose subtypes are to be found

Output

subtype_list

Array of subtype TFs (must be freed by application, using step_Free if the application is not part of libstep)

count

The number of subtypes

Return

STEP_NOERR