C API Functions |
Return true if the specified metric is defined for the specified entity (kind).
Refer to udbMetricEntity for a list of metrics supported for each language.
#include "udb/udb.h" int udbMetricEntityIsDefined(UdbEntity entity, UdbMetric metric)
UdbEntity entity
Specified entity to check for.
UdbMetric metric
Specified metric to check for
int
true if the specified metric is defined for the kind of the specified entity .
if (udbMetricEntityIsDefined(entity, Udb_cMetricCountLineCode) ) ...
udbMetricEntity to get a specified metric of an entity.
udbMetricIsRatio to check if the metric is a ratio.
udbMetricProject to get project-level metrics.
Scientific Toolworks, Inc. http://www.scitools.com Voice: (802) 763-2995 Fax: (802) 763-3066 support@scitools.com sales@scitools.com |