udbKindLocate

Description

Returns true if the specified kind is in the kind list, or if the list is NULL.

Refer to the language-specific listings of entity and reference kinds in Entity and Reference Kinds.

Syntax

#include “udb/udb.h” 
int  udbKindLocate(UdbKind kind, UdbKindList kindlist); 

Arguments

Argument
Description
UdbKind kind
The kind to find in the kindlist
UdbKindList *kindlist
The kindlist

Return Values

Return Value
Description
int
Return true if the specified kind is in the kindlist or if the kindlist is NULL; false otherwise.

Example Usage

if ( udbKindLocate(kind, kinds) ) {...} 

See Also

udbComment

udbCommentRaw

udbEntityKind

udbKindList

udbKindListCopy

udbKindListFree

udbKindParse

udbListEntityFilter

udbListReferenceFilter

udbLookupReferenceExists

udbReferenceKind


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