udbKindList

Description

Add a kind to the specified kindlist and return the reallocated kindlist.

Use udbKindListFree() to free the kindlist when done.

In order to match the criteria of a list of kind names, a kind must have in its fullname, every name listed in the list of names, and must not have in its fullname, any names listed in the list of names that begin with '~'. An explanation of kind names with examples is provided in Kind Name Filters

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

Syntax

#include “udb/udb.h” 
void    udbKindList(UdbKind kind, UdbKindList *kindlist) 

Arguments

Argument
Description
UdbKind kind
Specify the kind
UdbKindList *kindlist
*kindlist must be an existing kind list to add to or NULL to create a new list.

Return Values

There is no function return value.

Example Usage

udbKindList( kind, &kindlist); 

or

udbKindList(udbEntityKind (entity), &kindlist ); 

The resulting kindlist can then be passed to other API functions:

udbListEntityFilter(ents, kindlist, &newents, NULL); 

See Also

udbKindListCopy

udbKindListFree

udbKindLocate

udbKindParse


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