# Synopsis

MDA_PTR mda_IsTFAParent(DDF_TF tf, MDA_PTR db_ptr)

# Purpose

Check if entity is referenced by a specific TF.

# Description

The parent list of db_ptr will be searched for an entity of type tf. The first parent that matches tf will be returned. If no match is found, a value of MDA_NULL_PTR will be returned. If backpointers are not enabled for the model which db_ptr is defined in, a value of MDA_NULL_PTR will be returned.

# Input

## tf

TF to search for in parents of db_ptr

## db_ptr

Entity whose parent list is to be searched

# Return

First parent pointer to db_ptr with a TF matching tf or MDA_NULL_PTR if no matching TF was found.