Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
kSize GdkTool_MeasurementIndexByType ( GdkTool  tool,
const kChar typeName 
)

Find the index of a measurement by its type name.

If there are multiple measurements of the same type, only the index of first instance will be returned. A full list of measurements can be found in the tool config (see GdkTool_Config).

Parameters
toolTool object.
typeNameType name of the measurement.
Returns
Index of measurement. kSIZE_NULL if not found.