udbLookupReferenceExists

Description

Return 1 if the specified entity has any references of the general kind specified by the list of reference kinds. Returns 1 if the list is NULL.

Syntax

#include “udb/udb.h” 
int  udbLookupReferenceExists(UdbEntity entity, 
                               UdbKindList kindlist) 

Arguments

Argument
Description
UdbEntity entity
Specified entity to lookup
UdbKindList kindlist
Allocated kind list

Return Values

Return Value
Description
int
1 if the specified entity has any reference of the general kind specified by the list of references or if the reference kind list is NULL.

Example Usage

if (udbLookupReferenceExists(entity, refkinds) ) {...} 

See Also

udbEntityRefs

udbListReference

udbLookupEntity

udbLookupEntityByReference

udbLookupFile

udbReferenceEntity


Scientific Toolworks, Inc.
http://www.scitools.com