udbMetricLookup

Description

Returns the UdbMetric literal for the specified character string.

Syntax

#include “udb/udb.h” 
UdbMetric udbMetricLookup(char *name) 

Arguments

Argument
Description
char *name
Text name of metric.

Return Values

Return Value
Description
UdbMetric
Metric that matches the character string.

Example Usage

metric = udbMetricLookup(“Cyclomatic”); 

See Also

udbLookupEntity

udbLookupEntityByReference

udbLookupFile

udbLookupReferenceExists

udbMetricIsDefinedProject

udbMetricListEntity

udbMetricListKind

udbMetricListProject


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