Synopsis

(macro) int ddf_GetEntityTFI(DDF_TF tf)

Purpose

Get entity TFI.

Description

The TFI for the entity TF tf is returned. The TFI can then be used to invoke the ddf_GetTFIXxxx routines. It is more efficient to obtain the TFI for the entity and then call the ddf_GetTFIXxxxx routines than to use the ddf_GetEntityXxxxx functions. See the ddf_intro man page for a discussion of TFs and TFIs.

Input

tf

Entity TF whose TFI is to be returned

Return

The entity TFI of tf. If tf is not defined, a negative value will be returned.