udbEntityNameUnique

Description

Returns a unique name for the specified entity.

The unique name is a temporary, unallocated string that can be used with udbLookupEntityByUniquename.

The uniquename is fully specified, so that it may be looked up again later. The uniquename for an entity is useful when an entity needs to be restored after a database is closed and reopened, for example.

Syntax

#include “udb/udb.h” 
char * udbEntityNameUnique(UdbEntity entity) 

Arguments

Argument
Description
UdbEntity entity
Specify the entity

Return Values

Return Value
Description
char *
A temporary unique name for the entity.

Example Usage

uniquename = udbEntityNameUnique(entity)); 
... 
refentity = udbLookupEntityByUniquename(uniquename); 

See Also

udbEntityId

udbLookupEntityByUniquename


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