C API Functions |
Return the general language of the specified entity, which is based on the entity kind.
#include "udb/udb.h" UdbLanguage udbEntityLanguage(UdbEntity entity)
UdbEntity entity
Specify the entity. The entity kind is examined to determine the language.
UdbEntityLanuage returns one of the following values specifying the general language of the specified entity, based on the entity kind.
Udb_languageC
Entity kind is C/C++ Language
Udb_languageAda
Entity kind is Ada
Udb_languageFortran
Entity kind is Fortran
language = udbEntityLanguage(entity); switch (language) { case Udb_languageC : ... case Udb_languageFortran : ... case Udb_languageAda : ... }
udbDbLanguage to get the language of the Understand database.
udbEntityKind to get the kind of the entity.
Scientific Toolworks, Inc. http://www.scitools.com Voice: (802) 763-2995 Fax: (802) 763-3066 support@scitools.com sales@scitools.com |