NAME

cxTypeMismatchPortMsg - return a suitably formatted string describing erroneous data
#include <cx/TypeMismatchMsg.h>

const char *cxTypeMismatchPortMsg( cxPortDir direction, const char *portName, const char *portType, const char *englishName, const char *memberName, const char *data, const char *portLo, const char *portHi)
character*(*) function cxTypeMismatchPortMsg( direction, portName, portType, englishName, memberName, data, portLo, portHi)
integer direction
character*(*) portName
character*(*) portType
character*(*) englishName
character*(*) memberName
character*(*) data
character*(*) portLo
character*(*) portHi
direction
Input enumerated value indicating input (0) or output (1) port type.
portName
Input character string giving the port's name.
portType
Input character string giving the port's expected data type.
englishName
Input character string giving the label of the erroneous member.
memberName
Input character string giving the structure reference of the erroneous member.
data
Input character string giving the erroneous data value.
portLo
Input character string giving the lower limit of the acceptable data range.
portHi
Input character string giving the upper limit of the acceptable data range.
cxTypeMismatchPortMsg returns a static character string indicating that the named member on port portName expected data in the range of portLo to portHi, but received data of value data outside the range. cxTypeMismatchPortMsg returns a static character string indicating that the named member on port portName expected data in the range of portLo to portHi, but received data of value data outside the range. cxTypeMismatchPortMsg is used by the input and output data type checking routines cxPortCheckIn and cxPortCheckOut, which are automatically generated for every module in the <module>.cx.c file. cxTypeMismatchPortMsg is provided so that users can create error messages similar to those created by the automatically generated code. cxTypeMismatchMsg(3E), cxTypeMismatchConnectMsg(3E)
Last modified: Mon Nov 6 16:33:51 GMT 2000
[ Documentation Home ]
© The Numerical Algorithms Group Ltd, Oxford UK. 1996