udbLibraryFilterEntity

Description

Filter the specified list of entities with the specified library filter and return a new, allocated list. Use udbListEntityFree to free the allocated list when done.

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

Syntax

#include “udb/udb.h” 
void udbLibraryFilterEntity(UdbEntity *ents,  
                            char *filter, 
                            UdbEntity **newents, 
                            int *num); 

Arguments

Argument
Description
UdbEntity ents
Specify the list of entities
char *filter
Specify the library filter
UdbEntity **newents
Returns the allocated list of new entities
int *num
If not NULL, returns the size of the new list

Return Values

There is no function return value.

Example Usage

udbLibraryFilterEntity(entities, "~standard",  
&entities,  &size); 

See Also

udbEntityLibrary

udbLibraryCheckEntity

udbLibraryCompare

udbLibraryList

udbLibraryListFree

udbLibraryName


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