udbMetricKind

Description

Returns the kind of the specified metric. This can be used to determine what formatting character to use when printing a value with printf.

Syntax

#include “udb/udb.h” 
UdbMetricKind udbMetricKind(UdbMetric metric) 

Arguments

Argument
Description
UdbMetric metric
Specify metric.

Return Values

Return Values
Description
Udb_mkind_NONE
No such metric.
Udb_mkind_Integer
Metric returns an integer value.
Udb_mkind_Real
Metric returns a floating point value.

Example Usage

kind = udbMetricKind(metric); 

See Also

udbMetricDescription

udbMetricIsDefinedEntity

udbMetricIsDefinedProject

udbMetricListKind

udbMetricLookup


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