TIBCO Adapter SDK C++ Reference
|
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.
Parameters | Description |
MClassRegistry* pClassRegistry | Class registry for this MChar. Specify this only if you do not want to use the default class registry. |
MString const& rsCharClassName | Name of the character class for the character to be created,for example, char.15. Character classes can be defined using TIBCO Designer and are stored in TIBCO Repository. |
UChar const* pUCharValue | Source string to encapsulate as an MChar. |
unsigned int numBytes | Number of bytes from the source string to encapsulate as an MChar. |
char const * type = NULL |
Encoding type for the class passed in (not the target type). See Encoding Types below. Default is M_ASCII if you are using the char constructor, M_UTF16BE for the UChar constructor. |
MChar(MClassRegistry* pClassRegistry, MString const& rsCharClassName, UChar const* pUCharValue, unsigned int numBytes, char const * type = NULL) throw(MException);