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. |
char const* pCharValue | 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 the MChar class description for a list of some of the most commonly used types that are supported. |
MChar(MClassRegistry* pClassRegistry, MString const& rsCharClassName, char const* pCharValue, unsigned int numBytes, char const * type = NULL) throw(MException);