MQeFields macros and helper APIs

The APIs and macros listed in Table 3 are supplied for compatibility with the Java API. These APIs are built on top of the APIs listed in Table 2.

Table 3. MQeFields macros and helper APIs

API Description
MQeFieldsContains() Determine if the MQeFields object contains a specific field.
MQeFieldsCopy() Copy one or all fields from one MQeFields object to another.
MQeFieldsDataLength() Determine the size of the data.
MQeFieldsDataType() Determine the data type of a field.
MQeFieldsGetArrayLength() Extract the length of an array.
MQeFieldsGetArrayOfByte() Extract an array of byte from an MQeFields object.
MQeFieldsGetArrayOfDouble() Extract an array of doubles (MQEDOUBLE) from an MQeFields object.
MQeFieldsGetArrayOfFloat() Extract an array of floats (MQEFLOAT) from an MQeFields object.
MQeFieldsGetArrayOfInt() Extract an array of 32 bit integers (MQEINT32) from an MQeFields object.
MQeFieldsGetArrayOfLong() Extract an array of 64 bit integers (MQEINT64) from an MQeFields object.
MQeFieldsGetArrayOfShort() Extract an array of 16 bit integers (MQEINT16) from an MQeFields object.
MQeFieldsGetAscii() Extract the data from an MQeFields object as an ASCII string.
MQeFieldsGetAsciiArray() Extract the data from an MQeFields object as an array of ASCII strings.
MQeFieldsGetBoolean() Extract the data from an MQeFields object as a boolean value.
MQeFieldsGetByte() Extract data from an MQeFields object as a byte (MQEBYTE).
MQeFieldsGetByteArray() Extract data from an MQeFields object as an array of byte arrays.
MQeFieldsGetDouble() Extract data from an MQeFields object as a double floating point (MQEDOUBLE).
MQeFieldsGetDoubleArray() Extract data from an MQeFields object as a double floating point array.
MQeFieldsGetFields() Extract a field object handle (MQEHFIELD) from an MQeFields object.
MQeFieldsGetFloat() Extract data from an MQeFields object as a float (MQEFLOAT).
MQeFieldsGetFloatArray() Extract data from an MQeFields object as a float (MQEFLOAT) array.
MQeFieldsGetInt() Extract data from an MQeFields object as an integer (MQEINT32).
MQeFieldsGetIntArray() Extract data from an MQeFields object as an integer (MQEINT32) array.
MQeFieldsGetObject() Extract the object type of an MQeFields object.
MQeFieldsGetLong() Extract data from an MQeFields object as a 64 bit (MQEINT64) integer.
MQeFieldsGetLongArray() Extract data from an MQeFields object as a 64 bit (MQEINT64) integer array.
MQeFieldsGetShort() Extract data from an MQeFields object as a 16 bit (MQEINT16) short.
MQeFieldsGetShortArray() Extract data from an MQeFields object as a 16 bit (MQEINT16) short array.
MQeFieldsGetUnicode() Extract data from an MQeFields object as a Unicode string.
MQeFieldsGetUnicodeArray() Extract data from an MQeFields object as a Unicode array.
MQeFieldsPutArrayLength() Put an array length.
MQeFieldsPutArrayOfByte() Put an array of byte (MQEBYTE) into an MQeFields object.
MQeFieldsPutArrayOfDouble() Put an array of double (MQEDOUBLE) into an MQeFields object.
MQeFieldsPutArrayOfFloat() Put an array of float (MQEFLOAT) into an MQeFields object.
MQeFieldsPutArrayOfInt() Put an array of 32 bit (MQEINT32) integer into an MQeFields object.
MQeFieldsPutArrayOfLong() Put an array of 64 bit (MQEINT64) integer into an MQeFields object.
MQeFieldsPutArrayOfShort() Put an array of 16 bit (MQEINT16) integer into an MQeFields object.
MQeFieldsPutAscii() Put an ascii string into an MQeFields object.
MQeFieldsPutAsciiArray() Put an array of ascii strings into an MQeFields object.
MQeFieldsPutBoolean() Put a boolean value into an MQeFields object.
MQeFieldsPutByte() Put a byte (MQEBYTE) value into an MQeFields object.
MQeFieldsPutByteArray() Put an array of byte (MQEBYTE) arrays into an MQeFields object.
MQeFieldsPutDouble() Put a double (MQEDOUBLE) into an MQeFields object.
MQeFieldsPutDoubleArray() Put an array of doubles (MQEDOUBLE) into an MQeFields object.
MQeFieldsPutFields() Put a field object handle into an MQeFields object.
MQeFieldsPutFloat() Put a float (MQEFLOAT) into an MQeFields object.
MQeFieldsPutFloatArray() Put an array of floats (MQEFLOAT) into an MQeFields object.
MQeFieldsPutInt() Put a 32 bit (MQEINT32) integer into an MQeFields object.
MQeFieldsPutIntArray() Put an array of 32 bit (MQEINT32) integers into an MQeFields object.
MQeFieldsPutLong() Put a 64 bit (MQEINT64) integer into an MQeFields object.
MQeFieldsPutLongArray() Put an array of 64 bit (MQEINT64) integers into an MQeFields object.
MQeFieldsPutShort() Put a 16 bit (MQEINT16) short integer into an MQeFields object.
MQeFieldsPutShortArray() Put an array of 16 bit (MQEINT16) short integers into an MQeFields object.
MQeFieldsPutUnicode() Put an Unicode string into an MQeFields object
MQeFieldsPutUnicodeArray() Put an array of Unicode strings into an MQeFields object.



© IBM Corporation 2002. All Rights Reserved