TIBCO Adapter SDK C++ Reference
MChar Methods
MChar | Legend
Methods
Method Description
== Checks whether this MChar is equal to the MChar passed in as a parameter.
data Retrieve the data encapsulated by this MChar. using best-case conversion if required.
downCast Safe cast operation for MChar.
downCast Safe cast operation for MChar.
getClassDescription Return the MBaseClassDescription for this MChar.
getClassName Return the class name as a char*.
getEncoding Return the unicode encoding type, currently either ASCII or UTF16BE.
MChar Create an MChar using the specified character and encoding. With this constructor you specify the character as a char. Unicode is supported and encoding information must be supplied.

The SDK makes a copy of the char. If the source string contains fewer characters than specified by the character class, then NULL characters are used for padding.

MChar Creates an MChar based on an already existing MChar. Unicode is supported and encoding information must be supplied.
MChar Create an MChar using the specified character class (for example, char.15), source string, number of characters, and encoding type. Encoding types are listed in the parameter list below. Unicode is supported and encoding information must be supplied.

All forms of the constructor create a copy. If the source string contains fewer characters than specified by the character class, then NULL characters are used for padding.

MChar Create an MChar using the specified character class (e.g. char.15), source string, number of characters, and encoding type. Encoding types are listed in the parameter list below. Unicode is supported and encoding information must be supplied.

All forms of the constructor create a copy. If the source string contains fewer characters than specified by the character class, then NULL characters are used for padding.

MChar Create an MChar using the specified character and encoding. With this constructor you specify the character as an unsigned char. Unicode is supported and encoding information must be supplied.

The SDK makes a copy of the char. If the source string contains fewer characters than specified by the character class, then NULL characters are used for padding.

numBytes Return the number of bytes encapsulated by this MChar.
numChars Return the number of characters encapsulated by this MChar.
wdata Retrieve the data encapsulated by this MChar as a 16-bit string.
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.