Data types

All data types are defined by the C typedef statement. The type ImqBoolean is defined as unsigned character in IMQTYPE.H and can have the values TRUE and FALSE. You can use ImqBinary class objects in place of MQBYTE arrays, and ImqString class objects in place of char *. Many methods return objects instead of char or MQBYTE pointers to ease storage management. All return values become the responsibility of the caller, and, in the case of a returned object, the storage can be easily disposed of using delete.

Elementary data types

The datatype ImqBoolean is represented by typedef unsigned char ImqBoolean.



© IBM Corporation 2001. All Rights Reserved