Synopsis
DDF_TF ddf_GetNameTF(char *name)
Purpose
Returns the TF for an entity name.
Description
Determines what TF in the current DDF corresponds to name. Note the run-time DDF information is sorted by TFI rather than name so this function must perform a linear search through all of the names defined in the current DDF. Consequently, it will typically loop through n/2 names before finding the requested name. If you will be performing many name lookups it may be better to create a tree in your application which maps entity names to TFs. If the name could not be located, a TF of DDF_NULL_TF will be returned.
Input
name
Entity name to locate TF
Return
TF of name or DDF_NULL_TF if name could not be located.