C API Functions |
Return the library that an entity belongs to.
Currently only applies to Understand for Ada databases. There will always be a library named "standard" which is the only Ada library supported at this time. Future versions of Understand will support libraries.
#include "udb/udb.h" UdbLibrary udbEntityLibrary(UdbEntity entity);
UdbEntity entity
Specify the entity
UdbLibrary
The library to which this entity belongs or NULL if the entity does not belong to any library.
library = udbEntityLibrary(entity); if (library) { printf ("%s is in library %s\n", udbEntityNameLong(entity), udbLibraryName(library) ); }
udbLibraryCheckEntity to check if an entity is in a list of libraries.
udbLibraryCompare to compare two libraries.
udbLibraryFilterEntity to filter the list of entities with a library filter.
udbLibraryList get a list of libraries.
udbLibraryListFree to free a list of libraries.
udbLibraryName to get the name of a library.
Scientific Toolworks, Inc. http://www.scitools.com Voice: (802) 763-2995 Fax: (802) 763-3066 support@scitools.com sales@scitools.com |