TibrvMsg::getNumFields()

Method

Declaration

TibrvStatus getNumFields(tibrv_u32& numFields) const;

Purpose

Extract the number of fields in a message.

Remarks

This method counts the immediate fields of the message; it does not descend into submessages to count their fields recursively.

Parameter

Description

numFields

The program supplies a variable in this parameter; the method stores the number of fields in that variable.