udbLibraryCheckEntity

Description

Return true if the specified entity is in the specified list of libraries.

Applies only to Understand for Ada and Understand for Java databases and only the “standard” library is supported.

Syntax

#include “udb/udb.h” 
int udbLibraryCheckEntity(UdbEntity entity,
                           UdbLibrary *liblist) 

Arguments

Argument
Description
UdbEntity entity
The specified entity
UdbLibrary *liblist
The specified library list

Return Values

Return Value
Description
int
Returns true if the specified entity is in the specified list of libraries; false otherwise.

Example Usage

udbLibraryList (“~standard”, &libraries, &size);
if (udbLibraryCheckEntity (entity, libraries)) {...}
udbLibraryListFree(libraries); 

See Also

udbEntityLibrary

udbLibraryCompare

udbLibraryFilterEntity

udbLibraryList

udbLibraryListFree

udbLibraryName


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