# Synopsis

PDX_MSGT step_GetAllEntitySupertypes(DDF_TF tf, DDF_TF **supertype_list, int *count)

# Purpose

Determine all supertypes for a specified entity typeform.

# Description

All supertypes of the specified entity TF tf in the current STEP ddf are found. The list of supertypes include the direct supertype and all supertypes to it. Memory for the list of supertypes should be freed by the application.

If no supertypes are available, supertype_list is set to NULL.

# Input

## tf

Entity TF whose supertypes are to be found

# Output

## supertype_list

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

## count

The number of supertypes

# Return

STEP error code